cygnusfear/claude-stuff/4-step-program
Claude Code and agent skill by cygnusfear/claude-stuff
- community
Checking that the SKILL.md file is still in the repository.
Coordinator workflow for orchestrating dockeragents through fix-review-iterate-present loop. Use when delegating any task that produces code changes. Ensures agents achieve 10/10 quality before presenting to human.
Install
npx vskill@latest install cygnusfear/claude-stuff/4-step-programSKILL.md
The 4 Step Program
A coordinator workflow for orchestrating dockeragents. You delegate, they implement. You enforce the loop until quality is achieved.
⚠️ MANDATORY: GitHub PR Posting
Every code review MUST be posted to GitHub as a PR comment. This is NOT optional.
- The code-reviewer agent MUST post their review to the PR
- A review that is not posted to GitHub means the task has FAILED
- The human needs to see the review on the PR page to evaluate quality before merging
- If the agent reports completion without posting to GitHub, send them back to post it
The Loop
Step 1: Delegate FIX to Agent
Assign the implementation task to a dockeragent:
The task description MUST include:
- Clear action to perform
- Context (issue numbers, file paths, errors)
- ALL requirements from the issue/task (100% must be implemented)
- Success criteria
- Instruction to self-review using
Skill(code-reviewer)and POST to GitHub when done
CRITICAL: 100% Issue Coverage Requirement
When delegating, you MUST:
- Read the full issue:
gh issue view <number> - Extract EVERY requirement, acceptance criterion, and edge case
- Include ALL of them in the delegation prompt
- Make it clear that 100% of requirements must be implemented
Example delegation:
"Fix the authentication bug insrc/auth.ts(Issue #45).Requirements from issue (ALL must be implemented):1. Session token expires correctly after 24 hours2. Refresh token works when session token expires3. Error message shown when both tokens expire4. User redirected to login page on auth failureSuccess: ALL 4 requirements implemented, tests pass, bug no longer reproducible.When complete, runSkill(code-reviewer)on your changes, POST the review to GitHub, and report the results with the PR link."
IMPORTANT: The agent MUST ALWAYS create PR for work, or update the existing PR with the work they've done.
CRITICAL: PR Must Link and Close Issues
When creating PR, agent MUST:
- Use
Closes #XorFixes #Xin PR body for each issue being addressed - Include "Related Issues" section listing all related issues
- Verify issue links with
gh pr view --json closingIssuesReferences
Example PR body must include:
Step 2: Agent Performs REVIEW (MUST POST TO GITHUB)
The dockeragent MUST invoke the code-reviewer skill on their own work:
This triggers the 6-pass ultra-critical methodology:
- Technical Issues - Runtime failures, type errors, null handling
- Code Consistency - Style, patterns, naming conventions
- Architecture - Design, dependencies, complexity, coupling
- Environment - Compatibility, security, performance risks
- Verification - Run build, tests, linting - actual commands
- Synthesis - Overall assessment with suggestion counts
CRITICAL: Review MUST Be Posted to GitHub
The review is NOT complete until it is posted to GitHub as a PR review/comment.
The code-reviewer skill will:
- Analyze the PR changes
- Generate the ultra-critical review
- POST the review to GitHub using `mcp__github__create_pull_request_review`
The human needs to see the review on the PR page. A local-only review that isn't posted to GitHub is useless - the human won't see it and can't evaluate the quality before merging.
Delegation must include:
"After reviewing, POST your review to GitHub. The human must be able to see your review on the PR page."
The agent reports back with:
- Their review results
- Confirmation that the review was posted to GitHub
- Link to the PR where the review can be seen
IMPORTANT: The agent MUST ALWAYS post the Review as comment on the PR.
Step 3: You CHECK - Is the review 10/10 AND 100% Issue Coverage?
When the agent reports back, evaluate: Is the review 10/10 AND does it cover 100% of issue requirements?
100% Issue Coverage Check (MANDATORY)
BEFORE checking review quality, verify the implementation covers ALL requirements from the original issue/task:
- Identify ALL requirements from the original issue:
- Read the issue:
gh issue view <number> - Extract every acceptance criterion
- Note every edge case mentioned
- List every functional requirement
- Verify each requirement is implemented:
- ✅ Implemented: Code exists that fulfills this requirement
- ❌ NOT Implemented: Requirement missing from implementation
- Coverage must be 100%:
- If ANY requirement is missing → Send agent back immediately
- Do NOT proceed to review quality check until coverage is 100%
10/10 Review Quality Check
A 10/10 review means ALL of the following:
- 100% of issue/task requirements implemented (verified above)
- ZERO items in "Suggest Fixing" section
- ZERO items in "Possible Simplifications" section
- ZERO items in "Consider Asking User" section
- ZERO further notes
- All verification commands executed and passing
- DO NOT ACCEPT POTENTIAL WORK IN REVIEW FOR A LATER PR (this is still a suggestion)
- Review MUST be posted to GitHub PR - if not posted, task is incomplete
If NOT 10/10 (any suggestions exist):
Send the agent back to fix:
→ Loop back to Step 1
If YES 10/10 (zero suggestions):
→ Proceed to Final Coverage Gate
Step 3.5: FINAL COVERAGE GATE (Before Presenting)
MANDATORY: Before presenting to human, perform one final 100% coverage verification using LINE-BY-LINE requirement checking.
Final Coverage Check Process
Step 1: Extract ALL Requirements from Issue
Don't rely on memory - actually parse the issue text.
Step 2: Create Line-by-Line Verification Table
MANDATORY - You MUST create this exact table:
Status meanings:
- ✅ = Fully implemented, can cite exact code
- ❌ MISSING = Not implemented at all
- ⚠️ PARTIAL = Partially implemented (counts as NOT done)
- ⚠️ MANUAL = Requires manual verification
Step 3: Calculate Honest Coverage
Be brutally honest:
- ⚠️ PARTIAL = NOT implemented
- ⚠️ MANUAL items that CAN be automated MUST be
- State your confidence explicitly
Step 4: Honest Assessment
Coverage Decision
| Coverage | Action | |
|---|---|---|
| 100% | ✅ Proceed to Step 4 (Present) | |
| < 100% | ❌ DO NOT PRESENT - Loop back to Step 1 |
If Coverage < 100%:
→ Loop back to Step 1
If Coverage = 100%:
→ Proceed to Step 4
Step 4: PRESENT to Human
Report to the human with:
- Summary of what was done
- Confirmation of 100% issue coverage (list all requirements met)
- PR number with FULL URL link
- Related issue links
- Mermaid diagrams for complex changes (optional but recommended)
CRITICAL: URL Formatting
ALWAYS link PR and issue numbers to URLs. This is mandatory.
Correct:
WRONG:
Never write bare PR #42 or Issue #100. ALWAYS include the full clickable URL.
Iteration Limits
- Maximum 5 iterations before escalating to human
- If agent isn't converging, something is fundamentally wrong
- Escalate: "After 5 iterations, agent still has X suggestions. Need guidance."
Anti-Patterns
| Anti-Pattern | Why It's Wrong | |
|---|---|---|
| Accepting incomplete issue coverage | Issue had 10 requirements, only 8 implemented = NOT DONE. Send back. | |
| Accepting "mostly done" | Not 10/10 = not done. Send back. | |
| Skipping PR before review | We need a PR BEFORE review. | |
| Skipping review step | Every task gets reviewed. No exceptions. | |
| Reviewing code yourself | You coordinate. Agent reviews with skill. | |
| Bare PR/issue numbers | URLs are mandatory. Always link. | |
| Presenting before 10/10 | Loop isn't done. Keep iterating. | |
| Review not posted to GitHub | TASK FAILS. Human can't see local-only reviews. Must be on PR page. | |
| Accepting completion without GitHub post | Send agent back. Review isn't done until posted. |
❌ Antipattern Examples: What NOT To Do
EXECUTIVE SUMMARY: ANY SCORE BELOW 10/10 → DO NOT APPROVE, DO NOT PRESENTEXECUTIVE SUMMARY: ANY COVERAGE BELOW 100% → DO NOT APPROVE, DO NOT PRESENT
Antipattern 0: Incomplete Issue Coverage
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationFailed, 70 of 100Degrading. 1 run. Evaluated 8 months ago.
Source
- SKILL.md in the repositoryCheckingskills/4-step-program/SKILL.md
Popularity
- Repository stars
- 3
- Repository forks
- 1
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 8 months ago.
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/cygnusfear/claude-stuff/4-step-program)