Codex Codeconductor Refactoring with a Test Coverage Gate
Check coverage, testable invariants and an approved refactor plan before moving implementation in Codeconductor.
中文Install in Codex
Open the Codeconductor workspace with its companion planning roles, target module and existing test evidence.
- Review `.agents/skills/cc-refactor/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.agents/skills/cc-refactor/` in your project and save the reviewed file as `.agents/skills/cc-refactor/SKILL.md`.
- Start Codex from that project's root, then type `$cc-refactor` and select the matching skill.
Example task
Decide which phase this illustrative refactor may enter.
{"module":"label renderer","proposed":"extract formatting helper","tests":["nonempty label"],"missing":["empty label"],"approval":"pending"}What to check
Return `refactoring=blocked` for missing `empty label` coverage. Recommend the repository's test-plan workflow before implementation.
Original SKILL.md on GitHub · Updated
Frequently asked question
Do low-risk changes still need approved scope and tests?
The source workflow checks coverage and plan approval first, then compares behavior before and after implementation.