ln-21-system-design-ba…
Defines measurable architecture drivers and constraints before system design; edits architecture docs only.
Audits existing tests for risk coverage, reliable oracles and maintenance value; does not edit tests.
$ npx -y skills add levnikolaevich/claude-code-skills --skill ln-55-test-suite-auditor --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/ln-55-test-suite-auditorContext preview
The summary Claude sees to decide when to auto-load this skill.
Audits existing tests for risk coverage, reliable oracles and maintenance value; does not edit tests.
name: ln-55-test-suite-auditor description: "Audits existing tests for risk coverage, reliable oracles and maintenance value; does not edit tests."
**Goal:** Audit the test portfolio as a read-only lifecycle and confidence system. Determine which important failures it detects, which evidence is untrustworthy or obsolete, and which additions, changes, consolidations, retirements, or explicit omissions produce the smallest sustainable portfolio.
**Execution contract:** The checklist defines completion. Track each item internally as `PENDING`, `PROVEN` with evidence, `CLEARED` with evidence its condition is absent, or `UNPROVEN` with a gap; reading, delegation, or tool failure is not proof. Reconcile after each section. Before returning, resolve all `PENDING`, count only `PROVEN` and `CLEARED`, and apply verdict and approval rules to every gap. Preserve intent, scope, and existing authorization. Continue authorized work; ask only for consequential unresolved choices or required external approval. Scale depth to material risk without skipping checks. Preserve dependency and safety order; otherwise choose an appropriate verification method. Accept equivalent user or repository evidence; no other skill, named artifact, or complete lifecycle is required. Preserve source requirement and decision IDs. Bind reused evidence to relevant source versions, dirty changes, configuration, and environment; invalidate only affected claims. On continuation, reconcile task, authorization, current state, and unresolved evidence. For long work, return a compact continuation record or update an already authorized artifact; read-only skills do not persist it. Distinguish artifact readiness, verified behavior, and external-action authority. Prepare authorized work before required approval. If blocked by an instruction, cite its exact source and unresolved boundary; do not invent approval gates from caution.
| Need | Preferred tool | Use it when | Fallback | |---|---|---|---| | Source and test inventory | Native file listing, search, manifests, and test configuration | Mapping domains, test types, runners, fixtures, and generated areas | Repository tree plus known test entrypoints | | Test-to-code relationships | Language server or host-native code intelligence | Mapping units, callers, implementations, routes, and test targets | Naming and path search verified by direct reads | | Execution and trust | Repository-defined test commands through the shell | Establishing pass/fail state, timing, order dependence, or reproducibility | Inspect CI results and configuration; mark execution unavailable | | Coverage and missed behavior | Existing coverage tools and reports | Coverage data is configured and comparable to source scope | Static behavior-to-test mapping; never invent percentages | | Flake and isolation evidence | Repeated, shuffled, parallel, or seed-controlled runs supported by the repository | A test is suspected of order, time, randomness, or shared-state dependence | History, CI logs, and code-path evidence | | Assertion strength | Test reads, failure output, and configured mutation testing | Determining whether tests fail for meaningful behavioral defects | Counterfactual reasoning tied to specific assertions | | Framework semantics | Official test-runner or framework documentation | A finding depends on lifecycle, fixtures, retries, isolation, or mocking behavior | Primary-source web research; otherwise mark `UNVERIFIED` |
Run only safe test and diagnostic commands. Do not rewrite snapshots, update golden files, regenerate fixtures, or accept changed output during the audit.
Give your AI agent a clear finish line. You ask for a fix and get a new abstraction. A review lists generic advice. The agent says “done,” but you still have to work out what it checked.
Repo: levnikolaevich/claude-code-skills
Defines measurable architecture drivers and constraints before system design; edits architecture docs only.
Documents current architecture from implementation evidence; does not propose a target or audit fitness.
Designs target system boundaries, contracts and tradeoffs from requirements; does not plan tasks or implement.
Records one architecture decision with alternatives, consequences and status; does not design the whole system.
Creates evidence-backed current or target architecture diagrams; not UI design.
Plans architecture migrations with compatibility, data safety, rollout and recovery; does not execute them.