/github:release-drafterfrom github
This skill should be used when the user wants to configure release-drafter on a repository — either setting it up fresh or migrating from v6 to v7. Handles versioning strategy (semver or date-based CalVer), autolabeler configuration, and optional post-release workflow generation. Activates on: "release drafter", "setup release drafter", "configure release drafter", "install release drafter", "release drafter setup", "upgrade release drafter", "migrate release drafter", "release drafter v7", "release drafter v6", "configurare release drafter", "configurazione release drafter", "aggiornare release drafter".
Ships in github. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Configures release-drafter v7 on any repository — either from scratch or by migrating an existing v6 setup to v7. Guides through versioning strategy (semver or CalVer), tag prefix, autolabeler setup, and optional post-release actions. All YAML templates are read from reference docs at runtime; nothing is embedded inline in this skill.
After configuring release-drafter with this skill, use /github:release to publish draft releases.
ls, cat — detect existing setup in .github/, read workflow and config files; a JSON Schema validator to check the config against v7's published schema (see ## Validating a Config — nothing is assumed to be installed)reference/config-reference.md, reference/migration-checklist.md, reference/date-based-versioning.md — for templates and migration stepsRun the following commands to inspect the current state of .github/:
ls .github/workflows/ 2>/dev/null
cat .github/workflows/release-drafter.yml 2>/dev/null
cat .github/release-drafter.yml 2>/dev/null
Branch based on what is found:
release-drafter/release-drafter@v6 — show what was detected (action version, token style, whether autolabeler is embedded), then ask via AskUserQuestion:
release-drafter/release-drafter@v7 — inform the user release-drafter v7 is already configured. Show the detected settings (action version, CalVer or semver, autolabeler approach). Ask via AskUserQuestion:
Ask via AskUserQuestion: "Which versioning strategy should release-drafter use?"
Options:
v1.2.3. Best for libraries, APIs, and any project where breaking changes need semantic signaling.YYYY.MM.DD format with .N suffix for same-day collisions. Tags like v2026.04.02 or 2026.04.02.2. Good for infrastructure repos, config-driven projects, and continuous delivery pipelines.Store the choice for use in Steps 3, 4, and 7.
Ask via AskUserQuestion: "What tag prefix should release-drafter use?"
Options:
v (default) — tags like v1.2.3 or v2026.04.021.2.3 or 2026.04.02release-)Store the choice. This affects both tag-template and name-template in the config, and also the CalVer tag-list pattern in Step 7 if CalVer was chosen.
Ask via AskUserQuestion: "Do you want to configure autolabeler? Autolabeler automatically labels PRs based on branch names and changed file paths."
Options:
.github/workflows/autolabeler.yml using release-drafter/release-drafter/autolabeler@v7 with its own pull_request trigger. The main drafter workflow stays clean (push-only). Cleaner separation of concerns; autolabeler gets only pull-requests: write, drafter gets only pull-requests: read..github/workflows/release-drafter.yml handles both drafting (on push) and labeling (on PR events) using v7's disable-releaser / disable-autolabeler conditional flags. Simpler single-file setup.autolabeler: stanza will still be included in .github/release-drafter.yml as a template for future use.Important: Regardless of approach, the autolabeler: stanza always lives in .github/release-drafter.yml. Only the workflow trigger changes.
Ask via AskUserQuestion: "Do you want a post-release workflow (.github/workflows/release.yml) that triggers when a release is published?"
Common use cases: deploy to production, publish to a package registry (npm, RubyGems, PyPI), build and upload release artifacts, send Slack/email notifications.
Options:
release.yml skeleton based on their description. This is LLM-generated output, not a fixed template — tailor it to the user's actual intent.Before writing any files, present a summary table via AskUserQuestion. Do NOT write any files before this confirmation.
Show a table of all files that will be created:
| File | Action | Key config |
|---|---|---|
.github/release-drafter.yml | Create | Semver or CalVer; v prefix (or custom); categories; autolabeler rules |
.github/workflows/release-drafter.yml | Create | Trigger: push to main; v7; semver or CalVer steps |
.github/workflows/autolabeler.yml | Create (if Option B) | Separate action; reads release-drafter.yml config |
.github/workflows/release.yml | Create (if opted in) | Trigger: release published; [user-described actions] |
Populate the "Key config" column with the actual choices the user made. Ask: "Create these files?" with options:
Read reference/config-reference.md and locate the relevant sections. Then generate each file:
.github/release-drafter.yml (config file):
Read section ## v7 Config Template from reference/config-reference.md. Adapt as follows:
v$RESOLVED_VERSION with $RESOLVED_VERSION in both name-template and tag-template. If user chose a custom prefix, replace v with that prefix.version-resolver: block entirely (per reference/date-based-versioning.md section ## CalVer Compatibility Warnings — leaving version-resolver in with CalVer causes confusion).autolabeler: stanza regardless of which autolabeler workflow approach was chosen. The stanza lives in the config file, not the workflow..github/workflows/release-drafter.yml (drafter workflow):
Read section ## v7 Workflow Template from reference/config-reference.md. Adapt as follows:
## CalVer Workflow Integration from reference/date-based-versioning.md. Replace the single release-drafter@v7 step with the three-step sequence (checkout with fetch-depth: 0, CalVer computation, release-drafter with version: input). Adapt the git tag --list pattern for the tag prefix chosen in Step 3:
v prefix: git tag --list "v${DATE}*"git tag --list "${DATE}*"git tag --list "<prefix>${DATE}*"pull_request: types: [opened, reopened, synchronize] to the on: block. Add disable-releaser: ${{ github.event_name == 'pull_request' }} and disable-autolabeler: ${{ github.event_name == 'push' }} inputs to the release-drafter step. Change pull-requests: read to pull-requests: write on the job permissions (labeling requires write)..github/workflows/autolabeler.yml (if user chose separate workflow):
Read section ## v7 Autolabeler Workflow Template from reference/config-reference.md. Use that template as-is.
.github/workflows/release.yml (if user opted in):
Generate a minimal workflow skeleton based on the user's description from Step 5. Use on: release: types: [published] as the trigger. Structure the job steps according to what the user described (deploy, publish, notify, etc.). This is LLM-generated — tailor it to their actual use case.
Write all files using the Write tool.
Before committing, validate .github/release-drafter.yml against v7's published JSON Schema. Read ## Validating a Config from reference/config-reference.md for the invocations — no validator is assumed to be installed, so try the listed options and skip the step if none runs, saying so rather than implying the config was checked. More importantly, read what a pass does not prove: misspelled keys and deprecated fields both validate clean. Report failures and fix them before Step 8.
Stage all generated files:
mcp__git__git_add([".github/release-drafter.yml", ".github/workflows/release-drafter.yml"])
Add .github/workflows/autolabeler.yml and .github/workflows/release.yml to the list if they were created.
Propose a plain-English commit message (no conventional prefixes). Examples:
Confirm the message with the user via AskUserQuestion, then commit:
mcp__git__git_commit(message)
If mcp__git__git_commit fails, fall back to:
git add .github/release-drafter.yml .github/workflows/release-drafter.yml \
.github/workflows/autolabeler.yml .github/workflows/release.yml
git commit -m "Add release-drafter v7 configuration"
Present a final summary showing:
Include: "Use /github:release to publish draft releases after PRs are merged to main."
Branched from Step 1 when release-drafter/release-drafter@v6 is detected in the existing workflow.
Display what was found in the existing files:
@v6)env: GITHUB_TOKEN vs with: token)pull_request trigger and disable-releaser / disable-autolabeler flags).github/release-drafter.ymlIf the existing v6 workflow embeds autolabeler (has both push and pull_request triggers), ask via AskUserQuestion:
disable-releaser / disable-autolabeler flags. Lowest-effort migration..github/workflows/autolabeler.yml. The main drafter workflow becomes push-only. Cleaner architecture.Read section ## Autolabeler Migration from reference/migration-checklist.md for the exact before/after snippets for each option.
If the existing v6 workflow does NOT embed autolabeler (push-only trigger), skip this question — the upgrade is purely version and token updates.
Present a summary table via AskUserQuestion before making any edits:
| File | Change | What stays the same |
|---|---|---|
.github/workflows/release-drafter.yml | Update action to @v7; update token handling; update permissions | All triggers, job names, all other inputs and steps |
.github/workflows/autolabeler.yml | CREATE new file (if split chosen) | — |
.github/release-drafter.yml | No changes | All categories, labels, autolabeler rules, templates |
Ask: "Apply these changes?" — Proceed / Cancel
Read section ## Migration Checklist from reference/migration-checklist.md for the ordered steps.
Use Edit (not Write) for all changes to the existing workflow file. Preserve everything not explicitly listed below:
release-drafter/release-drafter@v6 to release-drafter/release-drafter@v7env: block (env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}) with with: token: ${{ github.token }}pull-requests: write to pull-requests: read on the drafter job (write is no longer required for changelog generation)pull_request trigger from the main workflow. Remove disable-releaser and disable-autolabeler inputs. Create .github/workflows/autolabeler.yml using the ## v7 Autolabeler Workflow Template section from reference/config-reference.md.pull_request trigger and disable-releaser / disable-autolabeler flags. Update permissions to pull-requests: write on the job (monolithic still requires write for labeling).The config file is compatible, not current. A v6 .github/release-drafter.yml parses under v7 and keeps drafting correctly, so the upgrade does not depend on rewriting it. But v7 deprecates categories[].labels, categories[].label, exclude-labels, include-labels, exclude-paths, include-paths and version-resolver — most of what a v6 config is made of. Do not tell the user the two are identical.
Read ## Deprecated v6 Config Fields from reference/config-reference.md, report which deprecated fields their config uses, and ask via AskUserQuestion whether to translate them now or leave the config as is. Only touch the config on a yes, and keep the autolabeler: stanza exactly as it is — its schema is unchanged.
If you do translate it, the two changes must land together. A v7-only config is rejected by a v6 action: v6's schema sets additionalProperties: false and knows nothing of when, type or semver-increment, so the workflow fails rather than degrading quietly. Commit the config with the workflow bump, or stack the config change on top of it — never let the config reach the default branch first. Validate both directions per ## Validating a Config.
Stage and commit the changed files:
mcp__git__git_add([".github/workflows/release-drafter.yml"])
Add .github/workflows/autolabeler.yml to the list if it was created.
Propose a plain-English commit message. Example: "Upgrade release-drafter from v6 to v7 with split autolabeler workflow"
Report:
gh run list --workflow release-drafter.yml after merging to verify the v7 workflow works. Open a test PR to verify autolabeler applies labels correctly."| Situation | Action |
|---|---|
.github/ directory does not exist | Create it with mkdir -p .github/workflows before writing any files |
| Existing files found during fresh setup | Warn user, route to upgrade flow; if user insists on fresh start, confirm before overwriting |
| v6 detected but config is heavily customized | Preserve all existing config (use Edit not Write); only change what v7 requires; inform user what was kept |
mcp__git__git_commit fails | Fall back to Bash(git add ... && git commit -m "...") |
| User cancels at confirmation step | Abort gracefully; no files written or edited |
| Workflow file has non-standard structure | Warn user; apply changes best-effort; suggest manual review after committing |
| CalVer + custom tag prefix | Adapt the git tag --list pattern: use "<prefix>${DATE}*" instead of "v${DATE}*" |
| Already on v7 | Inform user v7 is already configured; show detected settings; offer reconfiguration or exit |
| Partial setup (config exists, workflow missing) | Offer to create the missing workflow; skip re-creating the config |
| Post-release workflow generation is unclear | Ask the user to describe the trigger condition and desired action in more detail before generating |
.github/release-drafter.yml modified during upgrade (mistake) | Restore from git: git checkout HEAD -- .github/release-drafter.yml |
/github:release — Publish draft releases created by Release Drafter/github:setup — Verify prerequisites (gh CLI, authentication, MCP token)/github:feature — Create a branch, commit, push, and open a pull requestreference/config-reference.md — Complete YAML templates for v6 and v7 workflows and configreference/migration-checklist.md — v6-to-v7 migration steps and before/after snippetsreference/date-based-versioning.md — CalVer format, collision handling, and inline bash computation scriptWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub fabn/claude-plugins --plugin github10 skills in this plugin
/actionlintgithub:actionlintThis skill should be used when the user wants to configure actionlint CI
on a repository to automatically lint GitHub Actions workflow files on
push and pull request events using reviewdog/action-actionlint.
Activates on: "actionlint", "setup actionlint", "configure actionlint",
"lint actions", "lint workflows", "lint github actions", "action linter",
"workflow linting", "configurare actionlint", "lint azioni github",
"lint workflow github".
/address-reviewgithub:address-reviewThis skill should be used when the user wants to address review comments on a
pull request: read and reason about each comment, decide whether to implement,
answer, or push back, apply code changes, reply to individual threads, push the
new commit, and optionally update the PR description.
Activates on: "address review", "pr review", "review comments", "respond to review",
"fix review", "implement feedback", "resolve comments", "reply to review",
"address feedback", "implementare feedback", "risolvere commenti",
"rispondere alla review", "gestire review", "affrontare review".
/attach-imagesgithub:attach-imagesThis skill should be used when the user wants to put images (screenshots,
mockups, diagrams) in a pull request, issue, or comment without committing
them to the repository. Uploads them as GitHub attachments from the command
line, the same ones drag-and-drop creates in the web UI, and returns the tags
to paste in the body.
Activates on: "attach screenshots", "screenshots in the PR", "upload images
to github", "add screenshots to PR", "attach images", "image in issue",
"user-attachments", "allega screenshot", "screenshot nella PR", "carica
immagini su github", "aggiungi screenshot alla PR", "immagini nella issue".
/dependabotgithub:dependabotThis skill should be used when the user wants to triage the open Dependabot
PRs of a repository, in any ecosystem: close the dead ones, fix and review
the rest, give majors a verdict, optionally auto-merge safe patch/minor.
Activates on: "dependabot", "dependabot PRs", "triage dependabot",
"merge dependabot PRs", "dependabot backlog", "clean up dependabot",
"dependabot alerts", "vulnerable dependencies", "PR di dependabot",
"PR dependabot aperte", "smaltire dependabot", "pulizia dependabot",
"aggiornamenti dipendenze dependabot".
/featuregithub:featureThis skill should be used when the user wants to develop a feature using a
Git-based workflow: creating a branch, staging files, writing a commit,
pushing to remote, and opening a pull request. Guides the full flow from
an empty working tree or a branch with uncommitted changes.
Activates on: "git", "feature", "branch", "pull request", "pr", "new branch",
"create branch", "open pr", "submit pr", "feature branch", "commit", "stage",
"push", "branch feature", "aprire pr", "pull request", "nuova branch",
"creare branch", "fare commit", "pushare", "aprire pull request".
/pmgithub:pmThis skill should be used when the user wants to manage GitHub issues and project
boards: creating issues (including Epics), expanding Epics into sub-issues,
triaging issues with missing fields, or listing/filtering the project board.
Activates on: "issue", "create issue", "new issue", "epic", "task", "bug",
"feature issue", "project board", "board", "triage", "backlog", "pm",
"expand epic", "sub-issue", "issue management",
"creare issue", "nuova issue", "gestione progetto", "bacheca", "backlog".