What problem does it solve?
This Skill prepares refactor work for QA by gathering the relevant task artifacts, repository context, and existing tests before implementation begins, reducing missed regressions and ambiguous coverage.
Core Features & Use Cases
- Task discovery: Resolves a refactor slug to the matching .compozy task directory and checks for close matches when the slug is ambiguous.
- Repository-grounded analysis: Reads PRDs, tech specs, ADRs, task files, and nearby code to identify affected contracts, risks, and test surfaces.
- QA planning handoff: Builds a regression-focused prompt for qa-report and directs it to produce Smoke, Targeted, Full, and Sanity coverage with automation annotations.
- Use case: A developer is about to implement a refactor and needs a structured QA plan that highlights P0 and P1 flows without running tests or changing code.
Quick Start
Use the plan-refactor-qa skill with a refactor slug like billing-adjustment so it inspects the corresponding task directory and hands off a QA planning prompt to qa-report.