跳到正文
cccskills
免费在 GitHub 公开

grace-migrate

Agent-applied GRACE 3 to GRACE 4 migration workflow. CLI validates the result but does not convert or delete files.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(4)

  • SKILL.md2.8 KB
  • agents/openai.yaml120 B
  • references/migration-checklist.md1.9 KB
  • references/migration-report-template.xml2.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

<skill> <migration_safety> Migration is copy-and-validate, not destructive conversion. Before writing `.grace`, inventory every legacy source, record a restorable backup path outside the proposed cleanup set, present the migration report, and wait for explicit write approval. Never create retroactive `C-*` bundles. </migration_safety> <workflow> 1. Detect legacy docs and current `.grace` state. If `.grace` already exists, stop and ask whether migration should merge, replace, or abort. 2. Inventory legacy source paths and create or verify a restorable backup. Record source coverage and backup evidence in the report. 3. Map legacy requirements, technology, graph, verification, and operational content into the GRACE 4 layout. List ambiguities and unsupported structures rather than guessing. 4. Produce `references/migration-report-template.xml`, review `references/migration-checklist.md`, and ask for explicit approval before writing `.grace`. 5. Write `.grace`, then run `grace lint --path <project-root> --assertions current` and `grace status --path <project-root> --json`. Require status `projectKind` `grace4` with no integrity errors, and record commands, exit states, and findings. 6. If validation is not successful or generated coverage is incomplete, retain all legacy sources and stop. 7. Detect git availability and worktree membership. If git is available for the project, record `git status --porcelain --untracked-files=all` before cleanup. 8. Present an exact cleanup proposal containing only inventoried legacy paths. Ask for a separate explicit cleanup approval. For a dirty worktree or non-git project, require another explicit acknowledgement naming that risk. 9. Archive or delete only the approved paths, record each result, and leave the backup intact. Do not use broad globs, hidden shell cleanup, or unreviewed recursive deletion. </workflow>

<cleanup_preconditions> Cleanup requires all of: complete inventory, restorable backup, explicit write approval, successful current lint, fresh status proving GRACE 4 with no integrity errors, verified generated coverage, git availability/worktree inspection, recorded porcelain output when applicable, exact proposed paths, separate explicit cleanup approval, and separate dirty or non-git risk acknowledgement when applicable. A missing gate means no cleanup. </cleanup_preconditions>

<cleanup_failure_rule> If validation, git inspection, move, archive, or delete fails, stop immediately and state: "Legacy GRACE 3 artifacts remain untouched unless the failure output explicitly lists a completed move." Never retry destructive cleanup automatically. </cleanup_failure_rule> </skill>

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

grace-ask

免费

Answer questions about a GRACE 4 project by navigating .grace current-state artifacts and file-local semantic markup.

中文简介正在准备中。当前显示原文说明。

osovv/grace-marketplace2542026年9月24日 更新

grace-cli

免费

Operate the GRACE 4 CLI for .grace linting, status, module navigation, verification navigation, and file-local semantic markup.

中文简介正在准备中。当前显示原文说明。

osovv/grace-marketplace2542026年9月24日 更新

Execute an approved GRACE 4 GraceChangePlan in sequential or parallel-safe mode with recovery-aware preflight and centralized durable apply.

中文简介正在准备中。当前显示原文说明。

osovv/grace-marketplace2542026年9月24日 更新

Explain GRACE 4 methodology, .grace artifacts, semantic anchors, change lifecycle, verification, and migration boundaries.

中文简介正在准备中。当前显示原文说明。

osovv/grace-marketplace2542026年9月24日 更新

grace-fix

免费

Debug and fix issues in a GRACE 4 project using .grace semantic navigation, assertions, and verification evidence.

中文简介正在准备中。当前显示原文说明。

osovv/grace-marketplace2542026年9月24日 更新

Bootstrap a Full GRACE 4 project by creating the canonical .grace context, graph, verification, and changes skeleton.

中文简介正在准备中。当前显示原文说明。

osovv/grace-marketplace2542026年9月24日 更新

查看 osovv 的全部技能

报告此技能的问题