Agent skill
finish-issue
Prepare a GitHub issue branch for PR with quality checks, cleanup, and review recommendations. Use when user says "finish issue", "ready for PR", "prepare for review", "submit PR", "create PR", "finalize issue", or "wrap up".
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/finish-issue
SKILL.md
Finish Issue Workflow
When the user wants to finalize their work on a GitHub issue and prepare a PR:
Prerequisites
- dossier-tools installed (
pip install dossier-tools) - On a feature/bug branch (not main/master)
- GitHub CLI (
gh) authenticated
Steps
- Verify we're on a feature/bug branch (not main/master)
- Run the finish workflow:
bash
dossier run imboard-ai/development/git/finish-issue-workflow - Respond to prompts for each check category
- Confirm successful PR creation with the user
What This Does
- Git prep: Fetch latest, rebase onto main, check for conflicts
- Security scans: Detect secrets, hardcoded paths, files that should be gitignored
- Code cleanup: Find debug statements, commented code, unresolved TODOs
- Project checks: Run linter, formatter, type checker, tests
- Review recommendations: Suggest reviewers based on changed files (security, DB, ops, etc.)
- PR creation: Generate description from PLANNING.md + commits, link to issue, push and create PR
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?