Our review
Applies labels to GitHub pull requests based on conventional commit types.
Strengths
- Automates consistent label assignment
- Handles multiple patterns (commit types, authors, title)
- Integrates via the gh CLI
Limitations
- Requires `gh` CLI installed and configured
- Depends on commit message format
- GitHub only
Use this skill to automatically label your PRs based on the type of change they introduce.
Avoid if your PRs don't follow conventional commits or if you're using a platform other than GitHub.
Security analysis
SafeThe skill uses Bash to run 'gh pr edit' for adding labels, which is a benign operation. No arbitrary command execution, data exfiltration, or safety bypass.
No concerns found
Examples
Label pull request #42 using conventional commit types.Find the latest open PR and apply labels based on its commit messages.name: pr-label allowed-tools: Read, Bash description: Apply labels to PRs based on conventional commit types
/pr-label — Label pull requests
Apply labels to PRs based on conventional commit types.
Label Mapping
| Commit Type | Label |
|-------------|-------|
| feat: | enhancement |
| fix: | bug |
| docs: | documentation |
| chore(deps):, build(deps): | dependencies |
| Author: dependabot | dependabot |
| Author: renovate | renovate |
| Title contains [automerge] | automerge |
Available Labels
Primary: bug, documentation, enhancement
Status: duplicate, invalid, wontfix, question, good first issue, help wanted
Automation: dependencies, dependabot, renovate, automerge, codex, refactor
Usage
gh pr edit <number> --add-label <label>
Guidelines
- Apply one primary label based on commit type prefix
- Do not add unrelated labels automatically
- Labels are provisioned via Pulumi from
labels.ts
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.