with one click
test-cleaner
Multi-phase test suite optimization with adversarial review
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Multi-phase test suite optimization with adversarial review
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Decompose a large system specification into cook-it-ready epic beads via DDD bounded contexts, with optional post-epic improvement loop configuration
Multi-agent review with lesson-calibrated reviewers, runtime verification, and severity classification
Comprehensive playbook for building world-class websites, landing pages, web applications, and dashboards. Covers the full build sequence from brand identity and information architecture through layout, typography, color, scroll animations, micro-interactions, hover effects, loading states, empty states, error handling, accessibility, SEO, and conversion optimization. Use this skill whenever building a new website or web app from scratch, redesigning pages (pricing, landing, portfolio), adding polish or animations, fixing generic-looking UI, improving visual hierarchy, or when the user says anything looks "janky", "generic", "amateur", or "needs more polish". Also use when adding hover states, scroll effects, page transitions, or doing a design review pass.
Reflect on the cycle and capture high-quality lessons for future sessions
Decompose work into small testable tasks with clear dependencies
Develop precise specifications through Socratic dialogue, EARS notation, and Mermaid diagrams
| name | Test Cleaner |
| description | Multi-phase test suite optimization with adversarial review |
Analyze, optimize, and clean a project's test suite through a multi-phase workflow with adversarial review. Produces machine-readable output and feeds findings into compound-agent memory.
Spawn multiple analysis subagents in parallel:
Synthesize analysis results into a refined optimization plan:
This is THE KEY PHASE -- the most important phase in the entire workflow. NEVER skip, NEVER rush, NEVER settle for "good enough."
Expose the plan to two neutral reviewer subagents:
Both reviewers challenge assumptions, identify risks, and suggest improvements.
Mandatory iteration loop: After each reviewer pass, if ANY issues, concerns, or suggestions remain from EITHER reviewer, revise the plan and re-submit to BOTH reviewers. Repeat until BOTH reviewers explicitly approve with ZERO reservations. Do not proceed to Phase 4 until unanimous, unconditional approval is reached.
This is the critical quality gate. Loop as many times as needed. The test suite must be bulletproof before execution begins.
Apply the agreed changes:
ERROR [file:line] type: descriptionREMEDIATION suggestions and SEE referencespnpm test with module/path filters)pnpm test) and linter (pnpm lint) after changesca learnAdapt test commands to the project's stack:
pnpm test with path filter)pnpm test for complete validationca search "test optimization" before startingca learn