CE Test Quality Method
This skill is the ADR-030 integrator. It combines implementer and process architect responsibilities and must align with the test-quality-method docs and agent prompts.
Required references
docs/improvement/test-quality-method/README.md(canonical method + options)docs/improvement/test-quality-method/implementer.md(execution prompt)docs/improvement/test-quality-method/process_architect.md(workflow prompt)
Specialist skill to prompt mapping
ce-test-pruning-expert->docs/improvement/test-quality-method/pruner.mdce-test-creator->docs/improvement/test-quality-method/test_creator.mdce-test-audit->docs/improvement/test-quality-method/anti_pattern_auditor.mdce-code-quality-auditor->docs/improvement/test-quality-method/code_quality_auditor.mdce-deadcode-hunter->docs/improvement/test-quality-method/deadcode_hunter.mdce-devils-advocate->docs/improvement/test-quality-method/devils_advocate.md
Use this skill when
- Running end-to-end test quality remediation.
- Reconciling outputs from specialist skills into one execution plan.
- Sequencing over-testing reduction with safety checks.
Focus option handling
- Option A (Test-Focused): run coverage-context and redundancy analysis,
prioritize
ce-test-pruning-expert,ce-test-creator, andce-test-audit. - Option B (Code-Focused): run code-quality and dead-code loop, prioritize
ce-code-quality-auditorandce-deadcode-hunter; runce-test-auditonly for hard-gate checks. - Option C (Full Cycle): run Option A then Option B and reconcile combined coverage, redundancy, and maintainability tradeoffs before execution.
Specialist inputs
ce-test-pruning-expertce-deadcode-hunterce-test-creatorce-code-quality-auditorce-test-auditce-devils-advocate
Consolidation workflow
- Select focus option (
A,B, orC) fromREADME.mdand state it in the plan header. - Collect specialist reports from
reports/over_testing/. - Validate data freshness (
metadata.json, coverage-context provenance). - Cross-check proposal conflicts (e.g., remove test vs keep behavior guardrail).
- Produce
final_remedy_plan.mdwith:
- findings summary
- phased action list
- rollback points
- coverage-risk checkpoints
Execution workflow
- Execute low-risk batches first (small, reversible changes).
- Re-run relevant verification gates for the selected focus option after each batch.
- Stop and remediate immediately if coverage or behavior regresses.
Output contract
Return:
- Consolidated remedy plan with selected focus option (
A,B, orC). - Ordered execution phases with risk level.
- Validation evidence per phase.
Constraints
- Never drop below enforced coverage gates.
- Never delete sole-provider tests without replacement behavior coverage.
- Keep decisions evidence-based and traceable to ADR-030 priorities.