wiggum
БесплатноБез исполняемых скриптовНе проверенStart an autonomous implementation loop from a spec or PRD. Enters plan mode for user approval, enforces command gates (test/lint/typecheck/build), validates…
Об этом скилле
Wiggum Loop - Autonomous Implementation
You are initiating a Wiggum Loop - an autonomous implementation cycle (inspired by the Ralph Wiggum technique) that plans first, then iterates until the spec is fully complete with all quality gates passed.
Your motto: "Iteration beats perfection. Keep going until it's truly done."
Core Philosophy
- Plan before implementing: Enter plan mode first, get user approval before writing code.
- Iterate until complete: Each cycle builds on the previous. Read your own git commits, see what changed, fix what's broken.
- Quality over speed: Better to take 10 iterations and ship solid code than 2 iterations of broken code.
- No stubs, ever: If you write
// TODOor stub out a function, you're not done. Implement it fully. - Document as you go: Documentation and changelog entries are part of the work, not afterthoughts.
- Commit incrementally: Each completed chunk gets its own atomic commit with a meaningful message.
- Trace every path: Follow every code path to ensure completeness. Don't assume - verify.
Input Handling
You MUST receive a clear specification. If not provided:
- Ask: "What would you like me to build? Please provide a spec, PRD, or detailed requirements."
- Clarify: "I need clear success criteria to know when I'm done."
Never start without understanding what 'done' looks like.
Quick Start
Step 0: Enforcement Is Automatic
When /wiggum is invoked, a Claude Code hook automatically creates .wiggum-session:
- This happens mechanically via
.claude/hooks/wiggum-session-start.sh - Claude cannot skip this - Claude Code runs the hook before the skill executes
- No manual step required
Install the pre-commit hook (one-time setup):
cp .claude/hooks/wiggum-precommit.sh .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit
The .wiggum-session file activates mechanical enforcement:
- Git will block commits if CHANGELOG is empty
- Git will block commits if tests fail
- Git will block commits if lint fails
- Only active during wiggum sessions (file exists)
- Remove file at end to deactivate
Record the starting commit for validation later:
git rev-parse HEAD
Save this hash for wiggum-validate.sh --since <hash> at the end.
Step 1: Get the Spec
If the user provided a spec/PRD, proceed to planning. If not:
I'll start a Wiggum Loop for autonomous implementation.
Please provide:
1. **Spec/PRD**: What should I build? (paste or describe)
2. **Success criteria**: How will we know it's done?
3. **Constraints**: Any limits on scope or approach?
Step 2: Enter Plan Mode
Before writing any code, enter plan mode:
- Use the EnterPlanMode tool
- Explore the codebase
- Design the implementation approach
- Present the plan via ExitPlanMode
- Wait for user approval
The Wiggum Loop Process
┌────────────────────────────────────────────────────────────────┐
│ /wiggum "<spec>" │
│ │
│ 0. PLAN → Enter plan mode, get user approval │
│ 1. PARSE → Extract requirements from spec │
│ 2. CHUNK → Break into implementable pieces │
│ 3. BUILD → Implement iteratively │
│ 4. DECIDE → Document ADRs for significant choices │
│ 5. TEST → test-writer ensures coverage │
│ 6. REVIEW → code-reviewer checks quality │
│ 7. SIMPLIFY → code-simplifier refines clarity │
│ 8. DOCUMENT → documentation-writer updates docs │
│ 9. COMMIT → Atomic commit for the chunk │
│ 10. REPEAT → Loop until ALL gates pass │
│ 11. CHANGELOG → Update CHANGELOG.md │
│ 12. VERIFY → Final verification pass │
│ 13. VALIDATE → Run wiggum-validate.sh (MANDATORY) │
│ 14. COMPLETE → Only when validation passes │
└────────────────────────────────────────────────────────────────┘
Mandatory Validation (ENFORCED)
Before you can say "COMPLETE", you MUST run the validation script:
.claude/scripts/wiggum-validate.sh
This script checks reality:
- ✓ Git commits were actually made
- ✓ CHANGELOG.md has [Unreleased] entries
- ✓ TEST command passes
- ✓ LINT command passes
- ✓ BUILD command passes
The script output must be included in your completion report.
If the script shows VALIDATION FAILED:
- You are NOT done
- Fix the failures
- Run the script again
- Repeat until
VALIDATION PASSED
You cannot claim COMPLETE without showing the validation script output.
This is not optional. This is not a suggestion. This is enforcement.
Stop Conditions (Prevent Runaway)
These limits prevent infinite loops and wasted effort:
| Condition | Limit | Action | |----
Установить wiggum в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGrepGlobEditWriteBashTaskFAQ
Что делает скилл wiggum?
Start an autonomous implementation loop from a spec or PRD. Enters plan mode for user approval, enforces command gates (test/lint/typecheck/build), validates dependencies, commits incrementally, and maintains documentation and changelog. Production-ready quality gates.
Как установить скилл wiggum?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл wiggum запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic