audit-tests

Audit Go/Svelte test suites for failure-mode gaps in event sourcing, GEDCOM, and API contracts.

4|1|Updated Dec 7, 2025
One-click install
npx skills add https://github.com/cacack/my-family --skill audit-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: audit-tests
Source: https://github.com/cacack/my-family/tree/main/.claude/skills/audit-tests
Command: npx skills add https://github.com/cacack/my-family --skill audit-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Many test suites report high coverage but still miss real failure modes such as event replay bugs, data loss during import/export, fragile assertions, or API contract regressions; this Skill systematically evaluates test quality to surface those gaps and risks before they reach production.

Core Features & Use Cases

  • Event Sourcing Coverage: Validate event serialization/deserialization tests, aggregate replay scenarios, projection rebuilds, and event version migrations.
  • GEDCOM Round-Trip Validation: Check import → export → re-import equivalence, Unicode and non-standard tag handling, and data loss detection for GEDCOM processing.
  • Domain Edge Cases & API Contracts: Identify missing boundary tests for validations, relationship graphs, date edge cases, and ensure API responses and pagination conform to OpenAPI expectations across DB backends.
  • Cross-Feature Integration Scenarios: Verify lifecycle flows such as create → update → query → delete, import then query, and running tests against both SQLite and PostgreSQL.
  • Actionable Output: Produce a scored audit report, prioritized findings with evidence, issue-ready tickets, and manual verification steps.

Quick Start

Run a Test Quality Audit across the repository and produce the Scorecard, Top Findings, up to five issue-ready tickets, and manual verification steps as specified in the SKILL.md.

Frequently Asked Questions about audit-tests

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit test coverage for event sourcing replay bugs and projection rebuilds?

Auditing event sourcing test coverage involves systematically evaluating serialization/deserialization tests, aggregate replay scenarios, and projection rebuilds to identify real failure-mode gaps. This process surfaces brittle coverage and validates event version migrations before production.

How do I test GEDCOM import export equivalence to prevent data loss?

Testing GEDCOM import export equivalence requires checking import → export → re-import cycles to detect data loss. You validate Unicode and non-standard tag handling to ensure GEDCOM processing maintains data fidelity across complex genealogical structures.

Does this test audit process work with Go and Svelte repositories?

Yes, the test audit process works with Go and Svelte repositories by focusing on internal/ test packages, event store code, internal/gedcom and internal/domain modules, and API endpoint tests to find missing or brittle coverage in those specific structures.

How do I verify API contract validation and pagination across different database backends?

You verify API contract validation and pagination by checking API responses against OpenAPI expectations and confirming database parity across SQLite and PostgreSQL. This ensures API responses and pagination conform to specifications across both database backends.

Why do my integration tests report high coverage but still miss real world failures?

Integration tests report high coverage but miss real world failures because they often lack cross-feature lifecycle scenarios like create → update → query → delete. A systematic test audit identifies missing boundary tests, fragile assertions, and incomplete cross-feature integration flows.

What output do I get from a test quality audit?

From a test quality audit you get a scored audit report, prioritized findings with evidence, up to five issue-ready tickets, and manual verification steps. This actionable output surfaces real failure-mode risks hidden by high coverage metrics.