evanflow-brainstorming
Clarify intent, propose 2-3 approaches, embedded grill to stress-test the chosen path. Use before any creative work — new…
Iterative self-review loop after implementing a plan. Re-read changed code with fresh eyes, fix issues found, re-run quality checks, repeat until clean. For UI work, includes visual verification (view the rendered page). Use after evanflow-executing-plans completes; on success,
$ npx -y skills add evanklem/evanflow --skill evanflow-iterate --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/evanflow-iterateContext preview
The summary Claude sees to decide when to auto-load this skill.
Iterative self-review loop after implementing a plan. Re-read changed code with fresh eyes, fix issues found, re-run quality checks, repeat until clean. For UI work, includes visual verification (view the rendered page). Use after evanflow-executing-plans completes; on success,
name: evanflow-iterate description: Iterative self-review loop after implementing a plan. Re-read changed code with fresh eyes, fix issues found, re-run quality checks, repeat until clean. For UI work, includes visual verification (view the rendered page). Use after evanflow-executing-plans completes; on success, report and stop — the user decides what's next.
See `evanflow` meta-skill. Key terms: **deep modules**, **deletion test**, **vertical slice**.
**SKIP when:** the change is one line or trivially correct.
Repeat until **stopping condition** met:
Run the project's quality checks — exact commands are project-specific (see CLAUDE.md or the project's README). Typical examples across stacks:
# typecheck — one of: tsc --noEmit # TypeScript pnpm typecheck # if scripted cargo check # Rust go vet ./... # Go # lint — one of: pnpm lint eslint . cargo clippy ruff check . # test — one of: pnpm test pytest cargo test go test ./...
If any check fails: fix and restart the loop. Don't proceed to step 2 with broken checks.
git diff # working-tree changes git diff HEAD~N..HEAD # if reviewing a series of past commits
For each changed file, look critically for:
Fix what you find. Then restart from step 1.
Industry research identifies five predictable failure modes in agentic coding. After step 2's diff review, do an explicit pass against each:
For each mode flagged, fix and restart from step 1.
If the diff touches frontend page or component files and the change has visible output:
**Default approach (no Playwright needed):**
# Make sure your dev server is running first (e.g., pnpm dev, npm run dev, etc.) chromium --headless --no-sandbox \ --screenshot=/tmp/iter-$(date +%s).png \ --window-size=1440,900 \ http://localhost:<port>/<route>
(If your project doesn't have `chromium`, substitute `google-chrome --headless` or `chrome --headless` with the same flags.)
Then read the screenshot:
Read /tmp/iter-*.png
Check against:
**If you need interaction** (click, fill, observe modal): use Playwright MCP. If MCP fails with "chrome not found", configure it to use your installed Chromium binary by adding `"--executable-path", "/path/to/chromium"` to args in the Playwright `.mcp.json`. Don't fight the MCP — fix it once, then use it.
Stop the loop when **all** are true:
**Hard cap: 5 iterations.** If you're still finding issues at iteration 5, the original plan was wrong — stop and ask the user. Don't iterate forever.
A TDD-driven iterative feedback loop for software development with Claude Code. 16 cohesive skills + 2 custom subagents walk an idea from brainstorm through implementation, with checkpoints throughout where you stay in control.
Clarify intent, propose 2-3 approaches, embedded grill to stress-test the chosen path. Use before any creative work — new…
Orchestrate parallel implementation with coder/overseer pairs. Coders implement decomposed tasks using evanflow-tdd; overseers…
Manage long-session context to prevent drift and degradation. Strategies for proactive summarization, branch isolation, and…
Root-cause discipline for bugs, test failures, and unexpected behavior. Embedded grill on the hypothesis before writing fix code.…
Design a module's interface using parallel sub-agents producing radically different designs ("design it twice"). Compare on…
Execute a written implementation plan task-by-task with inline verification. Stop and ask on blockers. No forced sub-skill…