搜索

PythonReactSEOPDF
GitHub Skill

type-contract-auditor

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

claushaas☆ 2 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

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.

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!