/github:featurefrom github
This 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".
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.
None: SKILL.md is the whole skill.
Guides the full feature development workflow: branch → stage → commit → push → PR. Reads project config via the plugin's shared resolver and uses Git MCP tools for all local operations.
mcp__git__*): git_branch, git_status, git_diff_unstaged, git_diff_staged, git_log, git_add, git_commit, git_create_branch, git_checkoutmcp__plugin_github_github__* when this plugin's bundled GitHub MCP server is active): create_pull_request, search_issues, list_issues, projects_listgit push -u origin <branch> (push to remote — NOT push_files); gh project item-edit (conditional board update)${CLAUDE_PLUGIN_ROOT}/scripts/read-config.sh for project configMCP server name may differ. The prefix
mcp__plugin_github_github__is used when this plugin's bundled GitHub MCP server is active. If the host project ships its own GitHub MCP server (oftenmcp__github__*), the bundled one may be disabled to avoid conflicts — discover the actual prefix from the available tool list and substitute it. Verb names are unchanged.
Resolved by the shared script, never by parsing files inline:
"${CLAUDE_PLUGIN_ROOT}/scripts/read-config.sh"
It returns { "source", "path", "config" }. Act on source before using config:
source | Meaning | What to do |
|---|---|---|
json | .claude/github.json — the current location | Nothing, proceed |
claude-md | the deprecated <!-- github-plugin-config --> block | Stop and offer migration (below) |
none | no configuration anywhere | Proceed with this skill's defaults |
The config object is normalized to the same shape either way:
{
"mainBranch": "main",
"branchPrefix": "feature",
"project": { "number": 2, "owner": "acme" },
"roadmap": { "repos": ["acme/platform"], "externalEdges": [] }
}
source: "claude-md"Tell the user their config is in the deprecated location and offer to move it:
"${CLAUDE_PLUGIN_ROOT}/scripts/migrate-config.sh" # add --dry-run to preview
It writes .claude/github.json, strips the block from CLAUDE.md and leaves the surrounding prose intact. If they decline, continue with the values returned — the fallback is removed in 0.8.0, and saying so now is the point of the prompt.
Do not skip the prompt. Several skills here degrade quietly without config rather than failing, so once the fallback is gone a silent fallback today and a silent failure tomorrow look identical to the user.
Run the shared resolver and handle source first (see Config):
"${CLAUDE_PLUGIN_ROOT}/scripts/read-config.sh"
Use:
config.mainBranch — default mainconfig.branchPrefix — default featureconfig.project — optional; used in Step 8a for the board status updateWith source: "none", proceed with the defaults silently.
Run mcp__git__git_branch() to list branches and identify the current branch.
Run mcp__git__git_status() to get the working tree state.
Use this to determine which path to take in Step 3.
If on the main branch (config.mainBranch):
feature (default from config.branchPrefix)fixdocschore<type>/<kebab-case-description>
feature/add-user-avatar-uploadmcp__git__git_create_branch(branch_name) + mcp__git__git_checkout(branch_name)If already on a feature branch:
Ask via AskUserQuestion:
<current-branch>" (recommended)If user chooses to create a new branch, follow the same flow as above.
Run mcp__git__git_diff_unstaged() to show unstaged changes.
If there are already staged files, also run mcp__git__git_diff_staged().
Ask the user which files to include in this commit. Show a list and allow selection. If there are both staged and unstaged files, clarify which to include.
mcp__git__git_add(files)mcp__git__git_diff_staged() to confirm what will be committedfeat:, fix:, etc.)mcp__git__git_commit(message)Run via Bash:
git push -u origin <branch-name>
gh auth status and check gh auth login --webgit pull --rebase) or force-push (warn about implications)Ask via AskUserQuestion: "Do you want to link this PR to any issues?"
mcp__plugin_github_github__search_issues or mcp__plugin_github_github__list_issues to find open issues. Show a short list and ask the user to confirm which ones to link.Collect confirmed issue numbers for the PR body.
Collect:
git remote get-url origin via Bash, or askCloses #N for issues this PR resolvesRefs #N for related issues that are not fully closedconfig.mainBranch (default: main)Confirm title and body with AskUserQuestion before creating.
Call mcp__plugin_github_github__create_pull_request(owner, repo, title, body, head, base).
Do not add "Generated with Claude Code" or any attribution to the PR body.
After the PR is created, check both conditions:
config.project.number is setIf both conditions are true, ask via AskUserQuestion:
"Move linked issue(s) to 'In review' on the project board?"
mcp__plugin_github_github__projects_list (list_project_fields), find the "In review" option ID, and run:
gh project item-edit --project-id <project_id> --id <item_id> --field-id <status_field_id> --single-select-option-id <in_review_option_id>
Report which issues were updated.Print a summary:
Feature workflow complete
--------------------------
Branch: feature/add-user-avatar-upload
Commit: "Add avatar upload to user profile"
PR: https://github.com/owner/repo/pull/42
Issues: Closes #17, Refs #20
Next steps:
- Request a review from a teammate
- Monitor CI: /github:release when ready to ship
Adjust based on what actually happened (e.g., if no issues were linked, omit that line).
| Situation | Action |
|---|---|
| Not in a git repository | Tell the user to run this skill from within a git repo directory |
| Push auth failure | Guide to gh auth status, suggest gh auth login --web |
| Push non-fast-forward | Offer to pull with rebase or warn about force-push consequences |
| Branch already exists | Ask whether to checkout the existing branch or create a new one with a different name |
| Nothing to stage | Tell the user there are no uncommitted changes; suggest checking git status |
| Git MCP not available | Inform the user the git MCP server is not running; suggest running /github:setup |
| GitHub MCP not available | Inform the user the github MCP server is not running; check GITHUB_MCP_TOKEN and re-run /github:setup |
| PR already exists for branch | Report the existing PR URL; ask if they want to push additional commits to it |
| Cannot parse remote URL | Ask the user to provide the GitHub owner and repository name manually |
${CLAUDE_PLUGIN_ROOT}/scripts/read-config.sh at runtimeWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub fabn/claude-plugins --plugin githubOther plugins' skills for the same job
10 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".