EvanFlow – A TDD driven feedback loop for Claude Code
TL;DR Highlight
EvanFlow automates code brainstorming, TDD, and validation in Claude Code with 16 skills triggered by a single prompt.
Who Should Read
This tool suits Claude Code users wary of committing AI-generated code without thorough testing and review. It’s especially valuable for developers individually or in small teams who actively leverage AI agents while maintaining code discipline.
Core Mechanics
- EvanFlow installs with '/plugin marketplace add evanklem/evanflow' in the Claude Code marketplace and initiates a full loop with the command 'let's evanflow this'.
- The workflow proceeds in the order: brainstorming → plan → execution (vertical-slice TDD) → iteration → STOP, with human approval checkpoints between each stage. Git commits, staging, and integration are never automated.
- Vertical-slice TDD implements features from database to UI in isolated slices, and EvanFlow applies this at the test level, repeating a cycle of writing a failing test, minimal implementation, and the next test.
- Research indicates that approximately 62% of test assertions generated by LLMs are incorrect. Consequently, EvanFlow enforces TDD discipline more rigorously than implementation discipline.
- During brainstorming, it proposes 2-3 approaches while simultaneously performing 'Embedded Grilling' – asking questions like 'What breaks if the user does X?', 'How do we rollback?', and 'What are the explicit exclusions?' to cheaply identify design flaws.
- Iteration is hard-capped at 5 rounds, each including checks for dead code, naming, Deletion Tests, assertion accuracy, and 5 failure modes (hallucinations, scope creep, cascading errors, context loss, tool misuse). It also captures screenshots with headless Chromium if a UI exists.
- Plans with three or more independent units sharing types switch to a parallel coder/overseer orchestration mode. In this case, integration tests of touchpoints serve as a cohesion contract.
- It comprises 16 skills and 2 custom sub-agents, registered under the evanflow: namespace (e.g., /evanflow:evanflow-go). A git guardrail hook is also automatically activated upon plugin installation.
Evidence
- "Some commenters questioned the need for a separate tool given Claude Code’s existing TDD support, but the author clarified that the base agent doesn’t perform TDD ‘by default’. A commenter noted that the REFACTOR stage is missing from the core RED-GREEN-REFACTOR TDD cycle, arguing that Claude prioritizes moving to the next test rather than refactoring the recently passed one. Alternatives like tdd-guard, which uses hooks to block edits rather than prompting for TDD, were suggested to avoid context rot. A commenter reported interface breakage during merge in the parallel coder/overseer mode, suggesting failing tests in each branch and worktree isolation as solutions. Concerns about 'dumb zone' – where initial design context is lost during long agent loops – were raised, with suggestions that resetting at RED-GREEN-REFACTOR boundaries could mitigate this."
How to Apply
- "If Claude Code frequently outputs untested code or generates flawed assertions, try installing with '/plugin marketplace add evanklem/evanflow' and starting with 'let's evanflow this — I want to add X feature' to receive guidance through the brainstorming and TDD loop. For large features, leverage EvanFlow’s design approval, plan approval, and iterate checkpoints to maintain control. If prompt-based TDD suffers from context loss, consider EvanFlow alongside tdd-guard. For parallel development of three or more independent modules, use EvanFlow’s parallel coder/overseer mode, but prioritize touchpoint integration tests and git worktree isolation to prevent interface conflicts."
Code Example
# Install via Claude Code plugin marketplace (recommended)
/plugin marketplace add evanklem/evanflow
/plugin install evanflow@evanflow
# Use after restart
"Let's evanflow this — I want to add a small feature that does X."
# Or install with npx
npx skills add evanflow
# Skills are registered under the evanflow: namespace
/evanflow:evanflow-goTerminology
Related Papers
Show HN: ctx – Search the coding agent history already on your machine
Claude Code, Cursor, Codex 등 코딩 에이전트가 이전 세션의 논의·결정·실패 시도를 잊지 않도록 SQLite로 인덱싱해 재사용할 수 있게 해주는 오픈소스 CLI 도구다.
Micro-Agent: Beat Frontier Models with Collaboration Inside Model API
vLLM 팀이 단일 모델 API 호출 뒤에서 여러 모델이 협업하는 'Micro-Agent' 개념을 공개했습니다. 별도의 에이전트 코드 없이 라우터 레이어에서 모델 조합을 실행해 GPT-4급 결과를 더 저렴하게 낼 수 있다는 아이디어입니다.
Ornith-1.0: self-improving open-source models for agentic coding
Gemma 4와 Qwen 3.5를 기반으로 파인튜닝한 코딩 특화 오픈소스 모델로, RL(강화학습)을 통해 스캐폴드(에이전트 실행 구조)까지 함께 최적화하는 방식을 주장하지만, 커뮤니티에서는 벤치마크 과최적화에 불과하다는 의심을 받고 있다.
Entity Binding Failures in Tool-Augmented Agents
AI 에이전트가 올바른 도구를 선택해도 잘못된 대상에 실행하는 'Entity Binding 실패' 문제를 정의하고, 이를 막는 실행 정책을 평가한 논문.
Herdr: Agent multiplexer that lives in your terminal
여러 AI 코딩 에이전트(Claude, Codex 등)를 하나의 터미널에서 동시에 실행·관리할 수 있는 Rust 기반 오픈소스 툴로, tmux처럼 세션이 유지되고 SSH로 원격 접속도 가능해 멀티 에이전트 워크플로우를 크게 단순화해준다.
Ornith-1.0: Self-scaffolding LLMs for agentic coding
모델이 문제 풀이 전략(scaffold)을 직접 생성하고 개선하는 자기강화 학습 프레임워크를 적용한 오픈소스 코딩 특화 LLM으로, 9B 소형 모델부터 397B 대형 모델까지 라인업을 갖추고 SWE-Bench 등 주요 벤치마크에서 Claude Opus 4.7을 능가하는 성능을 보여줬다.