nw-tdd-methodology-paradigm

nw-tdd-methodology-paradigm is a skill for Claude Code from nWave-ai/nWave. It costs 34 tokens per session (1,846 once invoked), scanned A, original, MIT.

A method for writing tests from the rules a program must obey. It combines normal examples with property-based testing, which checks broad input patterns, and real-boundary tests for storage, protocols, crashes, or races.

In plain words
What is it for?
Use it when writing unit, acceptance, integration, or end-to-end tests, especially when deciding between generated cases, fixed examples, state checks, and real-boundary tests.
Why use it?
It helps prevent tests that cover only a few hand-picked cases or pass without checking meaningful behavior. It also separates simple checks from tests that need real system components.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it when writing unit, acceptance, integration, or end-to-end tests, especially when deciding between generated cases, fixed examples, state checks, and real-boundary tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nwave-ai/nwave/nw-tdd-methodology-paradigm
Install

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.

Any agent
npx skills add nWave-ai/nWave --skill nw-tdd-methodology-paradigm
Clone the repo
git clone --depth 1 https://github.com/nWave-ai/nWave

Made for: Claude Code.

Wrote 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.

agentmods badge for nw-tdd-methodology-paradigm

README.md
[![agentmods](https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-tdd-methodology-paradigm/github.svg)](https://agentmods.dev/skills/nwave-ai/nwave/nw-tdd-methodology-paradigm)
Your own site
<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-tdd-methodology-paradigm"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-tdd-methodology-paradigm/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nw-tdd-methodology-paradigm

Your own site · 80×15
<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-tdd-methodology-paradigm"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-tdd-methodology-paradigm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,846 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.01846
Opus 5.5 $0.00014 $0.00738
Sonnet 5.5 $0.00007 $0.00369
Haiku 4.5 $0.00003 $0.00185

Measured 26d ago against content hash dcada6cc98af, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nw-tdd-methodology-paradigm 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 26d 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.

nWave/skills/nw-tdd-methodology-paradigm/SKILL.md · 158 lines

How it starts

The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Test-Writing Paradigm — Property-Based + State-Delta

Trigger: writing a unit or acceptance test — deciding native generation versus finite examples and public-state preservation observations.

Native, contract-driven test paradigm

The language/build discovery authority is nw-test-design-mandates' language convention frame. Its layered-mechanics module owns observation treatment; nw-property-based-testing owns non-vacuous generation and shrinking. Apply those rules rather than imposing a second methodology.

Contract Test treatment
Broad input, state or sequence law Native generative property with independent oracle, constructive branch coverage and reproducible shrinking/replay
Closed finite domain or singular observation Native parameterized examples or exhaustive finite check
Mutation of public state Observe promised changes and adjacent preservation, using sufficient native assertions/helpers
Real storage, protocol, crash or race Targeted real-boundary integration; synchronized checkpoints where ordering matters
Feature journey Identifiable end-to-end business walkthrough through production composition, retaining distinct failure observations

PBT does not require Hypothesis, a fixed number of generated examples, Gherkin, an nWave matcher, or a copied helper library. Reuse incumbent native facilities. Examples are not banned or a fallback needing a bypass comment. Conversely, finite examples cannot silently discharge a promised broad law.

Name the business stimulus, expected outcome and falsifier. Assert public outcomes, state, types and required fields; exact formatting or ordering is pinned only when the authority deliberately promises it. Equivalent JSON and permitted extra fields remain valid. Do not assert incidental private layout or mock call counts instead of the consumer's outcome.

Declared state-delta observations protect changed and preserved public state; they need not reproduce Python function signatures or capture all internal implementation state. Native records and assertions may express the same law. A PBT model cannot replace real persistence, synchronized fault/race evidence or the feature journey. Property quantity and predicted speed are not quality evidence; measure distribution/transitions, counterexamples and replay instead.

Read the full file on GitHub · 158 lines

Changes

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.

  1. 26d ago First seen · 158 lines · 34 tokens per session scan A dcada6cc98af

Subscribe to this mod's changes

nw-tdd-methodology-paradigm is a skill published in the GitHub repository nWave-ai/nWave (636 stars, last pushed 11d ago), licensed MIT. It adds 34 tokens to every session and 1,846 once invoked, about $0.0001 per session on Opus 5.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-11-04.

Related

nw-tdd-methodology-paradigm compared with skills from other repositories

nw-tdd-methodology-paradigm next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nw-tdd-methodology-paradigmnWave-ai/nWaveSkill63611d agoMITA34Claude Code
moai-runmodu-ai/moai-adkSkill1.3ktodayApache-2.0A13Claude Code
test-driven-developmenta5c-ai/babysitterSkill1.9k29d agoMITA35Claude Code
test-driven-developmentdamianvtran/local-operatorSkill232todayMITA48Claude Code, Codex
Pair Programmingruvnet/rufloSkill83ktodayMITA61Claude Code
speq-implementmarconae/speq-skillSkill541mo agoMITA57Claude Code
hk-rcadeepklarity/harness-kitSkill10820d agoMITA115Claude Code