wdk-review-dts

wdk-review-dts is a skill for Claude Code from tetherto/wdk-agent-skills. It costs 36 tokens per session (1,069 once invoked), scanned A, original, Apache-2.0.

A review guide for TypeScript declaration files, which describe the types and public API of a JavaScript or TypeScript module.

In plain words
What is it for?
It is for checking WDK module .d.ts files, including exports, interfaces, abstract classes, internal types, and manual updates after API changes.
Why use it?
It helps find inaccurate, missing, or improperly exposed type declarations without regenerating every declaration file.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit It is for checking WDK module .d.ts files, including exports, interfaces, abstract classes, internal types, and manual updates after API changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tetherto/wdk-agent-skills/wdk-review-dts
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-dts
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-dts

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tetherto/wdk-agent-skills/wdk-review-dts"><img src="https://agentmods.dev/badge/skills/tetherto/wdk-agent-skills/wdk-review-dts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,069 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.00036 $0.01069
Opus 5 $0.00018 $0.00535
Sonnet 5 $0.00007 $0.00214
Haiku 4.5 $0.00004 $0.00107

Measured 8d ago against content hash 80a9163dd9cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

wdk-review-dts 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 8d 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-dts/SKILL.md · 96 lines

How it starts

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

WDK .d.ts Maintenance Review

You are reviewing the generated .d.ts type definitions of a WDK module. Apply the rules below. The rules are repository-agnostic — no WDK module is a "golden reference"; apply every rule to every module equally, and if existing declarations conflict with a rule, the declaration is the candidate for change, not the rule. Type accuracy itself (runtime types matching the .d.ts) is rule R23 in the companion skill wdk-review-jsdocs.

For each violation found, report:

  1. Rule violated (e.g., TD1, TD2, 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.


Type Definition Conventions

TD1. Update .d.ts manually after API changes — do not run npm run build:types

After modifying public JSDoc, do not run npm run build:types (tsc). Instead, hand-edit the affected .d.ts files so they reflect the JSDoc/type changes, and commit the updated type files alongside the source changes. Only touch the declarations that actually changed.


TD2. Update types/index.d.ts when adding new public types

Every new @typedef that's part of the public API must appear in types/index.d.ts. Add the corresponding declaration manually (see TD1).


TD3. Export new types from index.js

New public types must be re-exported from index.js so consumers can import them.

// index.js
export { default as WalletAccountBtc } from './src/wallet-account-btc.js'
/** @typedef {import('./src/wallet-account-btc.js').GetBalanceResult} GetBalanceResult */

TD4. Re-export parent module types from child modules

When a module extends another WDK module's public types, re-export those types from the extending module's index.js so consumers don't need a direct dependency on the parent.


TD5. Export custom error types from both index.js and types/

Read the full file on GitHub · 96 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. 8d ago First seen · 96 lines · 36 tokens per session scan A 80a9163dd9cd

Subscribe to this mod's changes

wdk-review-dts is a skill published in the GitHub repository tetherto/wdk-agent-skills (3 stars, last pushed 2d ago), licensed Apache-2.0. It adds 36 tokens to every session and 1,069 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-09-04.

Related

Other skills, from other repositories

no-bare-casts

Writing as in TypeScript or TSX production code, modifying a file that contains a bare as cast, silencing a type error with a cast, encountering as unknown as, or reviewing a cast site.

prisma/orm · 52 tokens

coding-standards

Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.

hashgraph-online/awesome-codex-plugins · 28 tokens

splitting-oversized-modules

Split an oversized Python module (a thousand-plus-line logic.py, models.py, api.py, or its test file) into a package of one module per concern, mechanically and provably without changing behavior. Use on a request to split / break up / decompose a god module or move functions out of one, once a human has agreed to…

PostHog/posthog · 197 tokens

plankton-code-quality

Write-time code quality enforcement using Plankton — auto-formatting, linting, and Claude-powered fixes on every file edit via hooks.

loulanyue/awesome-claude-notes · 34 tokens

typescript-style-guide

Apply, review, and explain the opinionated conventions in the TypeScript Style Guide. Use automatically only when TypeScript conventions are part of the requested task, including type modelling, discriminated unions, function APIs, variables and state, naming, source organization, React props, component APIs, state…

mkosir/typescript-style-guide · 79 tokens

architecture-audit

Systematic architecture audit and refactoring methodology for Rust + TypeScript codebases. Use when performing refactoring, cleanup, unification, code review, dead code removal, module reorganization, or tech debt elimination. Ensures no naming confusion, semantic overloading, hidden defaults, duplicate logic, or…

org2AI/ORG2 · 70 tokens