farooqarahim/grove/tdd
Claude Code and agent skill by farooqarahim/grove
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Test-Driven Development workflow for the Builder agent. Ensures code is written test-first with proper red-green-refactor cycles.
Install
npx vskill@latest install farooqarahim/grove/tddSKILL.md
The same SKILL.md was published earlier as farooqarahim/grove/tdd.
Test-Driven Development
Follow this cycle for every piece of new functionality:
The Red-Green-Refactor Cycle
1. Red — Write a Failing Test First
Before writing any implementation:
- Write a test that describes the expected behavior
- Run it to confirm it fails (for the right reason)
- The failure message should clearly state what's missing
2. Green — Write Minimal Code to Pass
- Write the simplest implementation that makes the test pass
- Do not add features the test doesn't require
- Do not optimize prematurely
- Run the test to confirm it passes
3. Refactor — Clean Up
- Remove duplication
- Improve naming
- Extract functions if needed
- Run tests again to confirm nothing broke
Rules
- Never write implementation before the test — the test defines the contract
- One behavior per test — test names should read like specifications
- Test error paths too — invalid input, missing data, network failures
- Tests must be independent — no shared mutable state between tests
- Tests must be fast — mock external services, use in-memory databases
Test Structure
When to Skip TDD
- Exploratory/prototype code (but add tests before merging)
- Trivial getters/setters
- UI layout code (use visual testing instead)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/tdd/SKILL.md
Popularity
- Repository stars
- 13
- Repository forks
- 1
- 7-day trend score
- 13
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 26 Apr 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/farooqarahim/grove/tdd)