janekbaraniewski/openusage/iterate-feature
Claude Code and agent skill by janekbaraniewski/openusage
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install janekbaraniewski/openusage/iterate-featureSKILL.md
Skill: Iterate Feature
Fix issues, address feedback, and iterate on a feature implementation until it's ready for review.
When to use
- After
/validate-featurereports issues (verdict: NEEDS ITERATION) - After PR review feedback
- After manual testing reveals problems
- When user reports bugs or requests changes to an in-progress feature
Prerequisite
- A design doc in
docs/*_DESIGN.md - Implementation exists (code in working tree)
- At least one of: validation report, PR review comments, user feedback
Phases
Phase 0 — Load Context
- Find and read the design doc for the feature.
- Gather all feedback sources:
- Validation report (from
/validate-feature— if available in conversation context) - PR review comments (if user provides PR URL, fetch with
gh pr viewandgh api) - User-provided feedback (from conversation)
- Read all files that were changed as part of the feature (use
git diff main --name-only). - Summarize the current state: what's implemented, what's broken, what needs work.
Phase 1 — Triage
Categorize every issue into one of these buckets:
| Category | Priority | Description | |
|---|---|---|---|
| Bug | P0 | Code doesn't work as designed — wrong behavior, crashes, test failures | |
| Design gap | P1 | Design doc missed something — new requirement discovered during implementation | |
| Quality | P2 | Code works but has quality issues — missing tests, poor error messages, debug artifacts | |
| Polish | P3 | Nice-to-have improvements — better naming, clearer comments, minor UX tweaks |
Present the triaged list:
Ask user: "Proceed with all issues, or pick specific ones?"
Phase 2 — Plan Iterations
For each issue (in priority order), plan the fix:
Identify parallelizable fixes (same rules as /implement-feature — no mutual file dependencies).
Ask: "Proceed with this plan?"
Phase 3 — Execute Iterations
For each fix, follow this loop:
- Read — Re-read affected files to understand current state
- Fix — Make the minimal change that addresses the issue
- Test — Run
go test ./<package>/... -count=1for affected packages - Diagnose — Run
go_diagnosticson modified files - Verify — Confirm the specific issue is resolved
After each fix, report:
If a fix introduces new issues:
- Stop and report the regression
- Assess whether the fix approach is wrong
- Ask user if the approach should change
If a fix requires design changes:
- Flag it explicitly
- Propose the design doc update
- Wait for user approval before editing the design doc
Phase 4 — Re-validate
After all fixes are applied:
make build— must passgo test <all changed packages> -count=1 -race— must passmake vet— must pass- If Phase 3 introduced new files or significant changes, re-run the design compliance check from
/validate-featurePhase 3
Report:
If re-validation fails, loop back to Phase 3 for the new issues.
Phase 5 — Iteration Summary
Rules
- Fix in priority order — P0 bugs before P2 quality issues.
- Minimal changes only — fix the issue, don't refactor surrounding code.
- Never skip re-validation — every iteration round must end with a clean build and passing tests.
- Design doc is living documentation — if iteration reveals design gaps, update the doc.
- Always ask before changing scope — if a fix implies new features or architectural changes, get user approval.
- Track what changed and why — the iteration summary is the audit trail.
- If the same issue keeps recurring after 2 fix attempts, stop and escalate to the user.
- PR review feedback takes priority — if iterating from review comments, address reviewer concerns first.
Checklist
Before marking iteration complete:
- [ ] All P0 bugs resolved
- [ ] All P1 design gaps addressed (or explicitly deferred with user approval)
- [ ] All P2 quality issues fixed
- [ ] P3 polish applied (if user approved)
- [ ] Build compiles cleanly
- [ ] All tests pass with -race
- [ ] Design doc updated if scope changed
- [ ] Iteration summary produced
- [ ] Re-validation passes
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdocs/skills/iterate-feature/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/janekbaraniewski/openusage/iterate-feature)