在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用check-invariants
星标4
分支2
更新时间2026年7月7日 02:53
Spot-check that code matches ADR invariants
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Spot-check that code matches ADR invariants
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Audit documentation for drift, dead links, and stale content
Assess alignment with the current roadmap phase
Analyze test quality and coverage patterns
Inventory technical debt across the codebase
Check code pattern consistency across the codebase
Run all project health checks and produce a unified report
| name | check-invariants |
| description | Spot-check that code matches ADR invariants |
| user_invocable | true |
| context | fork |
| agent | Explore |
Verify that the codebase honors the architectural decisions documented in docs/decisions/. Each ADR establishes invariants that must hold.
gedcom.Date struct has fields for partial dates (Day, Month, Year can be zero)ParseDate() preserves the original stringDocument.XRefMap exists for O(1) lookupGetIndividual(), GetFamily() etc. use the mapRecord has both a typed Data field and raw Children/Tags fieldpanic( in non-test library code — should be zero occurrencesfmt.Errorf with %w for wrapping## ADR Invariant Check
### Summary
| ADR | Status | Notes |
|-----|--------|-------|
| 001 - Custom Date | ... | ... |
| 002 - XRef Strings | ... | ... |
| 003 - Dual Storage | ... | ... |
| 004 - Encoding Cascade | ... | ... |
| 005 - Version Detection | ... | ... |
| 006 - Line Continuation | ... | ... |
| 007 - Error Transparency | ... | ... |
| 008 - Validator Architecture | ... | ... |
### Details
[Findings per ADR with code references]
### Violations Found
[Any invariant violations, with file:line references]