跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
开发与测试

grace-refactor

Refactor GRACE 4 governed code while keeping .grace graph, verification, change scopes, and file-local anchors synchronized.

osovv · 已有 AI 审核记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add osovv/grace-marketplace --skill grace-refactor

技能说明


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-*, and V-M-* anchors through .grace/graph/index.xml and .grace/verification/index.xml.
  • Check active .grace/changes for 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>