Skip to content
Agent Memory
Command

/contract

契约式前后端协作。先判断单会话多 agent 还是多终端异步两种模式,再以 CONTRACT.md 指向的机器契约为唯一来源协调各端开发、做集成对账,防字段漂移。

BOOST
From plugin
docs-governance
2228 skills7 agents8 commands1 hook
Install
> /plugin marketplace add qshanx/docs-governance
> /plugin install docs-governance@docs-governance

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/contract

Context preview

What this command does when you run it.

契约式前后端协作。先判断单会话多 agent 还是多终端异步两种模式,再以 CONTRACT.md 指向的机器契约为唯一来源协调各端开发、做集成对账,防字段漂移。

Command definition

contract.md
description: 契约式前后端协作。先判断单会话多 agent 还是多终端异步两种模式,再以 CONTRACT.md 指向的机器契约为唯一来源协调各端开发、做集成对账,防字段漂移。

读取 `skills/engineering/contract-first/SKILL.md`,将用户参数 `$ARGUMENTS` 作为任务说明,按 Skill 判断协作模式并执行。

Claude Code 由 **contract-director** 持有契约;仅在已选择模式 A 时可使用 **frontend-dev** / **backend-dev**。角色、流程和验证边界只在 Skill 维护。

Ships withdocs-governance

A knowledge, decision, and verification governance system for long-running AI-assisted projects. It turns a strong agent's one-off work into shared project capability that future agents can inherit, verify, and evolve.

Get the whole plugin

Other commands on docs-governance.

governance-retro
Command

governance-retro

复盘 PROJECT_LOG.md——统计哪个模块出错最多、哪类错误重复、标准变更几次;重复 TOP 的错误输出为"该下沉成 lint/测试"的候选清单。LOG 从流水账变资产。

governance
Command

governance

对已配置治理的当前项目做日常活文档维护——扫描真实结构,按需增量更新治理文档与 Codex 的 AGENTS.md 薄桥接。首次配置请用 /governance-setup,全中文。