From rust-agents
Fetches a GitHub issue, creates a branch in a worktree, and launches team-develop agents to implement the fix or feature end-to-end.
How this skill is triggered — by the user, by Claude, or both
Slash command
/rust-agents:solve-issue <issue-number><issue-number>The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Solve a GitHub issue end-to-end using the team-develop agent workflow.
Solve a GitHub issue end-to-end using the team-develop agent workflow.
Issue: $ARGUMENTS
1. Fetch issue data and assign
Run: gh issue view $ARGUMENTS --json number,title,body,labels,milestone
Then assign the issue to yourself:
Run: gh issue edit $ARGUMENTS --add-assignee @me
Parse:
number → issue numbertitle → used to derive branch slug (lowercase, spaces→hyphens, strip special chars)labels → detect bug/fix label to choose branch prefix (fix/ vs feat/)milestone → extract milestone number N for feat/mN/ branch names (if present)2. Determine branch name
Branch naming convention:
fix/<short-slug> (max 30 chars)feat/m{N}/<feature-slug> where N comes from the milestone numberfeat/issue-{number}/<feature-slug>Slug derivation: take the issue title, lowercase it, replace non-alphanumeric runs with -, trim leading/trailing dashes, truncate to 30 chars.
Note: If the project has a .claude/rules/branching.md file, read it and follow those conventions instead of the defaults above. If .claude/rules/commits-and-issues.md exists, read it for commit message format and issue filing rules.
3. Sync main branch
Run: git fetch origin main
4. Create worktree
Use the EnterWorktree tool with:
branch: the branch name derived abovebase: origin/mainThis triggers the WorktreeCreate hook and switches the session cwd automatically. Never use git worktree add directly.
5. Run team-develop workflow
Invoke the team-develop skill to orchestrate development directly (you are the team lead):
Skill(skill: "rust-agents:team-develop", args: "Implement GitHub issue #{number}: {title}\n\nIssue body:\n{body}\n\nWorking branch: {branch-name}\n\nFollow project rules in `.claude/CLAUDE.md` and `.claude/rules/` if they exist.")
EnterWorktree (never git worktree add) — the hook switches session cwd.claude/rules/, follow themnpx claudepluginhub bug-ops/claude-plugins --plugin rust-agentsOrchestrates a complete development cycle from GitHub Issue to merged PR: parse issue, explore codebase, plan, execute with agents, create PR, and cleanup. Use via /issue-flow.
Implements features or fixes from GitHub, Linear, or GitLab issues by registering the issue, fetching details, applying safety guidelines, creating a branch, committing, and opening a PR.
Fix GitHub issues end-to-end — analysis, branch creation, implementation, testing, and PR submission.