implement
Skill39 starsChanged 18 days agoApache-2.0View on GitHub
Complete GitHub issue implementation workflow with built-in guardrails
- Commits and pushes
191 other projects use a version of this.
Adopted by
Most recently taken up by
- revisit-studies/studytheir own version, first seen Nov 9, 2026
- dz114879/skillstheir own version, first seen Nov 8, 2026
- Dimon94/dveritytheir own version, first seen Nov 8, 2026
- Dimon94/skillstheir own version, first seen Nov 8, 2026
- The-Vibe-Company/quivrtheir own version, first seen Nov 8, 2026
- miklschmidt/archboardtheir own version, first seen Nov 8, 2026
Used with
Projects with it also use setup-ts-deep-modules, ask-matt and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
liufeng1976Skillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 43 projects that use this
GoogleSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 91 projects that use this
RoentekSkillloop-me
Grill me about specs for the workflows I want to build, within this workspace.
Also in 50 projects that use this
AWSSkillto-questionnaire
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
Also in 88 projects that use this
ryotaroh180105Skillclaude-handoff
Hand the current conversation off to a fresh background agent that picks up the work immediately.
Also in 42 projects that use this
GoogleSkillto-spec
Turn the current conversation into a spec and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.
Also in 168 projects that use this
- +3 more from google
Other versions191 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 191
- mattpocock/skills★ 309ksame name
- QuivrHQ/quivr★ 40ksame name
- The-Vibe-Company/quivr★ 40ksame name
- foambubble/foam★ 17ksame name
- formbricks/formbricks★ 13ksame name
- ArcReel/ArcReel★ 6.3ksame name
- vinvcn/mattpocock-skills-zh-CN★ 5.5ksame name
- fallow-rs/fallow★ 5.3ksame name
- withcoral/coral★ 4.9ksame name
- bestofjs/bestofjs★ 3.1ksame name
181 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adoptSkill
- bugfixSkill
- bulk-auditSkill
- canonical-auditSkill
- claims-auditSkill
- commitSkill
- dead-code-reviewSkill
- deploySkill
- issueSkill
- parallelSkill
- researchSkill
- research-to-issuesSkill
- secreviewSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
27 rules. 0 are common, 24 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 171 edited versions we read keep these.
24
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Before making ANY code changes:
- Distinctive: line 20
If on wrong branch, STOP and ask user
- Distinctive: line 21
If uncommitted changes exist, STOP and ask user how to handle
- Distinctive: line 22
If stashes exist, STOP and ask user how to handle
- Distinctive: line 28
Verify issue is still open
- Distinctive: line 29
Read full description and acceptance criteria
- Distinctive: line 30
Check for linked PRs or existing branches
- Distinctive: line 37
If PR/branch exists, STOP and ask user
- Very specific: line 54
Use mcp__memory__search_nodes to find relevant past work
- Distinctive: line 55
Check for related issues or patterns
- Distinctive: line 59
Add subtasks as checklist to GitHub issue
- Very specific: line 64
Use Edit for existing files >50 lines (NOT Write)
- Distinctive: line 66
Run relevant tests after each subtask
- Distinctive: line 80
Commit frontend when complete
- Distinctive: line 81
Run full test suite
- Distinctive: line 95
Run git diff --staged before committing
- Distinctive: line 96
Verify no unintended files are staged
- Distinctive: line 97
If pre-commit hooks fail, fix the issue (don't bypass)
- Very specific: line 156
Use mcp__memory__create_entities to record:
- Distinctive: line 165
Commit completed work immediately
- Distinctive: line 167
Ask user if should continue or pause
- Distinctive: line 170
Document blocker in issue comment
- Distinctive: line 171
Ask user how to proceed
- Distinctive: line 172
Don't implement workarounds without permission
- Distinctive: line 175
Create new issue for additional work
- Distinctive: line 176
Ask user if should include in current PR or defer
- Distinctive: line 180
Don't skip tests or mark as "will fix later"
“Common” is measured: kept by at least 6 in 10 of the 171 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Implement GitHub Issue
Complete workflow for implementing a GitHub issue from investigation through PR creation, merge, and cleanup.
Pre-Flight Checks (MANDATORY - run first)
Before making ANY code changes:
- Verify branch state:
git branch --show-current git status git stash list- If on wrong branch, STOP and ask user
- If uncommitted changes exist, STOP and ask user how to handle
- If stashes exist, STOP and ask user how to handle
- Fetch issue details:
gh issue view {issue_number}- Verify issue is still open
- Read full description and acceptance criteria
- Check for linked PRs or existing branches
- Check for existing work:
gh pr list | grep {issue_number} git branch -a | grep {issue_number}- If PR/branch exists, STOP and ask user
- Verify target merge branch:
git fetch origin main git log --oneline origin/main -3- Confirm main is the target (unless explicitly told otherwise)
Implementation Phase
- Create feature branch:
git checkout -b fix/issue-{issue_number} main - Search memory for context:
- Use
mcp__memory__search_nodesto find relevant past work - Check for related issues or patterns
- Use
- Create implementation plan:
- Break work into 3-10 subtasks
- Add subtasks as checklist to GitHub issue
- Identify backend vs frontend work
- Plan commit checkpoints (every 2-3 logical tasks)
Implement using incremental edits:
- Use
Editfor existing files >50 lines (NOT Write) - Focus on one subtask at a time
- Run relevant tests after each subtask
- Commit after completing each logical group (2-3 subtasks)
Commit pattern:
git add <files-for-this-group> git commit -m "<type>(scope): <description> (#{issue_number})" git log -1 --stat # Verify commit landed git diff # Verify nothing left uncommitted- Use
- For multi-phase work (backend + frontend):
- Complete and commit backend FIRST
- Then start frontend
- Commit frontend when complete
- Run full test suite
Verification Phase
- Run tests:
# Backend python -m pytest {affected_test_files} # Frontend (if applicable) npm run test {affected_components} - Pre-commit validation:
- Run
git diff --stagedbefore committing - Verify no unintended files are staged
- If pre-commit hooks fail, fix the issue (don't bypass)
- Run
PR & Merge Phase
- Push and create PR:
git push -u origin fix/issue-{issue_number} gh pr create \ --base main \ --title "fix: <clear title> (#{issue_number})" \ --body "$(cat <<'EOF' ## Summary Fixes #{issue_number} <1-3 bullet points summarizing changes> ## Changes - <specific change 1> - <specific change 2> ## Testing - [ ] Backend tests pass - [ ] Frontend tests pass (if applicable) - [ ] Manual testing completed 🤖 Generated with Claude Code EOF )" - Merge PR:
# Verify PR is approved and CI passes gh pr merge {pr_number} --squash --delete-branch - Cleanup:
git checkout main git pull origin main git branch -d fix/issue-{issue_number} - Close issue — run the closure gates first (
CLAUDE_CLOSURE.md):# Gate 2: forward-tracking references block closure (exit 1 → do NOT close) pipeline-scripts/check-issue-close-refs.sh {issue_number} gh issue close {issue_number} --comment "Implemented in PR #{pr_number}. Gate 2 clear. Acceptance criteria (quoted verbatim from issue body): - \"<exact AC text>\" — ✅ <evidence> - \"<exact AC text>\" — ❌ NOT met → follow-up #XXXX"- Gate 1: quote each issue-body AC verbatim — never paraphrase what shipped
- Gate 3: if this PR bundled several issues, close {issue_number} only if its FULL AC set is delivered; a subset → check off the subtask and keep it open (or name the follow-up in the same comment)
- Store in memory:
- Use
mcp__memory__create_entitiesto record:- What was implemented
- Key technical decisions
- Patterns used
- Lessons learned
- Use
Guardrails
If session is getting long:
- Commit completed work immediately
- Note what's left in issue comment
- Ask user if should continue or pause
If implementation is blocked:
- Document blocker in issue comment
- Ask user how to proceed
- Don't implement workarounds without permission
If scope expands:
- Create new issue for additional work
- Ask user if should include in current PR or defer
If tests fail:
- Fix failures before creating PR
- Don't skip tests or mark as "will fix later"
Success Criteria
✅ All code committed with correct issue references ✅ All acceptance criteria verified ✅ Tests passing ✅ PR created and merged to main ✅ Feature branch deleted ✅ Issue closed with summary ✅ Knowledge stored in memory MCP
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

