wdk-review-dts

Installation
SKILL.md

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.

Installs
3
GitHub Stars
3
First Seen
10 days ago
wdk-review-dts — tetherto/wdk-agent-skills