بنقرة واحدة
gestrich-claude-tools-next-task
Next Phase Command
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Next Phase Command
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | gestrich-claude-tools-next-task |
| description | Next Phase Command |
| invoke | Execute phased work from planning documents with review and commit cycles |
This command implements phased work from a planning document. It guides the user through completing one phase at a time with review and commit cycles.
First, run git status --porcelain to check for uncommitted changes.
If there are uncommitted changes:
If the user specified a planning document in their prompt, use that. Otherwise, auto-select the most recently modified document in docs/proposed/ (by file modification date):
ls -lt docs/proposed/*.md 2>/dev/null | head -1
Tell the user which document was selected. Store this choice for the session.
Read the planning document and identify all phases. Phases are ## headings with checkboxes:
## - [ ] Phase N: Description (incomplete)## - [x] Phase N: Description (complete)Determine:
Present the next phase to the user:
"Next Phase: Phase N: [Description]"
Then immediately begin implementation by:
Do NOT commit yet - wait for user review.
When implementation is complete:
If the user says yes/ok/looks good:
## - [ ] to ## - [x])## - [x] Phase 2: Implement command parsing
**Skills used**: `swift-testing`, `design-kit`
**Principles applied**: Used factory pattern per design-kit conventions; tests follow swift-testing arrange/act/assert style
If the user provides feedback:
After committing, check if this was the last phase:
If all phases are complete:
docs/completed/?"git mv docs/proposed/[filename] docs/completed/[filename]If more phases remain:
> Checking for uncommitted changes...
> No uncommitted changes found.
> Auto-selected most recent plan: docs/proposed/2025-01-03-1-add-voice-commands.md
>
> Phase Overview:
> ## - [x] Phase 1: Set up voice input infrastructure
> ## - [ ] Phase 2: Implement command parsing
> ## - [ ] Phase 3: Add error handling
> ## - [ ] Phase 4: Validation
>
> **Next Phase:** Phase 2: Implement command parsing
[Claude implements the phase]
> Phase 2 implementation complete. Here's what changed:
> - Created src/voice/parser.py with command parsing logic
> - Updated src/voice/main.py to use the new parser
> - Added tests in tests/test_parser.py
>
> Are you OK with these changes?
[User approves]
> Marked Phase 2 as complete and committed changes.
>
> Ready to work on the next phase? (Phase 3: Add error handling)
[User confirms]
[Claude implements Phase 3]
Use this format for phase commits:
Complete Phase N: [Short description]
[Optional: 1-2 sentences about what was implemented]
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>