Add qa migration

From brabos-ai/code-addiction · View interactive version

Add qa migration is an AI agent skill from the GitHub repository brabos-ai/code-addiction. Use when a project already runs a QA/test flow (Cypress, Jest, Vitest, custom) and wants to adopt the code-addiction QA pipeline instead of starting over — defines the autonomous dogfooding sequence (add-new → add-plan → add-build → add-review) and its checkpoints. Consumed by /add-qa-setup when mig

How to use this skill

Skill file

QA Migration

<!-- uses:

-->

Domain layer that turns an existing QA/test setup into the code-addiction QA pipeline by dogfooding the framework's own feature chain autonomously.

Core principle: The migration is a real feature. Capture it via add-new, then run it through add-plan → add-build → add-review — no bespoke migration mechanism.

Mechanism reuse: This skill defines WHAT to dispatch and WHERE to pause. The HOW (dispatch template, decision log, review gates, compliance gate) comes entirely from {{skill:add--subagent-driven-development/SKILL.md}}. Do NOT re-invent dispatch machinery here.


When to Use

When NOT to Use


Migration Sequence

Dispatch each command autonomously via the platform's subagent mechanism, following the add--subagent-driven-development template (ROLE, TASK_DOCUMENTS, DECISION LOG, SKILLS, COORDINATOR NOTES, TASK, REPORT FORMAT). Autonomy is directed through the dispatch prompt — never by editing the dispatched command's source.

| Order | Command | Purpose | Autonomy directive in dispatch prompt |

|-------|---------|---------|----------------------------------------|

| 1 | /add-new | Capture the migration itself as a real feature. about.md describes the migration: "migrate the existing QA flow (<detected tooling>) to the code-addiction QA pipeline." | Decide feature framing autonomously; create the feature (branch is recorded in branch:; created at the add-build step) |

| 2 | /add-plan | Plan the adaptation: which existing specs map to which screens/scenarios, what is re-authored, what is dropped | Decide mapping autonomously; do not pause for routine choices |

| 3 | /add-build | Execute the migration plan (adapt/re-author specs against qa-project conventions + screens.json) | Implement autonomously; pause only at critical checkpoints (below) |

| 4 | /add-review | Validate the migrated pipeline against the plan | Review autonomously; report findings for user review before merge |

Work happens on the branch add-build's setup creates — no worktree (migration runs in-place).


Checkpoints (pause points)

The dispatch prompt directs each subagent to decide autonomously except at these critical points, where it MUST pause and surface the decision to the user:

Everything between checkpoints (mappings, spec adaptation, naming, selector strategy) is decided autonomously and recorded in the Decision Log.


Traceability & Isolation


Validation Checklist

Before reporting the migration complete:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.