Grace Refactor
Refactor GRACE 4 governed code while keeping .grace graph, verification, change scopes, and file-local anchors synchronized.
Grace Refactor by osovv · e931ed5
npx skillmds@latest add osovv/grace-refactor File contents
---name: grace-refactordescription: Refactor GRACE 4 governed code while keeping .grace graph, verification, change scopes, and file-local anchors synchronized.---<skill><scope>Use this for rename, move, split, merge, extraction, or boundary cleanup work. Greenfield feature work should go through `grace-spec`, `grace-plan`, and `grace-execute`.</scope><must_do>- Resolve affected `M-*`, `DF-*`, and `V-M-*` anchors through `.grace/graph/index.xml` and `.grace/verification/index.xml`.- Check active `.grace/changes` for scope overlap before editing.- Preserve or update file-local `LINKS:`, module contracts, function contracts, and semantic blocks.- Update durable graph and verification artifacts only when the refactor intentionally changes boundaries, paths, or evidence.- Run targeted tests and `grace lint --path <project-root>` when available.</must_do></skill>
osovv/grace-marketplace/tree/main/skills/grace/grace-refactor commit e931ed5e76
Frequently asked questions
Run npx skillmds@latest add osovv/grace-refactor in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Refactor GRACE 4 governed code while keeping .grace graph, verification, change scopes, and file-local anchors synchronized. It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
osovv (@osovv) published this skill. Their other Agent Skills are listed on their SkillMD profile.