HigorAlves/orc / codex/orc/content/skills/phases
phases
VerifiedPer-phase playbooks for orc commands, loaded one phase at a time
references/plan/REFACTOR.md
View on GitHub<!-- orc-plan/REFACTOR -->
_Loaded on demand via orc-phases. Do not run this phase from memory — this file is the phase._
# Refactor-shaped input (before P1)
Runs when the user asks to refactor, restructure, pay down tech debt or improve architecture, or when `--type=refactor` arrived (e.g. from `$orc-flow`).
1. Dispatch the `orc-refactor-architect` subagent via `Task`.
2. Pass it the request plus any named modules or paths.
3. Print the Gate headline below, then ask with `the available user-question tool (or ask in chat)`.
4. List the ranked candidates as options, plus "Different scope — describe it".
5. Take the chosen candidate as the scope `orc-plan/P2` drafts around.
6. Continue to `orc-plan/P1`.
Gate headline (`orc-callouts`): `**⛔ Gate — refactor candidates**`, then one line on the candidate count and the top leverage pick.
NOTE: the architect compares documented intent (ADRs, `GLOSSARY.md`) against the implementation and returns leverage-ranked refactor candidates with cost-versus-friction estimates. This pre-phase and `orc-plan/PRD` are exclusive.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |