sanuu7/androidharness/test-driven-development
Claude Code and agent skill by sanuu7/androidharness
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
New behavior or a bug with a repro. Test first, then the fix.
Install
npx vskill@latest install sanuu7/androidharness/test-driven-developmentSKILL.md
Test-driven development
Write a failing test that pins the behavior, then the smallest code that makes it pass.
When to use
- New behavior the user asked for
- A bug you can express as input -> expected output
- You are about to change logic that already has a test hook
When not to use
- Pure visual / HTML mockups (use sketch or web-design)
- One-off scripts with no test runner
Procedure
- Find how this project runs tests (
grepfor test,./gradlew test, pytest). Check: one command. - Write the failing test with
write_fileoredit_file. Check: run it, it fails for the right reason. - Write the production change. Check: that test now passes.
- Refactor only after green. Check: tests still pass.
- If the suite is huge, run the new test plus the nearest related ones.
Pitfalls
- A test that never failed proves nothing.
- Do not mock the unit under test.
- Android: prefer JVM unit tests under
app/src/testwhen the logic does not need a device.
Verification
The new test failed once, then passed, and you kept it.
Security
- Security scanPassed, 90 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 repositoryCheckingapp/src/main/assets/skills/test-driven-development/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
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/sanuu7/androidharness/test-driven-development)