Agent skill
work-issue
Pick up a GitHub issue — fetch details, create a branch, and set up context for implementation
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/work-issue
SKILL.md
Start working on a GitHub issue. Fetches the issue details, creates a properly named branch, reads project context from chalk.json, and sets up a todo list for implementation.
Workflow
-
Fetch issue details — Use
gh issue view <number> --json title,body,labels,assignees,milestoneto get the full issue context. -
Read project context — If
.chalk/chalk.jsonexists, read it to understand:sourceLayout— where to create/modify filesroutes— which pages might be affectedproject.framework— framework-specific patterns to followdev.command— how to run the project for testing
-
Create a branch — Name it based on the issue:
- Feature:
feat/<issue-number>-<short-description> - Bug fix:
fix/<issue-number>-<short-description> - Chore:
chore/<issue-number>-<short-description> - Derive the type from issue labels (
bug→ fix,enhancement→ feat, default → feat) - Keep the description to 3-5 kebab-case words from the issue title
bashgit checkout -b feat/<issue-number>-<description> - Feature:
-
Analyze scope — Based on the issue description and chalk.json:
- Identify which files/directories will likely need changes
- Identify affected routes (from
chalk.jsonroutes + sourceLayout mapping) - Note any related files that should be read before starting
-
Set up todo list — Create a task list based on the issue requirements:
- Break the issue into specific implementation steps
- Include a "verify changes" step at the end
- If the issue mentions testing, include a test step
-
Report — Print:
- Issue title and key details
- Branch name created
- Files/areas likely to be affected
- Todo list for implementation
- Suggest: "Read the relevant source files, then start implementing."
Rules
- Always create the branch from
main(checkout main and pull first) - Never assign the issue unless the user asks
- If the issue is already assigned to someone else, warn the user
- If there's already a branch for this issue (check
git branch -a), ask the user if they want to use the existing branch - Keep branch names short — max 50 characters total
- If
chalk.jsondoesn't exist, skip the project context step — the skill still works, just with less context
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?