Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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…

zbruhnkeот zbruhnke★ 19 звёзд на GitHub14 установок в других каталогах

Об этом скилле

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

  1. Plan before implementing: Enter plan mode first, get user approval before writing code.
  2. Iterate until complete: Each cycle builds on the previous. Read your own git commits, see what changed, fix what's broken.
  3. Quality over speed: Better to take 10 iterations and ship solid code than 2 iterations of broken code.
  4. No stubs, ever: If you write // TODO or stub out a function, you're not done. Implement it fully.
  5. Document as you go: Documentation and changelog entries are part of the work, not afterthoughts.
  6. Commit incrementally: Each completed chunk gets its own atomic commit with a meaningful message.
  7. 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:

  1. Ask: "What would you like me to build? Please provide a spec, PRD, or detailed requirements."
  2. 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:

  1. Use the EnterPlanMode tool
  2. Explore the codebase
  3. Design the implementation approach
  4. Present the plan via ExitPlanMode
  5. 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 | |----

Полный SKILL.md на GitHub

Установить wiggum в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Grep
Glob
Edit
Write
Bash
Task

FAQ

Что делает скилл 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), без исполняемых скриптов.

Похожие скиллы

Сравнить wiggum с