Agent skill
grace-init
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.
Install this agent skill to your Project
npx add-skill https://github.com/osovv/grace-marketplace/tree/main/skills/grace/grace-init
SKILL.md
Initialize GRACE framework structure for this project.
Template Files
All documents MUST be created from template files located in this skill's assets/ directory.
Read each template file, replace the $PLACEHOLDER variables with actual values gathered from the user, and write the result to the target project path.
| Template source | Target in project |
|---|---|
assets/AGENTS.md.template |
AGENTS.md (project root) |
assets/docs/knowledge-graph.xml.template |
docs/knowledge-graph.xml |
assets/docs/requirements.xml.template |
docs/requirements.xml |
assets/docs/technology.xml.template |
docs/technology.xml |
assets/docs/development-plan.xml.template |
docs/development-plan.xml |
assets/docs/verification-plan.xml.template |
docs/verification-plan.xml |
assets/docs/operational-packets.xml.template |
docs/operational-packets.xml |
Important: Never hardcode template content inline. Always read from the
.templatefiles — they are the single source of truth for document structure.
Steps
-
Gather project info from the user. Ask for:
- Project name and short annotation
- Main keywords (for domain activation)
- Primary language, runtime, and framework (with versions)
- Key libraries/dependencies (if known)
- Testing stack (test runner, assertion style, mock/fake approach)
- Observability stack (logger, structured log fields, redaction constraints)
- High-level module list (if known)
- 2-5 critical flows or risky surfaces that must be verifiable early
-
Create
docs/directory and populate documents from templates:For each
assets/docs/*.xml.templatefile:- Read the template file
- Replace
$PLACEHOLDERvariables with user-provided values - Write the result to the corresponding
docs/path
-
Create or verify
AGENTS.mdat project root:- If
AGENTS.mddoes not exist — readassets/AGENTS.md.template, fill in$KEYWORDSand$ANNOTATION, and write to project root - If
AGENTS.mdalready exists — warn the user and ask whether to overwrite or keep the existing one
- If
-
Print a summary of all created files and suggest the next step:
"Run
$grace-planto design modules, data flows, and verification references. Then use$grace-verificationto deepen tests, traces, and log-driven evidence before large execution waves. Usedocs/operational-packets.xmlas the canonical packet and delta reference during execution and refactors."
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
grace-verification
Design and enforce testing, traces, and log-driven verification for a GRACE project. Use when modules need stronger automated tests, execution-trace checks, or a maintained verification-plan.xml that autonomous and multi-agent workflows can trust.
grace-refactor
Refactor GRACE-governed code safely: rename, move, split, merge, or extract modules while keeping contracts, graph, verification, and semantic markup synchronized.
grace-fix
Debug an issue using GRACE semantic navigation. Use when encountering bugs, errors, or unexpected behavior - navigate through the graph, verification plan, and semantic blocks to analyze the mismatch and apply a targeted fix.
grace-cli
Operate the optional `grace` CLI against a GRACE project. Use when you want to lint GRACE artifacts, resolve modules from names or file paths, inspect shared/public module context, or inspect file-local/private markup through `grace lint`, `grace module find`, `grace module show`, and `grace file show`.
grace-plan
Run the GRACE architectural planning phase. Use when you have requirements and technology decisions defined and need to design the module architecture, create contracts, map data flows, and establish verification references. Produces development-plan.xml, verification-plan.xml, and knowledge-graph.xml.
grace-reviewer
GRACE integrity reviewer. Use for fast scoped gate reviews during execution, or full integrity audits at phase boundaries and after broader code, graph, or verification changes.
Didn't find tool you were looking for?