Development
grace-refactor
Refactor GRACE 4 governed code while keeping .grace graph, verification, change scopes, and file-local anchors synchronized.
osovv · AI review on file
Installation
Read the source and dependencies before running a command. Copying does not install or execute anything.
npx skills add osovv/grace-marketplace --skill grace-refactorAbout this skill
name: grace-refactor description: Refactor GRACE 4 governed code while keeping .grace graph, verification, change scopes, and file-local anchors synchronized.
<must_do>
- Resolve affected
M-*,DF-*, andV-M-*anchors through.grace/graph/index.xmland.grace/verification/index.xml. - Check active
.grace/changesfor 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>