plugins/grace/skills/grace/grace-refresh/SKILL.md
Synchronize GRACE shared artifacts with the actual codebase. Use targeted refresh after controlled waves, or full refresh after refactors and when you suspect wider drift between the graph, verification plan, and code.
npx skillsauth add osovv/grace-marketplace grace-refreshInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Synchronize the GRACE shared artifacts with the actual codebase.
Default to the narrowest scope that can still answer the drift question.
targeted (default during active execution)fullDecide whether the refresh should be targeted or full.
targetedfulltargeted to full when the localized scan reveals wider inconsistencyWhen the optional grace CLI is available, you may use grace lint --path <project-root> as a quick preflight before starting a broader refresh. Treat it as a hint source, not as the refresh itself.
You may also use:
grace module find <changed-path-or-query> --path <project-root> to resolve the likely module scope from changed files or namesgrace module show M-XXX --path <project-root> --with verification to grab the shared/public contract, dependency, and verification contextgrace file show <path> --path <project-root> --contracts --blocks to inspect file-local/private details without rereading whole source files firstFor each file in scope, extract:
Treat shared XML artifacts as public-surface documents:
In targeted mode, also inspect the immediate dependency surfaces needed to validate CrossLinks accurately.
Read docs/knowledge-graph.xml and, when present, docs/verification-plan.xml. Identify:
V-M-xxx entryDo not report drift just because a private helper exists in source but not in shared docs. Shared docs should only drift on public contract or dependency changes.
Present a structured report:
GRACE Integrity Report
======================
Mode: targeted / full
Scope: [modules or files]
Synced modules: N
Missing from graph: [list files]
Orphaned in graph: [list entries]
Stale CrossLinks: [list]
Files without contracts: [list files]
Missing verification entries: [list modules]
Stale verification refs: [list entries]
Escalation: no / yes - reason
For each issue, propose a fix:
V-M-xxx block in docs/verification-plan.xmlWhen updating graph or plan artifacts, add only public module-facing annotations and interfaces. Keep private helper details local to the source file.
Ask the user for confirmation before applying fixes.
Apply approved fixes to docs/knowledge-graph.xml and docs/verification-plan.xml as needed. Update versions only after the selected refresh scope is reconciled.
full whenever targeted evidence suggests broader driftdevelopment
Create GRACE subagent presets for the current agent shell. Use when you want GRACE worker and reviewer agent files scaffolded for Claude Code, OpenCode, Codex, or another shell.
development
Execute a GRACE development plan in controller-managed parallel waves with selectable safety profiles, verification-plan excerpts, batched shared-artifact sync, and scoped reviews.
development
Bootstrap GRACE framework structure for a new project. Use when starting a new project with GRACE methodology - creates docs/ directory, AGENTS.md, and XML templates for requirements, technology, development plan, verification plan, knowledge graph, and operational packet contracts.
development
Complete GRACE methodology reference. Use when explaining GRACE to users, onboarding new projects, or when you need to understand the GRACE framework - its principles, semantic markup, knowledge graphs, contracts, testing, and unique tag conventions.