wdk-review-tests

wdk-review-tests is a skill for Claude Code from tetherto/wdk-agent-skills. It costs 31 tokens per session (3,464 once invoked), scanned A, original, Apache-2.0.

A code-review guide for Wallet Development Kit test files. It checks how tests assert results, use mocks, stay isolated, measure coverage, and follow naming and structure rules.

In plain words
What is it for?
Use it to review WDK test suites for concrete assertions, mock boundaries, isolation, coverage, naming, and structure.
Why use it?
It finds tests that may pass without checking the actual expected result or that depend too much on other tests or real systems. Each issue includes the rule, file and line, offending code, and a suggested fix.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to review WDK test suites for concrete assertions, mock boundaries, isolation, coverage, naming, and structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tetherto/wdk-agent-skills/wdk-review-tests
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 tetherto/wdk-agent-skills --skill wdk-review-tests
Clone the repo
git clone --depth 1 https://github.com/tetherto/wdk-agent-skills

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 wdk-review-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/tetherto/wdk-agent-skills/wdk-review-tests/github.svg)](https://agentmods.dev/skills/tetherto/wdk-agent-skills/wdk-review-tests)
Your own site
<a href="https://agentmods.dev/skills/tetherto/wdk-agent-skills/wdk-review-tests"><img src="https://agentmods.dev/badge/skills/tetherto/wdk-agent-skills/wdk-review-tests/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 wdk-review-tests

Your own site · 80×15
<a href="https://agentmods.dev/skills/tetherto/wdk-agent-skills/wdk-review-tests"><img src="https://agentmods.dev/badge/skills/tetherto/wdk-agent-skills/wdk-review-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,464 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.00031 $0.03464
Opus 5 $0.00015 $0.01732
Sonnet 5 $0.00006 $0.00693
Haiku 4.5 $0.00003 $0.00346

Measured 7d ago against content hash d84ec64d3867, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

wdk-review-tests 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 7d 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.

skills/reviews/wdk-review-tests/SKILL.md · 338 lines

How it starts

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

WDK Test Suite Review

Review the test files at the provided path (or the current project's test directory if none given). Apply all rules below.

For each violation found, report:

  1. Rule violated (e.g., R1, R2, etc.)
  2. File and line
  3. The offending code
  4. Suggested fix with corrected code

Group findings by file. After all files are reviewed, provide a summary with total violation counts per rule.


WDK Testing Standards

You are reviewing test files for a WDK (Wallet Development Kit) module. Apply the rules below to identify violations and suggest fixes.

The rules are repository-agnostic. No WDK module is a "golden reference" — apply every rule to every module equally. If existing code conflicts with a rule, the code is the candidate for change, not the rule.


Rules

R1. Assert concrete values, never properties or types

Every assertion must compare against a known, pre-computed concrete value. Flag any assertion that checks a type, pattern, range, or mere existence.

Violation:

expect(typeof result).toBe('string')
expect(fee).toBeGreaterThan(0)
expect(result).toBeDefined()
expect(result).not.toBe(null)
expect(result).toMatch(/^0x[a-f0-9]+$/)

Correct:

expect(result).toBe(EXPECTED_HASH)
expect(fee).toBe(202_000n)

If the test mocks all external dependencies, the return value is deterministic — compute and hardcode it.

Exception: toBeUndefined() is acceptable — it asserts a concrete value (undefined) and is functionally equivalent to toBe(undefined). Do not flag it.


R2. Verify mock calls with exact arguments

Every mocked dependency must be asserted with toHaveBeenCalledWith using exact expected arguments. toHaveBeenCalled (without arguments) is insufficient. Limit expect.any(), expect.objectContaining(), and expect.arrayContaining() to cases where the concrete value genuinely cannot be determined.

Violation:

expect(mockClient.getBalance).toHaveBeenCalled()

Read the full file on GitHub · 338 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. 7d ago Changed · +31 lines d84ec64d3867
  2. 11d ago First seen · 307 lines · 31 tokens per session scan A 95fbf5d59678

Subscribe to this mod's changes

wdk-review-tests is a skill published in the GitHub repository tetherto/wdk-agent-skills (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 31 tokens to every session and 3,464 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.

Related

Other skills, from other repositories

adversarial-reviewer

Adversarial code review that assumes bugs exist and hunts for them. Use when asked to review code, find bugs, audit for correctness, stress-test a PR, or when someone says "tear this apart" or "what's wrong with this". Give no benefit of the doubt — every line is guilty until proven innocent.

emdash-cms/emdash · 71 tokens

adk-go-self-review

Review an ADK Go change the way a maintainer will — a fresh-context pass over the whole diff, five lenses (correctness and tests, scope, simplicity, style, adk-python parity), and the mutation check that proves your tests pin the change. Use before opening a PR, before any later push that changes code, and when asked…

google/adk-go · 87 tokens

go-testing

Trigger: Go tests, go test coverage, Bubbletea teatest, golden files. Apply focused Go testing patterns.

Gentleman-Programming/gentle-ai · 26 tokens

semgrep-rule-variant-creator

Creates language variants of existing Semgrep rules. Use when porting a Semgrep rule to specified target languages. Takes an existing rule and target languages as input, produces independent rule+test directories for each language.

waybarrios/opencode-power-pack · 50 tokens

brooks-sweep

Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase. Safe changes are auto-applied; risky changes are confirmed before execution. Drawing on twelve classic engineering books. Triggers when: user…

hyhmrright/brooks-lint · 178 tokens

include-test-files-that-assert-on-behavior-being-changed-in-decl

When delegating a task affected by this skill, include.

ZaxbyHub/opencode-swarm · 29 tokens