AGENT SKILL

test-audit

Invoke whenever writing, changing, reviewing, or sweeping tests. Authoring gate for new tests plus audit workflow for low-value, implementation-coupled, or duplicative tests and the test-only production seams they demand.

License 许可
MIT
最近更新
2026-11-13
Stars
★ 0
Forks
0

01 前言 Front Matter

name
test-audit
description
Invoke whenever writing, changing, reviewing, or sweeping tests. Authoring gate for new tests plus audit workflow for low-value, implementation-coupled, or duplicative tests and the test-only production seams they demand.

02 资源文件 3

03 SKILL.md 正文

Test Audit

Read tests-rules.md first: its Tests rules decide every test (both value gates, the exclusions, and independent sources for cases and expectations). This skill adds only what those rules leave open.

Unit of accounting. A parameterized declaration is one entry. Mark rows separately only when their decisions differ.

Red tests. In an audit without repair authority, a failing test that exposes a product defect stays red and is reported as a finding. The audit is complete when its findings are reported; repair and release are separate deliveries, named as incomplete, never a reason to hold the audit open. With repair authority, fix the defect at its owner in its own commit and re-run the test.

Sweeps. For one subsystem's whole test surface (a baseline SHA, lanes, ledger marks across many files), follow CAMPAIGN.md.

Report. Per test or row: retain, fix, consolidate, or delete (the campaign ledger marks R, F, C, D); the contract clause or defect it guards; for a consolidate or delete, the proof that survives without it. Before closing, name the owning test for every contract clause in scope; a clause with none is a finding, unless the Tests rules exclude testing it. Count fixed and skipped; a skipped item names what blocks it.

04 同仓库更多 Skills

Pzixel
Pzixel/agents-personal-skills

superpowers-writing-plans-psilon

Use whenever the user asks for a plan, a revised plan, or an approach before work starts ("plan", "produce the plan", "how would you do it"), and for work spanning 3+ stages, migrations or rollouts, or cross-session handoff. Sets the plan shape: short approach first, detailed plan only after approval, a reviewed plan before any code, a verified rolling horizon that details only the next risky milestone. Skip one-step answers. Never invent detail or mistake capability for exact-target applicability.

★ 0
Pzixel
Pzixel/agents-personal-skills

superpowers-verification-before-completion-psilon

Use before claiming completion when work affects production, security, data integrity, concurrency, migrations, external contracts, releases, or broad multi-component behavior, or when the user requests rigorous completion proof. Skip clear low-risk local edits. After the last relevant change, prove the exact outcome, target, and prerequisites with fresh evidence.

★ 0
Pzixel
Pzixel/agents-personal-skills

superpowers-requesting-code-review-psilon

Use for one independent review after a coherent implementation crosses security, data-integrity, concurrency, migration, external-contract, production, or multi-component risk, or on explicit request. Skip review after every task by default, and merely-complete, low-risk, mechanical, or no-value review. Review read-only and evidence-first before release or completion.

★ 0
Pzixel
Pzixel/agents-personal-skills

superpowers-receiving-code-review-psilon

Use for concrete user or external code-review feedback to assess, answer, or implement. Skip post-implementation review initiation. Verify diagnoses, facts, mechanisms, and exact-target prerequisites against current code and requirements; resolve consequential ambiguity and push back with evidence.

★ 0
Pzixel
Pzixel/agents-personal-skills

superpowers-dispatching-parallel-agents-psilon

Use after bounded scoping proves 2+ substantial workstreams have distinct deliverables, no sequential dependency, non-overlapping mutable state, and parallel work beats overhead. Skip SDD-plan tasks, coupled decisions, shared-path reconnaissance, related failures that may share a cause, trivial splits, overlapping writes, and automatic review. The primary owns integration; never infer independence from files, symptoms, labels, or free slots.

★ 0
Pzixel
Pzixel/agents-personal-skills

retro

Manual-only retrospective that turns bad decisions in past agent sessions into text decision tests, measures the current agent on them, and applies only the rule or harness changes that pass a pre-registered comparison with controls and a blind grader, then re-measures them in a fresh session. Runs only on explicit invocation.

★ 0