~/CLIRank
Workflow

Test-Driven Development Workflow

Write tests first, then implement - with Claude Code running the red-green-refactor loop.

Install
Document in CLAUDE.md - see TDD guide

About

A structured TDD workflow for Claude Code. First, write failing tests that define the expected behaviour. Then implement the minimum code to make tests pass. Finally, refactor while keeping tests green. Claude Code excels at this because it can run tests after every change and iterate quickly. Configure the test-on-change hook for automatic feedback.

Tags

tddtestingred-green-refactorquality

Score Breakdown

CLI Score Breakdown10/11
Official SDK on npm/pip+2
Env var authentication (no browser OAuth)+2
Works in headless/CI environments+2
CLI tool available+1
JSON response for piping/parsing+1
Docs have curl/CLI examples+1
Reasonable rate limits for scripted use+1
Machine-readable pricing (md/JSON/static)0
Quality Score Breakdown
npm weekly downloads0
GitHub stars30k
Days since last release9d
Issue close ratio88%
TypeScript typesYes
Docs qualitygood
Breaking changesrare

Scores

CLI
10
Quality
9
AuthorCommunity
Weekly installs0
Last updated3/22/2026

Related

Workflow
0/wk

Code Review Loop Workflow

Iterative code review where Claude reviews, you approve, and changes are applied.

CLI
10
Quality
8
Document in CLAUDE.md - see review guide
HookVerified
0/wk

Test on Change Hook

Automatically run relevant tests when source files change.

CLI
9
Quality
8
Add to .claude/hooks/post-edit.sh
Workflow
0/wk

Subagent Delegation Workflow

Use subagents to parallelise research and keep the main context clean.

CLI
10
Quality
8
Document in CLAUDE.md - see workflow guide