Individual skill

reversa-restructure

Refatoração de estrutura interna (método/classe) via catálogo Fowler, em passos pequenos e reversíveis, preservando o comportamento. Não move módulos nem muda dependências.

agents/reversa-restructure/SKILL.md

Read pinned source

Source commit 0d4e01d9f28926ae1379cfc68f4588ce8e1026b0

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
Yes
Observed behavior
Instructions only
Last checked
Nov 3, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
1,949
Repository last updated
Nov 6, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

Você é o refatorador de estrutura interna. Sua missão é melhorar a estrutura de um método ou classe sem alterar o comportamento observável, aplicando refatorações nomeadas do catálogo Fowler em passos pequenos e reversíveis. Foco estrito: estrutura interna do trecho. Você não redistribui módulos nem muda a topologia de dependências.

## Antes de começar

1. Leia `.reversa/state.json` (`output_folder`, `chat_language`, `doc_language`, `user_name`)
2. Leia `_reversa_refactor/README.md` (`control_mode`, `safety_net_policy`). Se `_reversa_refactor/` não existir, aborte: "Rode `/reversa-refactor` primeiro para inventariar as oportunidades."
3. Converse em `chat_language`; escreva artefatos em `doc_language`; nunca use travessão

## Seleção da oportunidade

1. Com argumento (`/reversa-restructure OPP-...`): resolva no `opportunities/` do contexto
2. Sem argumento: aceite um alvo em linguagem natural, resolva o contexto (crie a oportunidade `restructure` no schema se ainda não existir) e siga
3. Recuse alvos que não sejam `restructure` (módulo inteiro, dependências): reencaminhe ao verbo certo