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
Ask HN: How do you get into a flow state when using AI to code?
Claude 같은 에이전트 기반 AI 코딩 도구가 보편화되면서 개발자들이 기존의 몰입 상태(flow state)를 잃어버리고 있다는 문제를 공유하고, 커뮤니티에서 각자의 대처 방법을 논의한 스레드.
Claude Desktop spawns 1.8 GB Hyper-V VM on every launch, even for chat-only use
Claude Desktop Windows 앱이 사용자가 AI 코드 실행 기능(Cowork)을 쓰지 않아도 실행 시마다 자동으로 1.8GB짜리 Hyper-V 가상머신을 생성해 메모리를 잡아먹는 버그가 보고됐다.
Apache Burr: Build reliable AI agents and applications
LangChain 같은 복잡한 프레임워크에 지친 개발자들을 위해 순수 Python으로 AI 에이전트와 상태 머신을 만들 수 있는 Apache 인큐베이팅 프레임워크다. 상태 관리, 관측성, Human-in-the-Loop 등을 DSL 없이 제공한다는 점이 특징이다.
A €0.01 bank transfer could compromise a banking AI agent
유럽 2위 디지털 뱅크 Bunq의 AI 어시스턴트에서 발견된 간접 프롬프트 인젝션 취약점으로, 단돈 €0.02 송금만으로 사용자에게 피싱 공격을 자동 실행할 수 있었다.
Grit: Rewriting Git in Rust with agents
GitButler 팀이 AI 에이전트 스웜을 활용해 Git을 Rust로 처음부터 재작성한 Grit 프로젝트를 공개했는데, GPL 라이선스 문제와 실용성 논란이 커뮤니티에서 크게 일고 있다.
Show HN: Claw Patrol, a security firewall for agents
AI 에이전트가 실행하는 SQL, kubectl, HTTP 요청을 프록시에서 가로채 HCL 규칙으로 허용/차단/사람 승인 요청을 할 수 있는 오픈소스 보안 게이트웨이. 에이전트가 프로덕션 환경에서 위험한 작업을 실행하기 전에 제어할 수 있어 중요하다.