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/alexmond/jhelm/tdd-guidenpx skills add alexmond/jhelm --skill tdd-guidegit clone --depth 1 https://github.com/alexmond/jhelmWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/alexmond/jhelm/tdd-guide)<a href="https://agentmods.dev/skills/alexmond/jhelm/tdd-guide"><img src="https://agentmods.dev/badge/skills/alexmond/jhelm/tdd-guide.svg" alt="Measured on agentmods" height="20"></a>What 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.00056 | $0.01542 |
| Opus 5 | $0.00028 | $0.00771 |
| Sonnet 5 | $0.00011 | $0.00308 |
| Haiku 4.5 | $0.00006 | $0.00154 |
Grade A, and why
tdd-guide 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 4d 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 — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TDD Guide
Test-driven development skill for generating tests, analyzing coverage, and guiding red-green-refactor workflows. Adapted from alirezarezvani/claude-skills for JUnit 5 and the jhelm project.
Workflows
Generate Tests from Code
- Provide source code (Java class or method)
- Target framework: JUnit 5 (
org.junit.jupiter.api) - Follow jhelm conventions:
- Use
Assertions(not AssertJ) - Use
@TempDirfor temporary files - Use
@ParameterizedTestwith@CsvSourceor@MethodSourceto avoid duplication - Prefer real test data over Mockito mocks
- Mockito acceptable only for HTTP (
CloseableHttpClient) and Kubernetes (KubeService)
- Use
- Validation: Tests compile and cover happy path, error cases, edge cases
Analyze Coverage Gaps
- Run JaCoCo:
./mvnw test(generatestarget/site/jacoco/jacoco.xml) - Use
/jacocoskill to analyze coverage by module - Prioritize gaps:
- P0: 0% covered classes with many lines (high impact)
- P1: Partially covered classes with uncovered branches
- P2: Low-risk utility classes
- Generate tests for P0 items first
- Target: 80% minimum coverage per module
TDD New Feature
- Write failing test first (RED)
- Run:
./mvnw test -Dtest=NewFeatureTest -pl <module> - Implement minimal code to pass (GREEN)
- Run test again to confirm pass
- Refactor while keeping tests green (REFACTOR)
- Run
./mvnw validateto verify formatting + PMD + checkstyle
JUnit 5 Patterns for jhelm
Basic Test
@Test
void testChartLoadingFromDirectory() throws Exception {
Chart chart = ChartLoader.load(Path.of("src/test/resources/test-charts/minimal"));
assertEquals("minimal", chart.getMetadata().getName());
assertNotNull(chart.getValues());
}
Parameterized Test (avoid duplication)
@ParameterizedTest
@CsvSource(delimiter = '|', value = {
"upper | hello | HELLO",
"lower | HELLO | hello",
"title | hello world | Hello World"
})
void testStringFunctions(String func, String input, String expected)
throws IOException, TemplateException {
assertEquals(expected, exec("{{ " + func + " \"" + input + "\" }}"));
}
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.
- 4d ago First seen · 207 lines · 56 tokens per session scan A fbae3628339b
tdd-guide is a skill published in the GitHub repository alexmond/jhelm (4 stars, last pushed 11d ago), licensed Apache-2.0. It adds 56 tokens to every session and 1,542 once invoked, about $0.0003 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
engram-testing-coverage
TDD and coverage standards for Engram. Trigger: When implementing behavior changes in any package.
tdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
conductor-implement
Execute tasks from a track's implementation plan following TDD workflow.
mobiai-mobile-tdd
You MUST use this before writing any implementation code for a mobile feature, bug fix, refactor, or behavior change. Tests come before implementation — no exceptions.
iterative-development
TDD iteration loops using Claude Code Stop hooks - runs tests after each response, feeds failures back automatically.
python
Python development with ruff, mypy, pytest - TDD and type safety.