com um clique
refactor
Safely refactor code with test coverage as a safety net
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
Safely refactor code with test coverage as a safety net
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ê.
Estimate per-turn token cost of this project's `.claude/` configuration and `CLAUDE.md`. Reports always-loaded vs path-scoped vs invoked-only, ranks the top contributors, and flags entries over budget. Add `--api` for exact counts via Anthropic's count_tokens endpoint instead of the chars/4 heuristic.
Find and fix a bug. Default is careful (reproduce, investigate, test). Add `--fast` for emergency production mode (hotfix branch, minimal change, ship a PR fast).
Explain code. Default is a one-sentence summary plus a mental model. Add `verbose` to also get an ASCII diagram, key details, and a modification guide.
Review code changes or a pull request. Delegates to specialist agents for code quality, security, performance, and documentation, in parallel.
Scan changes, commit, push, and create a PR. With confirmation at each step
Test-Driven Development loop. Write a failing test first, then the minimum code to pass it, then refactor. Repeat.
Baseado na classificação ocupacional SOC
| name | refactor |
| description | Safely refactor code with test coverage as a safety net |
| argument-hint | [target to refactor. File, function, or pattern] |
| disable-model-invocation | true |
Refactor $ARGUMENTS safely.