Back to list
claushaas

type-contract-auditor

by claushaas

2🍴 0📅 Jan 18, 2026

SKILL.md


name: type-contract-auditor description: Audit public TypeScript types against src/planning/spec-v0.3.md, flag mismatches, and enforce acceptance criteria (build, no circular imports).

Type Contract Auditor

Use this skill when asked to validate the public type contracts against src/planning/spec-v0.3.md or to report discrepancies.

Workflow

  1. Review the type list in src/planning/spec-v0.3.md and compare with src/types.
  2. Check for missing types, duplicate union members, or mismatched optionals.
  3. Verify supporting types like RawColor and OutputOptions align with spec notes.
  4. Flag acceptance criteria issues: build failure risk or circular imports.

Common checks

  • Duplicated union members (e.g., ColorState).
  • Optional fields that spec marks required (or vice versa).
  • Extra types are acceptable if non-breaking; call them out as deltas.

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon