com um clique
safe-refactor
Safely refactor a module with full test coverage verification
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 a module with full test coverage verification
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
Write, debug, or update Playwright E2E tests for the game — including fast, frame-exact deterministic tests using seeded RNG and fixed-timestep stepping.
Drive a headless Chromium browser to take screenshots of the running dev server so Claude can VISUALLY verify its own UI/canvas work via vision-inspection. Use whenever the user asks to "visually check", "take a screenshot", "see how it looks", "verify visually", or after touching code in src/ui/, src/rendering/, src/game/, or anything that produces visible output. This is for ad-hoc visual inspection, NOT for writing Playwright test specs (use the e2e skill for that).
Run full verification suite (lint, test, build) and report results
| name | safe-refactor |
| description | Safely refactor a module with full test coverage verification |
| user-invocable | true |
| allowed-tools | Bash, Read, Edit, Write, Grep, Glob |
| argument-hint | [module-path] |
Safely refactor the specified module or file ($ARGUMENTS). Follow this process:
pnpm run test -- $ARGUMENTSpnpm run testpnpm run lint && pnpm run test && pnpm run builddocs/change_notes/ if changes were made