create-issue
Skill426 starsChanged 6 months agoMITView on GitHub
Create comprehensive GitHub issues with TDD plans, acceptance criteria, and agent instructions for autonomous PR lifecycle management
- Commits and pushes
63 other projects use a version of this.
Adopted by
Most recently taken up by
- neko3cs/skillstheir own version, first seen Nov 8, 2026
- alexander-kastil/copilot-harnesstheir own version, first seen Nov 8, 2026
- nateslabach/skillstheir own version, first seen Nov 8, 2026
- blamechris/chroxytheir own version, first seen Nov 8, 2026
- javierbrea/eslint-plugin-boundariestheir own version, first seen Nov 2, 2026
- lautioliver/barrilete-kittheir own version, first seen Nov 1, 2026
Used with
Projects with it also use native-nostalgia-stack, software-engineering-excellence 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.
frostneySkillnative-nostalgia-stack
Applies the user's FreePascal toolchain and its build, formatting, hook, and test contracts while leaving project-specific mechanics local. Use when scaffolding or working in a FreePascal project that follows this toolchain.
Also in 3 projects that use this
frostneySkillsoftware-engineering-excellence
Applies the user's engineering standards during substantial technical work: preserve scope, use current evidence, delegate independent parts, and complete authorized outcomes. Use during substantial implementation, debugging, refactoring, or multi-part delivery work.
Also in 3 projects that use this
withpiperSkillroadmap-review
Audit roadmap health — issues, dependency order, spec coverage, doc freshness. Use when speccing a new initiative. Use when /phase-plan output looks suspicious. Use before /roadmap-create reruns.
Also in 3 projects that use this
GoogleSkillimplement-issue
Implement a Site Kit GitHub issue end-to-end from its implementation brief. Use when the user asks to implement, build, or work on a GitHub issue / feature by number (e.g. "implement issue #12345", "build the feature in issue 12345", "follow the implementation brief for #12345") in the google/site-kit-wp repo.
Also in 6 projects that use this
Microsoft AzureSkillcreate-release
Use when creating a new ASO release, including pre-checks, release notes generation, draft GitHub release creation, documentation updates, and ROADMAP changes.
Also in 4 projects that use this
MicrosoftSkillupdate-pr
Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.
Also in 3 projects that use this
Other versions63 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 63
- penpot/penpot★ 62ksame name
- videojs/video.js★ 40ksame name
- yugabyte/yugabyte-db★ 11ksame name
- antiwork/gumroad★ 10ksame name
- gitkraken/vscode-gitlens★ 10ksame name
- camunda/camunda★ 4.4ksame name
- robustmq/robustmq★ 1.9ksame name
- aws-powertools/powertools-lambda-typescript★ 1.8ksame name
- classroomio/classroomio★ 1.7ksame name
- tikv/pd★ 1.2ksame name
53 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 repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/setup/templates/AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- skills/setup/templates/CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- brainstorming-extensionSkill
- design-review-gateSkill
- external-toolsSkill
- handling-pr-commentsSkill
- handoffSkill
- migrateSkill
- orchestrated-executionSkill
- plan-review-gateSkill
- pr-shepherdSkill
- setupSkill
- startSkill
- statusSkill
- visual-reviewSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 13 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 53 edited versions we read keep these.
13
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
- could be automatic: a setting could enforce it
- Distinctive: line 8
Create comprehensive, well-structured GitHub issues with embedded agent instructions for autonomous PR lifecycle management.
- Distinctive: line 198
CRITICAL: Follow this protocol when implementing this issue.
- Distinctive: line 204
Service Inventory: - Check for existing services that might already do what you need:
- Very specific: line 231
Create feature branch from main: git checkout -b feat/[short-name]
- Distinctive: line 232
Follow TDD cycles exactly as specified above
- Very specific: line 234
Run local validation: pnpm lint && pnpm typecheck && pnpm test --run
- Very specific: line 236
Create PR with comprehensive description using /create-pr
- Distinctive: line 286
Wait for next review cycle: - Do NOT resolve threads yourself
- Distinctive: line 292
Only AFTER reviewer approval:
- Distinctive: line 307
Verify all threads resolved before proceeding
- Distinctive: line 322
IMPORTANT: Always use squash merge, never regular merge.
- Distinctive: line 434
Use the Feature template with these modifications:
- Distinctive: line 465
After generating the issue content:
- Distinctive: line 468
Ask for modifications: if needed
- Distinctive: line 492
TDD-first: Always include test specifications before implementation
- Distinctive: line 494
No shortcuts: ALL review comments must be addressed, including trivial/nitpicks
“Common” is measured: kept by at least 6 in 10 of the 53 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
Create GitHub Issue Skill
Create comprehensive, well-structured GitHub issues with embedded agent instructions for autonomous PR lifecycle management.
Overview
This skill generates GitHub issues that are self-contained work packets. Each issue includes:
- Problem/Feature specification with clear scope
- Technical specification with types, schemas, and API design
- TDD Implementation Plan with test-first cycles
- Acceptance Criteria checklist
- Agent Instructions for complete PR lifecycle (implementation → review → merge)
Usage
/create-issueInteractive Flow
Step 1: Issue Type
Ask the user:
What type of issue is this?
1. Feature - New functionality
2. Bug - Something broken
3. Refactor - Improving existing codeStep 2: Brief Description
Brief description of the problem or feature? (1-2 sentences)Step 3: Complexity Assessment
What's the estimated complexity?
1. Simple (< 1 day)
2. Medium (2-5 days)
3. Complex (> 1 week)Step 4: Context Gathering
Any related files, services, or issues I should reference?
(Or say "explore codebase" and I'll investigate)Step 5: Generate Issue
Based on inputs, generate the full issue using the appropriate template below.
Issue Templates
Feature Template
## Summary
[1-2 sentence description]
**Complexity**: [simple|medium|complex]
**Estimated Effort**: [X days]
---
## Problem
[What problem does this solve? Why is it needed?]
### Evidence
[Logs, metrics, user reports, or reasoning]
### Scope
- IN SCOPE: [what's included]
- OUT OF SCOPE: [what's explicitly NOT included]
---
## Architecture Decision
**Decision**: [What approach will be taken]
**Rationale**: [Why this approach, why NOT alternatives]
---
## Technical Specification
### Types/Interfaces
```typescript
// Key type definitions
```Zod Schemas (if applicable)
// Validation schemasAPI Endpoints (if applicable)
| Method | Path | Description |
Database Changes (if applicable)
[Schema changes, migrations needed]
TDD Implementation Plan
Cycle 1: [Happy Path]
it("should [expected behavior]", async () => {
// Test code
});Cycle 2: [Error Handling]
it("should handle [error case]", async () => {
// Test code
});Cycle 3: [Edge Cases]
Cycle 4: [Integration]
Error Handling
| Scenario | Behavior | Logging |
Implementation Phases
Phase 1: [Core] (High Priority)
- Task 1
- Task 2
Phase 2: [Enhancement] (Medium Priority)
- Task 3
Files to Create/Modify
- NEW:
path/to/new/file.ts path/to/existing/file.ts- [what changes]
Acceptance Criteria
- All TDD cycles implemented with passing tests
- Zero TypeScript errors (
pnpm typecheck) - Zero lint warnings (
pnpm lint) - All tests pass (
pnpm test --run) - JSDoc documentation added to all new/modified services
docs/SERVICE_INVENTORY.mdupdated (if new/modified service)- Mock factories added/updated (if new service)
- PR created and all CI checks pass
- ALL code review comments addressed (see Agent Instructions)
- All review threads resolved
- PR approved and merged
Agent Instructions
CRITICAL: Follow this protocol when implementing this issue. A PR is NOT complete until ALL steps are done.
Phase 0: Research (BEFORE writing any code)
Read these files first to avoid reinventing the wheel:
Service Inventory - Check for existing services that might already do what you need:
# Read the service inventory cat docs/SERVICE_INVENTORY.md # Or search for specific functionality grep -i "embedding\|search\|cache" docs/SERVICE_INVENTORY.mdMock Factories - Review existing mocks to reuse patterns:
ls src/test-utils/factories/- Similar Services - Find services with similar patterns:
# Find orchestrator patterns ls src/lib/services/*-orchestrator*.ts # Find persistence patterns ls src/lib/services/*-persistence*.ts
Why this matters: Reusing existing services and patterns saves time, maintains consistency, and prevents duplicate code.
Phase A: Implementation
- Create feature branch from main:
git checkout -b feat/[short-name] - Follow TDD cycles exactly as specified above
- Add JSDoc documentation to all new/modified services
- Run local validation:
pnpm lint && pnpm typecheck && pnpm test --run - Update service inventory (if new service)
- Create PR with comprehensive description using
/create-pr
Phase B: Code Review Iteration
Wait for code reviews before proceeding. Do NOT mark complete after pushing code.
For EACH code review iteration:
Fetch ALL comments (including trivial, nitpicks, and out-of-scope):
PR_NUMBER=XXX OWNER=$(gh repo view --json owner -q .owner.login) REPO=$(gh repo view --json name -q .name) gh api "repos/$OWNER/$REPO/pulls/$PR_NUMBER/comments" --paginateAddress ALL comments by category:
Type Action Critical/Major Fix immediately Medium/Minor Fix before merge Trivial/Nitpick Fix these too! Do NOT skip Out-of-scope Investigate thoroughly - often the BEST insights - For each comment:
- < 1 day of work → Implement the fix in this PR
- > 1 day OR architectural → Create a new GitHub issue, link in response
- Disagree → Reply explaining why with technical reasoning
After making changes:
pnpm lint && pnpm typecheck && pnpm test --run git add . && git commit -m "fix: address review feedback" && git pushRespond to EVERY comment thread individually:
COMMENT_ID=XXX CURRENT_USER=$(gh api user -q '.login') gh api "/repos/$OWNER/$REPO/pulls/$PR_NUMBER/comments/$COMMENT_ID/replies" \ -X POST \ -f body="Fixed in commit $(git rev-parse --short HEAD). [explanation] *(Response by Claude on behalf of @$CURRENT_USER)*"- Wait for next review cycle - Do NOT resolve threads yourself
- Repeat steps 1-6 until reviewer confirms satisfaction
Phase C: Thread Resolution
Only AFTER reviewer approval:
- Re-fetch all threads to get current IDs
Resolve each thread:
THREAD_ID="PRRT_xxx" gh api graphql -f threadId="$THREAD_ID" -f query=' mutation($threadId: ID!) { resolveReviewThread(input: {threadId: $threadId}) { thread { id isResolved } } }'- Verify all threads resolved before proceeding
Phase D: Merge Readiness
PR is ready for merge ONLY when ALL are true:
- All CI checks pass (green)
- EVERY code review comment addressed (including trivial/out-of-scope)
- EVERY thread has individual response
- All threads are resolved (after reviewer approval)
- GitHub issues created for any deferred work (> 1 day)
- No pending reviewer comments awaiting response
Phase E: Squash Merge and Cleanup
IMPORTANT: Always use squash merge, never regular merge.
Squash and merge the PR (combines all commits into one clean commit):
# Via GitHub CLI gh pr merge $PR_NUMBER --squash --delete-branch # Or via GitHub web UI: # Click "Squash and merge" (NOT "Merge" or "Rebase and merge")Delete the feature branch (automatically done with --delete-branch flag):
# If branch wasn't auto-deleted: git push origin --delete feat/[branch-name] git branch -d feat/[branch-name]Update local main:
git checkout main git pull origin main
Reference
See the /metaswarm:handle-pr-comments command for detailed protocol.
Related Issues
- [Link to related issues]
References
- [Link to relevant docs, specs, or PRs]
---
### Bug Template
Use the Feature template with these modifications:
**Title format**: `fix: [brief description]`
**Replace "Problem" section with**:
```markdown
## Bug Report
**Priority**: [P0-Critical|P1-High|P2-Medium|P3-Low]
**Affected Users**: [scope of impact]
**First Reported**: [date/source]
### Expected Behavior
[What should happen]
### Actual Behavior
[What actually happens]
### Steps to Reproduce
1. Step 1
2. Step 2
3. Step 3
### Root Cause Analysis
[If known, explain why this is happening]
### Evidence
[Logs, stack traces, screenshots]Replace "TDD Implementation Plan" with:
## Test Cases
### Test 1: Verify fix for reported issue
```typescript
it("should [correct behavior] when [condition]", async () => {
// Reproduce the bug scenario
// Verify it's now fixed
});
```Test 2: Regression test
it("should not regress [related functionality]", async () => {
// Ensure fix doesn't break other things
});
---
### Refactor Template
Use the Feature template with these modifications:
**Title format**: `refactor: [brief description]`
**Add after "Summary"**:
```markdown
## Background
[Why is this refactor needed? What triggered it?]
### Review Feedback Being Addressed
> [Quote the review comment that prompted this work]
- Original PR: #XXX
- Comment by: @reviewerAdd to "Acceptance Criteria":
- [ ] No breaking changes to public APIs
- [ ] All existing tests still pass without modification
- [ ] Performance not degraded (if applicable)After Generation
After generating the issue content:
- Show preview to user
- Ask for modifications if needed
Create issue with appropriate labels:
# Feature gh issue create --title "feat: [title]" --body "[content]" \ --label "enhancement" --label "complexity:[level]" # Bug gh issue create --title "fix: [title]" --body "[content]" \ --label "bug" --label "priority:[level]" # Refactor gh issue create --title "refactor: [title]" --body "[content]" \ --label "refactor" --label "complexity:[level]"- Report issue number to user
Key Principles
- Self-contained: Issues should have everything an agent needs to work autonomously
- TDD-first: Always include test specifications before implementation
- Complete lifecycle: Agent Instructions cover implementation through merge
- No shortcuts: ALL review comments must be addressed, including trivial/nitpicks
- Out-of-scope = gold: Comments marked out-of-scope often contain the best insights
- Iterate until done: PR is not complete until ALL threads are resolved
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.

