Grace refactor
Skill osovv/grace-marketplace/plugins/grace/skills/grace/grace-refactor
Refactor GRACE 4 governed code while keeping .grace graph, verification, change scopes, and file-local anchors synchronized.From its SKILL.md
npx -y skills add osovv/grace-marketplace --skill grace-refactorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- runs commandsInstructs the agent to run 1 command, including `grace lint --path <project-root>`.
SKILL.md
0.9 KB, 172 tokens by cl100k_base, as published. Nobody here has run it
<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> </skill>
What ships with it: 1 file
134 B alongside SKILL.md
agents/
- openai.yaml134 B
Gives 0 of the 12 instructions most refactoring skills give in 172 tokens
Counted across 545 of the 587 authors here whose files we hold, read 2026-09-06
- Run tests after each changein 61 of 545, across 59 files
- Run tests before refactoringin 42 of 545
- Revert immediately if tests failin 31 of 545, across 28 files
- Perform refactoring in small stepsin 30 of 545, across 29 files
- Write characterization tests for untested codein 21 of 545, across 19 files
- Remove dead code and unused importsin 20 of 545
- Identify code smellsin 20 of 545
- Perform one refactoring at a timein 19 of 545
- Commit after each successful refactoringin 17 of 545, across 15 files
- Verify all tests pass after refactoringin 17 of 545
- Keep refactoring separate from behavior changesin 16 of 545, across 14 files
- Run the full test suitein 16 of 545
Said here and by no other author read
- Resolve affected anchors in index files
- Check active changes for scope overlap
- Preserve file-local links and contracts
- Update graph and verification artifacts
- Run grace lint
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.