/github:pmfrom github
This 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".
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.
Project management workflow for GitHub issues and project boards. Supports four operations: Create Issue, Expand Epic, Triage / Fix, and List / Explore Board. Reads project config via the plugin's shared resolver; works without a board configured (skips board steps).
mcp__plugin_github_github__* when this skill ships its bundled GitHub MCP server): issue_write, issue_read, list_issues, search_issues, list_issue_types, projects_list, projects_get, projects_write, sub_issue_writegh repo view (and gh GraphQL / gh project as fallback only — see Troubleshooting)${CLAUDE_PLUGIN_ROOT}/scripts/read-config.sh for project config (and migrate-config.sh when it reports the deprecated source)MCP server name may differ. The tool prefix
mcp__plugin_github_github__is the one used by the GitHub MCP bundled with this plugin. If the host project ships its own GitHub MCP server (e.g.mcp__github__*or another custom name), the bundled one may be disabled to avoid conflicts. Discover the actual prefix at runtime by looking at the available tool list, then substitute it everywhere below. The verb names (issue_write,projects_list, …) are the same across implementations.
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.
Without project, this skill works without a board — it creates issues and skips all board steps.
Ask the user which operation to perform via AskUserQuestion:
Then follow the workflow for the chosen operation.
Run read-config.sh (see Config) and handle source first. Use config.project; if absent, proceed without a board and say so once.
Run via Bash:
gh repo view --json owner,name
Extract owner and name for all subsequent GitHub MCP calls.
Ask via AskUserQuestion:
Before collecting fields, call mcp__plugin_github_github__search_issues with key words from the user's initial description to detect potential duplicates.
Gather issue details via AskUserQuestion (ask in batches, not one field at a time):
Always required:
mcp__plugin_github_github__projects_list with list_project_fields and reading the Priority single-select options. Do NOT hardcode the list.Size single-select on the project may include or omit specific buckets). Do NOT hardcode the list.Backlog): also a single-select on the project board. Set explicitly so the new item lands in the correct column instead of inheriting the project default.Conditional:
Show a preview of the issue and ask the user to confirm via AskUserQuestion before creating anything.
mcp__plugin_github_github__list_issue_types to get the valid type names (e.g. Epic, Feature, Task, Bug). Map the user's choice from Step 3 to the exact type name returned (case-sensitive).mcp__plugin_github_github__issue_write with method: "create", owner, repo, title, body, and type: <chosen> if the org supports issue types (omit otherwise — passing type to a repo without configured types fails).number (for sub-issue parent linking from another issue) and the id field (the global numeric ID, used as sub_issue_id when this issue is linked as a child of a parent). Both are returned in the response.If config.project.number is set:
Add the issue to the project via mcp__plugin_github_github__projects_write with method: "add_project_item", owner, project_number, item_type: "issue", item_owner + item_repo (the issue's repo, may differ from the project's org), and issue_number. The response includes the new project item's id (a node-id-style string like PVTI_…).
Discover field IDs and option IDs — call mcp__plugin_github_github__projects_list with list_project_fields. For each single-select field (Status, Priority, Size) capture both representations from the response: the numeric id (e.g. 341154587, used by update_project_item) and the node_id / option id strings (used by gh project item-edit if you fall back to the CLI). Do NOT cache these across runs — discover fresh each time.
Set Status (default Backlog), Priority and Size via mcp__plugin_github_github__projects_write with method: "update_project_item", passing project_number, owner, the project item's item_id, and updated_field: { id: <field_numeric_id>, value: <option_id_or_value> } — one call per field.
Fallback (only if MCP update_project_item fails): use gh project item-edit --project-id <project_node_id> --id <item_node_id> --field-id <field_node_id> --single-select-option-id <option_id> — this uses node-id strings throughout, so reach for the node_id values you captured in step 2.
If the user specified a parent issue number, call mcp__plugin_github_github__sub_issue_write to link this issue as a sub-issue of the parent. Pass owner / repo / issue_number of the parent, and sub_issue_id = the global numeric ID of the new child (the id field returned by issue_write / issue_read, e.g. 4405308405 — not its issue_number). Because the child is identified by its global ID, this works cross-repo within the same org (e.g. parent in org/aleteia-next, child in org/aleteia-wp) — no GraphQL fallback needed.
Report:
Ask the user for an Epic issue number, or search mcp__plugin_github_github__search_issues with is:open plus a label or type filter to find Epics. Present matches and ask the user to confirm which Epic to expand.
Call mcp__plugin_github_github__issue_read to get the Epic's title, body, and existing sub-issues.
Read the Epic body and suggest a breakdown of tasks. Ask the user to confirm, add, or remove tasks. Each task should be one sentence describing a specific deliverable.
Present a numbered preview list of all sub-issues to be created. Ask for confirmation before creating anything.
For each task in the confirmed list:
mcp__plugin_github_github__issue_write (inherit Epic's repo by default; cross-repo is allowed if the user specified a different one). Capture the id field from the response — this is the global numeric ID needed in step 2.mcp__plugin_github_github__sub_issue_write with method: "add", owner / repo / issue_number of the Epic, and sub_issue_id = the global numeric id captured above (NOT the new issue's number).Report a list of created issue URLs and their sub-issue links to the Epic.
Run the two queries in parallel:
mcp__plugin_github_github__list_issues for the repo (paginate in batches of 10 if needed) — gives you the source-of-truth set of open issues.mcp__plugin_github_github__projects_list with list_project_items (passing the relevant single-select field IDs in fields) — gives you what is on the board, with current Priority / Size / Status / parent values.Build a lookup table keyed by issue number from the project items so you can cheaply tell which issues are on the board and what fields they already have set.
For each open issue from Step 1:
parent is null. Verify with a GraphQL query (repository.issue(number: N) { parent { number repository { nameWithOwner } } }) — list_issues does not return parent metadata.Present a table:
| # | Title | Missing |
|---|---|---|
| 12 | Add dark mode toggle | Priority, Size |
| 18 | Fix login redirect | Not on board |
| 23 | Refactor auth service | No parent |
Ask the user: "Fix all of these, or select specific ones?" Let the user choose via AskUserQuestion.
For each selected issue:
mcp__plugin_github_github__projects_write with method: "add_project_item" (same call shape as Create-Issue Step 8.1). Capture the returned project item id.mcp__plugin_github_github__projects_write with method: "update_project_item", one call per missing field, with updated_field: { id: <field_numeric_id>, value: <option_id> }. Default Status to Backlog when freshly added in this same fix pass. (Fall back to gh project item-edit only if the MCP update fails — see Create-Issue Step 8.4.)mcp__plugin_github_github__sub_issue_write with method: "add", owner / repo / issue_number of the parent, and sub_issue_id = the global numeric id of the child issue (re-fetch via issue_read if you don't have it cached). Cross-repo within the same org is supported.Report how many issues were fixed and what was changed.
Use config.project.number. If absent, fall back to mcp__plugin_github_github__list_issues and note that project board fields (Priority, Size, Status) will not be shown.
Ask via AskUserQuestion whether the user wants to filter by:
Call mcp__plugin_github_github__projects_list with list_project_items using the selected filters. If no project is configured, use mcp__plugin_github_github__list_issues.
Display results in a readable table:
| # | Title | Type | Status | Priority | Size |
|---|---|---|---|---|---|
| 7 | Add dark mode toggle | Feature | In progress | P1 | M |
| 12 | Fix login redirect | Bug | Ready | P0 | XS |
After displaying the board, ask via AskUserQuestion:
| Situation | Action |
|---|---|
No project in config | Work without board — offer to run /github:setup to configure one |
read-config.sh reports source: claude-md | Offer migrate-config.sh; never migrate without asking |
.claude/github.json is invalid JSON | The script exits 65 naming the parse error — report it, do not guess at defaults |
| Duplicate issue found | Show existing issue, ask whether to continue or abort |
update_project_item fails (field ID changed or schema mismatch) | Re-discover field IDs via list_project_fields and retry once. If still failing, fall back to gh project item-edit with the captured node-id strings (see Create-Issue Step 8.4). |
sub_issue_write returns "not found" / "invalid" | Likely the wrong field was passed: sub_issue_id must be the child's global numeric ID (id from issue_write / issue_read), not its issue_number. Re-fetch the child via issue_read and retry. Cross-repo within the same org is supported natively — no GraphQL fallback needed. Only fall back to gh api graphql addSubIssue mutation if the MCP call genuinely fails after this correction. |
| Issue type not available in repo | Use label as fallback, warn user |
list_project_items returns empty | Check project number and owner, suggest re-running /github:setup |
add_project_item response missing the item id | Re-call list_project_items filtering by the issue number to recover the project item id; if that also fails, fall back to gh project item-add … --format json and parse id from JSON. |
| Board fields (Priority, Size, Status) not found | Warn that the project may use different field names; show available fields |
| MCP tool prefix mismatch / GitHub MCP unavailable | The host project may be running a different GitHub MCP server with a different prefix (e.g. mcp__github__* directly) that disables the bundled one to avoid conflicts. Inspect the available tools, re-bind the same verb names (issue_write, projects_list, projects_write, sub_issue_write, …) under the actual prefix, and proceed. If no GitHub MCP is exposed at all, fall back to gh CLI: gh issue create, gh project item-add/edit, gh api graphql for sub-issues. |
/github:setup — Configure project defaults including the project board/github:feature — Feature branch workflow; conditionally moves linked issues to "In review"/github:release — Publish draft releasesWhat SKILL.md sets; muted values are Claude Code's defaults
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".