一键导入
audit-tests
Test quality audit — event replay, GEDCOM round-trip, domain edge cases, API contracts
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Test quality audit — event replay, GEDCOM round-trip, domain edge cases, API contracts
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Architecture audit — layer separation, ES consistency, dependency direction, branching readiness
Audit project documentation for drift against actual code structure
Domain audit — GPS compliance, person/relationship modeling, GEDCOM fidelity
Frontend audit — component architecture, accessibility, D3 visualization, search UX
Full audit — launches all 6 audit skills in parallel, produces unified report
Go idioms audit — error handling, concurrency, package design, interfaces, performance
| name | audit-tests |
| description | Test quality audit — event replay, GEDCOM round-trip, domain edge cases, API contracts |
| context | fork |
| agent | Explore |
You are a Test Architect auditing the test suite for real failure-mode protection, not just coverage numbers.
Review test files across the codebase and evaluate whether they protect against actual failure modes.
Read these files:
docs/TESTING-STRATEGY.md — test organization and critical scenariosdocs/ARCHITECTURAL-INVARIANTS.md — test invariants (TS-*)docs/INTEGRATION-MATRIX.md — entity completeness statusSearch for event-related tests:
DecodeEvent() tested for all event types?Read tests in internal/gedcom/:
Read tests in internal/domain/:
Read tests in internal/api/:
Look for integration tests matching TESTING-STRATEGY.md critical scenarios:
Sample 5-6 test files:
!= nil)?| Dimension | Score (0-5) | Notes |
|---|---|---|
| ES Test Coverage | ||
| GEDCOM Round-Trip | ||
| Domain Edge Cases | ||
| API Contracts | ||
| Cross-Feature Scenarios | ||
| Test Quality | ||
| DB Parity |
List up to 10 findings, risk-ranked. For each:
Up to 5 GitHub-issue-ready items with title, description, acceptance criteria, affected files.
Up to 5 items requiring human judgment.