Automatically implement a GitHub issue by pulling it down, solving it with the appropriate specialist agent, and creating a PR with the solution.
Automates GitHub issue implementation by fetching issues, selecting specialist agents, and creating PRs.
/plugin marketplace add dgriffith/bad-daves-robot-army/plugin install dgriffith-bad-daves-robot-army@dgriffith/bad-daves-robot-armyAutomatically implement a GitHub issue by pulling it down, solving it with the appropriate specialist agent, and creating a PR with the solution.
/implement-issue {issue_number_or_url_or_file}
/implement-issue 5 - Implement GitHub issue #5 or local issue file /issues/5.md/implement-issue https://github.com/owner/repo/issues/5 - Implement issue from GitHub URL/implement-issue issues/5.md - Implement local issue fileThis command automates the entire workflow from issue to implementation:
/issues/{number}.mdgh auth statusgh issue view {number}/issues/{number}.mdissue-{number}-{slug}The command looks for agent recommendations in the issue body:
@agent-{name} or "handled by {agent}"Before creating the PR, validate:
## Resolves\nCloses #{issue_number}\n\n{summary_of_changes}## Related Issue\nImplements #{issue_number}\n\n{summary_of_changes}gh issue comment {issue_number} to add a comment linking to the PRgh issue comment {issue_number} --body "Implementation PR created: #{pr_number}"/issues/{number}.md frontmatter: set status: in_review (or completed if no PR workflow)completed_at: {timestamp}pull_request: {pr_number_or_branch} to frontmatter if tracking locallyWhen implementing from local files, the issue file contains metadata in YAML frontmatter:
---
number: 5
title: "Create plugin validation system"
labels:
- feature
- testing
priority: High
agent: test-automator
dependencies: []
status: open
created_at: 2024-10-01T10:00:00Z
---
## Task Overview
Implement a validation system for plugins...
## Success Criteria
- [ ] Plugin validation logic implemented
- [ ] Unit tests added
- [ ] Integration tests passing
## Recommended Specialist
@agent-test-automator
After implementation, the frontmatter is updated:
---
number: 5
title: "Create plugin validation system"
status: in_review
completed_at: 2024-10-02T15:30:00Z
implemented_by: agent-test-automator
pull_request: 42
---
## Task Overview
Implement a validation system for plugins...
## Success Criteria
- [x] Plugin validation logic implemented
- [x] Unit tests added
- [x] Integration tests passing
## Pull Request
Implementation completed in PR #42: https://github.com/owner/repo/pull/42
## Recommended Specialist
@agent-test-automator
| Issue Labels/Keywords | Selected Agent |
|---|---|
| security | @agent-security-master |
| performance | @agent-performance-optimizer |
| architecture | @agent-architect |
| documentation | @agent-code-documentor |
| test, testing | @agent-test-automator |
| refactor | @agent-refactorer |
| modernize, upgrade | @agent-code-modernizer |
| build, ci/cd | @agent-build-master |
| config, configuration | @agent-configuration-manager |
| bug, fix | @agent-debugger |
| error, exception | @agent-exception-handling-master |
| logging, logs | @agent-logging-master |
| tooling, dx | @agent-toolsmith |
| i18n, localization | @agent-internationalization-specialist |
| a11y, accessibility | @agent-accessibility-specialist |
The command handles various failure scenarios:
--no-tests: Skip test validation--no-build: Skip build validation--draft: Create PR as draft--agent {name}: Override agent selection--branch {name}: Use custom branch nameImplementing issue #5: Create plugin validation system
✓ Fetched issue details from GitHub
✓ Created branch: issue-5-plugin-validation
✓ Selected agent: @agent-test-automator
✓ Implementation in progress...
✓ Build successful
✓ Tests passing (15/15)
✓ Changes committed
✓ Branch pushed to remote
✓ Pull request created: #24
✓ Updated issue #5 with PR link
View PR: https://github.com/owner/repo/pull/24
Implementing issue #5: Create plugin validation system
✓ Read issue from /issues/5.md
✓ Selected agent: @agent-test-automator
✓ Implementation in progress...
✓ Build successful
✓ Tests passing (15/15)
✓ Changes committed
✓ Updated /issues/5.md status to in_review
✓ Added PR reference to issue file
Issue completed at: 2024-10-02T15:30:00Z
Implementation branch: issue-5-plugin-validation
gh) must be installed and authenticated/issues/{number}.md with YAML frontmatter