Agent skill
gogogo
Execute the most recent plan issue step-by-step. Use when user types 'gogogo' or when ready to implement a planned feature/fix. Follow the plan, make code changes, test, and create PR.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/gogogo
SKILL.md
GOGOGO - Execute Planned Implementation
Purpose
Execute the implementation plan step-by-step, following the detailed plan from the most recent "plan:" issue.
When to Use
- User explicitly types
gogogo - After creating a plan with
nnn - Ready to implement a planned feature or fix
Steps
1. Find Implementation Issue
Find the most recent plan issue:
gh issue list --label "plan" --state open --limit 1 --json number,title
If no plan issue found:
- Tell user: "No plan issue found. Create one with
nnnfirst." - Stop execution
If plan issue found:
- Display: "Found plan: #[number] - [title]"
- Load the plan details:
gh issue view [number]
2. Prepare Branch
# Check current branch
CURRENT_BRANCH=$(git branch --show-current)
# If on main, create feature branch
if [ "$CURRENT_BRANCH" = "main" ]; then
BRANCH_NAME="feat/issue-[number]-[description]"
git checkout -b $BRANCH_NAME
fi
# Ensure working directory is clean
git status
3. Execute Implementation
Follow the plan step-by-step:
For each phase in the plan:
- Announce Phase: Tell user "Starting Phase X: [phase name]"
- Read Required Files: Use
Readtool for files mentioned in the phase - Make Changes: Use
EditorWritetools as needed - Verify Changes: Check that changes compile/work
- Update Checklist: Comment on the issue to mark steps complete
Important:
- Follow the plan exactly - don't add unplanned features
- Keep changes focused and minimal
- Test after each significant change
- If you discover issues with the plan, ask user before deviating
4. Test & Verify
After implementation:
# Run build (if applicable)
[build-command]
# Run tests (if applicable)
[test-command]
# Manual verification
# Test key scenarios mentioned in the plan
If tests fail:
- Fix the issues
- Re-run tests
- Don't proceed until tests pass
5. Commit & Push
# Stage all changes
git add -A
# Create descriptive commit
git commit -m "$(cat <<'EOF'
feat: [Brief description from plan]
- What: [Specific changes made]
- Why: [Reason from plan]
- Impact: [What this affects]
Implements #[plan-issue-number]
EOF
)"
# Push to remote
git push -u origin $(git branch --show-current)
6. Create Pull Request
gh pr create --title "feat: [Same as commit title]" --body "$(cat <<'EOF'
## Summary
[Brief overview of what was implemented]
## Implementation Details
- [Key change 1]
- [Key change 2]
- [Key change 3]
## Testing
- [x] Build successful
- [x] Tests passing
- [x] Manual testing completed
## Related Issues
Implements #[plan-issue-number]
---
🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"
7. Update Plan Issue
Comment on the plan issue:
gh issue comment [plan-number] --body "✅ Implementation complete!
**PR Created:** #[pr-number]
**What was done:**
- [Summary of implementation]
**Test Results:**
- Build: ✅ Passing
- Tests: ✅ All passing
- Manual: ✅ Verified
Ready for review!"
8. Report to User
Provide a complete summary:
✅ Implementation Complete!
**Plan Issue:** #[plan-number]
**PR Created:** #[pr-number]
**Branch:** [branch-name]
**Changes:**
- [file1]: [what changed]
- [file2]: [what changed]
**Tests:** ✅ All passing
**Build:** ✅ Successful
**Next steps:**
1. Review the PR: [pr-url]
2. Request review from team
3. Merge when approved
⚠️ **IMPORTANT:** Don't merge until user explicitly approves!
Important Notes
- Follow the Plan: Don't deviate without asking
- Test Everything: Never skip testing
- Commit Often: Make logical commits as you progress
- Safety First: Follow all git safety rules (no --force)
- Never Merge: Only create PR, wait for user approval
- Ask Questions: If plan is unclear, ask user before proceeding
- Update Issue: Keep the plan issue updated with progress
Error Handling
If build fails:
- Read error messages carefully
- Fix the issues
- Re-run build
- Continue only when passing
If plan is incomplete:
- Ask user for clarification
- Update plan issue with questions
- Wait for user response
If stuck:
- Document what you tried
- Comment on plan issue with blockers
- Ask user for guidance
Success Criteria
- ✅ All plan phases completed
- ✅ All tests passing
- ✅ Build successful
- ✅ PR created (not merged)
- ✅ Plan issue updated
- ✅ User provided with clear summary
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?