Agent skill
implementing-issues
Implement a GitHub or Linear issue end-to-end with TDD, branch management, and PR creation. Use when implementing an issue, working on a ticket, starting a feature from an issue, or building from issue requirements.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/implementing-issues
SKILL.md
Implementing Issues
Work through an issue with TDD, proper branch management, and PR creation.
Workflow
- Auto-detect VCS --
jj rootsucceeds -> jj, otherwise git - Auto-detect issue tracking -- numeric/#number -> GitHub (gh), TEAM-ID format -> Linear (linear-cli)
- Check working copy status -- ensure not on main/master/dev
- Create feature branch with proper naming
- Read and understand issue requirements
- Review project context -- spec.md, requirements.md, CLAUDE.md
- Follow TDD -- write tests first
- Implement minimal code to pass tests
- Refactor incrementally while maintaining coverage
- Clean up history -- squash/curate commits
- Push with upstream tracking and create PR
- Write complete PR description with test plan
Branch Naming
- GitHub:
feature/issue-{number}-{short-description}orfix/issue-{number}-{description} - Linear:
feature/{team-id}-{short-description}orfix/{team-id}-{description}
Branch Safety
jj:
jj log -r @ --no-graph -T 'bookmarks'
# If on main, create new change:
jj new main -m "feat: description"
jj git fetch
git:
git branch --show-current
# If on protected branch, create feature branch:
git checkout -b "feature/issue-<number>-<description>"
git fetch origin
Implementation Standards
- Write failing tests first capturing acceptance criteria
- Implement minimal code to make tests pass
- Refactor while maintaining green tests
- Follow project patterns from CLAUDE.md
- Add meaningful comments for complex logic
- Update docs if public APIs change
Push and PR
jj:
jj squash -m "feat: final commit message"
jj bookmark set <branch> -r @
jj git push --bookmark <branch>
git:
git push -u origin HEAD
PR creation:
gh pr create --title "[Issue #<number>] Title" --body "$(cat <<'EOF'
## Summary
<bullets>
## Test plan
- [ ] Tests pass
- [ ] Manual verification
EOF
)"
Command Reference
# GitHub
gh issue view <number> --json title,body,labels,assignees,milestone
gh pr create --title "title" --body "body"
# Linear
linear-cli issues
linear-cli issue <team-id>
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?