nw-tdd-cross-language

nw-tdd-cross-language is a skill for Claude Code from nWave-ai/nWave. It costs 38 tokens per session (2,223 once invoked), scanned A, original, MIT.

A guide for applying state-delta and property-based testing in languages other than Python. Property-based testing checks general rules against many generated inputs instead of relying only on hand-written examples; a state delta describes how an operation changes state.

In plain words
What is it for?
Use it when applying this testing model in TypeScript, Java, or another supported language, including choosing a test framework and property-testing library.
Why use it?
It removes the need to recreate the testing approach from scratch when a project uses another language. It explains how to adapt the pattern with that language's test and property-testing libraries.

Skill for Claude Code

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

Good fit Use it when applying this testing model in TypeScript, Java, or another supported language, including choosing a test framework and property-testing library.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nwave-ai/nwave/nw-tdd-cross-language
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-cross-language
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-cross-language

README.md
[![agentmods](https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-tdd-cross-language/github.svg)](https://agentmods.dev/skills/nwave-ai/nwave/nw-tdd-cross-language)
Your own site
<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-tdd-cross-language"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-tdd-cross-language/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-cross-language

Your own site · 80×15
<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-tdd-cross-language"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-tdd-cross-language.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,223 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00038 $0.02223
Opus 5.5 $0.00015 $0.00889
Sonnet 5.5 $0.00008 $0.00445
Haiku 4.5 $0.00004 $0.00222

Measured 1mo ago against content hash 83ab990a3962, 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-cross-language 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 1mo 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-cross-language/SKILL.md · 249 lines

How it starts

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

Cross-Language State-Delta Porting Guide

This optional implementation guide is not a requirement to port an nWave API. Native discovery and applicability live in nw-test-design-mandates; its layered-mechanics module owns observation laws. Use incumbent native assertions, generators, shrinking/replay and helpers first. Matching nw-pbt-* guidance loads on need; unlisted languages use their real native tooling, not an EVIDENCE_GAP merely because no adapter is shipped. Never borrow Python as a substitute. The recipes below illustrate one optional helper implementation.

Unlisted languages (C, C++, OCaml, etc.) use their own native test, generator, shrinker and replay libraries; no Python-derived shim is imposed.


Canonical Python reference

Illustrative Python API contract (semantics reference only; not a required API, file path or predicate count; see nwave_ai.state_delta.matcher):

def assert_state_delta(
    before: Mapping[str, Any],
    after: Mapping[str, Any],
    universe: set[str],
    expected: Mapping[str, Predicate],
    *,
    strict: bool = False,
) -> None: ...

Predicate = Callable[[Any, Any], bool]

# Illustrative predicate factories (not a required set or count):
def prepended_with(prefix: str, sep: str = ":") -> Predicate: ...
def appended_with(suffix: str, sep: str = ":") -> Predicate: ...
def unchanged() -> Predicate: ...
def set_to(value: Any) -> Predicate: ...
def containing(substring: str) -> Predicate: ...
def normalized_to(normalizer: Callable[[Any], Any]) -> Predicate: ...
def idempotent_after(prefix: str, sep: str = ":") -> Predicate: ...
def legacy_healed(detector: Callable[[Any], bool], healed_check: Callable[[Any], bool]) -> Predicate: ...

Semantics:

  • For each key in universe:
    • If in expected: predicate must return True
    • If NOT in expected: implicit-unchanged (before[k] == after[k])
  • strict=True: keys in (before|after) - universe raise kind=strict_universe_mismatch
  • Multi-violation: ALL violations collected, ONE AssertionError raised

Read the full file on GitHub · 249 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. 1mo ago Changed · -20 lines 83ab990a3962
  2. 2mo ago First seen · 269 lines · 38 tokens per session scan A 3091d8a09ca9

Subscribe to this mod's changes

nw-tdd-cross-language is a skill published in the GitHub repository nWave-ai/nWave (638 stars, last pushed 14d ago), licensed MIT. It adds 38 tokens to every session and 2,223 once invoked, about $0.0002 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-09-06.

Related

nw-tdd-cross-language compared with skills from other repositories

nw-tdd-cross-language next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nw-tdd-cross-languagenWave-ai/nWaveSkill63814d agoMITA38Claude Code
test-driven-developmenta5c-ai/babysitterSkill1.9k1mo agoMITA35Claude Code
test-driven-developmentdamianvtran/local-operatorSkill235todayMITA48Claude Code, Codex
speq-implementmarconae/speq-skillSkill541mo agoMITA57Claude Code
hk-rcadeepklarity/harness-kitSkill10823d agoMITA115Claude Code
tddInsajin/autopus-adkSkill1112mo agoMITA11Claude Code, Codex
sup-codingchinkan/RustFoxSkill16todayMITA25Claude Code, Codex