/skills:implement-issuefrom skills
This skill should be used when asked to implement, work on, or fix a specific GitHub issue number. Wraps the standard development workflow with GitHub-specific setup (issue reading, branch creation) and completion steps (commit, push, PR creation). Uses standard git CLI for local operations and gh CLI for remote actions.
Ships in skills. 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.
This skill wraps the Standard Workflow defined in references/standard_workflow.md. Run the steps below before and after that workflow. Refer to short scripts in the below for PowerShell actions that assist with GitHub operations.
A. Verify authentication:
Manually execute:
gh auth status
If not authenticated, stop and ask the user to authenticate before continuing. If the issue is already closed or has a linked merged PR, stop and inform the user before proceeding. Ask whether to continue anyway.
**B. Verify the repo owner/name: **
Manually execute
$remote = git remote get-url origin
if ($remote -match '[:/]([^/]+)/([^/]+?)(?:\.git)?$') {
"$($matches[1])/$($matches[2])"
}
This provides the repo owner/name. Ensure that this corresponds to the working directory and all actions moving forward.
C. Read the issue in full:
gh issue view {number}
D. Check/create the branch:
main: use usethis::pr_init("fix-{number}-{description}") or fall back to git checkout -b fix-{number}-{description}main and does not match fix-{number}-*, stop and ask the user whether to switch to main and create a new branch or continue on the current branch.fix-{number}-{description} with three segments separated by hyphens; within description, use snake_casefix-42-validate_inputreferences/standard_workflow.mdSteps 1–4 represent the core development loop. During implementation:
devtools::test(filter = "name")Important: Before committing changes, perform an independent review as if another agent is reviewing your work:
r-code conventions (naming, signatures, validation)E. Final verification before PR submission:
devtools::test(reporter = "check")F. Commit and push: — follow an edit → stage loop, never git add -A:
Throughout implementation, after each file change, stage it immediately:
```bash
git status --short # Confirm only your files changed
git diff --name-only # Verify the staged path matches
git add R/foo.R tests/testthat/test-foo.R # Stage the specific file you edited
```
This ensures commits contain only your changes and never corrupt another agent's work. When all planned edits are staged:
1. Review commits already on this branch: `git log main..HEAD --oneline`
2. Commit your changes:
```bash
git commit -m "{short imperative summary}"
```
3. Push the branch: `git push -u origin HEAD`
G. Open the PR:
gh pr create --fill--title and --bodyH. After status checks pass:
Important: The agent should never merge or close a PR. All merge/closure decisions rest with repository maintainers.
tdd-workflow for test-first development and r-code for R function guidelinesdocument skill when adding or modifying exported functions requires roxygen documentationvignette skill when user-facing workflows, examples, or conceptual guides need updatingNo commits ahead of main: Branch has no changes to submit
Branch not pushed: Remote doesn't have the branch
git push -u origin HEADPR already exists: A PR for this branch already exists
gh pr viewMerge conflicts: Branch conflicts with base
After PR is created and checks pass:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub pbulsink/skills --plugin skills16 skills in this plugin
/agent-md-refactorRefactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles. Splits monolithic files into organized, linked documentation./app-screenshotThis skill should be used when capturing screenshots of R Shiny apps for documentation — vignettes, READMEs, and app tours. Covers driving a live app with shinytest2's AppDriver, isolating demo state from real data, and producing numbered PNGs ready to embed./documentThis skill should be used when documentation for R package functions is requested or required.