com um clique
refactor
Iteratively simplify code, contracts, and data flow.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Iteratively simplify code, contracts, and data flow.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
| name | refactor |
| description | Iteratively simplify code, contracts, and data flow. |
Use @../../AGENTS.md#systems-thinking.
Ask: how can this code become simpler?
Bound the domain as a set of contracts.
Follow data from entry points to exit points.
Move or resize boundaries to de-complect responsibilities.
Preserve contracts by default.
Improve contracts when the change is locally verifiable.
Divide the flow into stages with explicit contracts.
Lift branches toward entry points.
Push loops toward leaf operations.
Iterate until the data flow is laminar: direct, staged, and unsurprising.
Surface a design or plan when changes require broader judgment, migration, or coordination.
Apply the Systems Thinking workflow from AGENTS.md when a task may be misframed, under-specified, or tangled with adjacent concerns.
Test hypotheses through experiments and disposable tools.
Research the workspace for a topic. Report patterns in the corpus.
Open the files, directories, and links relevant to the current context.
Iteratively improve writing.
Design or refine software architecture.