Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/rabee-elkholy/android-harness-kit/test-driven-developmentnpx skills add rabee-elkholy/android-harness-kit --skill test-driven-developmentgit clone --depth 1 https://github.com/rabee-elkholy/android-harness-kitWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00047 | $0.00572 |
| Opus 5 | $0.00023 | $0.00286 |
| Sonnet 5 | $0.00009 | $0.00114 |
| Haiku 4.5 | $0.00005 | $0.00057 |
Grade A, and why
test-driven-development scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Test-Driven Development (TDD) Skill
1. Core Principle: Red-Green-Refactor
Production code is only written in response to a failing test that defines its requirements or reproduces a defect.
2. Four-Phase TDD Protocol
Phase 1: RED (Write the Failing Test)
- Author a concise, focused unit test in
src/test/java/.../*Test.kt. - Test names must clearly describe the scenario and expected outcome (e.g.
loginViewModel_invalidPassword_emitsValidationError()). - Capture both happy paths and boundary/error cases.
Phase 2: PROVE FAILURE (Empirical Verification)
- Execute the targeted unit test task:
python .agents/scripts/run_gradle_task.py :app:testDebugUnitTest --tests "com.package.FeatureTest.testName" - Verify that the test fails for the expected assertion reason (not due to a compilation failure or configuration error).
Phase 3: GREEN (Minimal Implementation)
- Write the minimal amount of production code required to make the failing test pass.
- Re-run the targeted test to verify
BUILD SUCCESSFULand test pass.
Phase 4: REFACTOR & HARDEN
- Improve code readability, remove duplication, and extract reusable helpers.
- Ensure strict adherence to Shift-Left Quality Invariants:
- Single-source
StateFlowunidirectional data flow. - Zero inline FQCNs.
- Zero synchronous I/O on
Dispatchers.Main. - Proper Coroutine cancellation and dispatcher handling (
StandardTestDispatcherwithadvanceUntilIdle()).
- Single-source
3. Test Quality Invariants (Mandatory for Pre-Review Gate)
- Assertion Depth: Every
@Testmethod must have at least $\ge 2$ meaningful assertions (assertEquals,assertTrue,assertNull). Trivial checks (assertTrue(true)) are strictly prohibited. - Coroutines & Turbine: Use
runTestwithStandardTestDispatcherorapp.cash.turbine:turbinefor testing Flows and Channels. - Mock Isolation: Use pure Fakes or explicit
coEvery/everydefinitions withrelaxed = falsefor critical domain assertions. Never leak mock state across tests; reset in@After. - Zero Placeholder Tests: Never commit empty test stubs or
TODO()test bodies.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 46 lines · 47 tokens per session scan A de138d0bd65a
test-driven-development is a skill published in the GitHub repository rabee-elkholy/android-harness-kit (3 stars, last pushed 2d ago), licensed MIT. It adds 47 tokens to every session and 572 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
ui-ux-pro-max
UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local…
design
Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini or Atlas Cloud AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG, Gemini 3.1 Pro), social…
ui-styling
Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns…
banner-design
Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with optional generated or supplied visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter/X, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist…
design-system
Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing/typography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.
brand
Brand voice, visual identity, messaging frameworks, asset management, brand consistency. Activate for branded content, tone of voice, marketing assets, brand compliance, style guides.