From github-devflow
Creates an implementation plan for a GitHub issue and posts it as a comment. Triggered when the user provides a GitHub issue number for planning.
npx claudepluginhub hhiroshell/gh-devflow-plugins --plugin github-devflowThis skill is limited to using the following tools:
Create a structured implementation plan for a GitHub issue by analyzing the issue requirements and the codebase, then post the plan directly as a comment on the issue for review on GitHub.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Create a structured implementation plan for a GitHub issue by analyzing the issue requirements and the codebase, then post the plan directly as a comment on the issue for review on GitHub.
Retrieve the GitHub issue information using the gh CLI:
gh issue view $ARGUMENTS --json title,body,labels,assignees,milestone,comments
Parse the response to understand:
Based on the issue requirements, explore the codebase to understand:
Focus the analysis on areas directly relevant to the issue. Avoid broad codebase exploration unless necessary.
Create a structured implementation plan in Markdown format with these sections:
## Implementation Plan for #<issue-number>
### Overview
Brief summary of the approach and key decisions.
### Affected Files
List of files that will need to be created or modified:
- `path/to/file1.ts` - Description of changes
- `path/to/file2.ts` - Description of changes
### Implementation Steps
1. **Step title**
- Detailed description
- Code patterns to follow
2. **Step title**
- Detailed description
- Code patterns to follow
### Testing Approach
- Unit tests to add
- Integration tests to consider
- Manual testing steps
### Potential Risks
- Risk 1 and mitigation
- Risk 2 and mitigation
---
*Plan generated with [Claude Code](https://claude.ai/code) - github-devflow:plan*
Post the generated plan directly to the GitHub issue:
gh issue comment $ARGUMENTS --body "<plan-content>"
After posting, report success with the issue URL so the user can review the plan on GitHub.
gh CLI is not authenticated, inform the user