بنقرة واحدة
safe-refactoring
Change code structure without changing behaviour — tests green at every step
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Change code structure without changing behaviour — tests green at every step
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Catch bad React in your changes — run react-doctor's deterministic scan and fix what it flags
Run a verifiable security scan (vulns, secrets, misconfig) over code you wrote or deps you added, before calling the work done
Drive a real browser verifiably — navigate, snapshot, act BY INDEX, extract; every step provable
Run multi-agent work as ONE provable causal DAG — parallel subagents, an Orchestrate graph, an immutable spec-seed
Author or connect a Model Context Protocol server so an agent gains new tools
Build automated pipelines that gate merges and ship reliably
| name | safe-refactoring |
| description | Change code structure without changing behaviour — tests green at every step |
| version | 1 |
| trust | built-in |
Refactoring is improving structure while behaviour stays identical. If behaviour changes, that's a feature/fix — do it separately, with its own test.
Red flags: tests you had to change to stay green (you altered behaviour); a giant diff touching unrelated code; no tests before you started.