Workflow Add Test Coverage

Coverage-fill workflow for untested code. Use when you have legacy/inherited Magento custom code that has no tests (or low coverage) and you want to systematically add unit + integration tests before refactoring or extending it. Process: identify target scope (a module, a class, or coverage gaps from var/coverage.xml), use mcp__gitnexus-mageos__find_symbol + impact to map all public methods needing coverage, build a mini-plan of test tasks per uncovered method, then invoke /pb-gitnexus:plan-orchestrate to drive tdd-worker through writing characterisation tests (RED-GREEN, no behaviour change), then re-run coverage to verify. Stops at 'tests written + green + coverage improved' — does NOT touch the production code being tested. Composable: can be chained from workflow-build-feature when the build touches a file with coverage < threshold.

ProxiBlue Updated

File contents

ProxiBlue/claude-skills/tree/main/workflow-add-test-coverage commit 7017a6d166

Frequently asked questions

npx skillmds@latest add proxiblue/workflow-add-test-coverage