跳到正文
cccskills
免费在 GitHub 公开

adr-to-guardrail

Turn a new or changed ADR into implemented behavior, routing docs, tests, and guardrails rather than leaving it as standalone prose.

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

查看安装方法

包含的文件(1)

  • SKILL.md3.5 KB

SKILL.md(原文)

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

adr-to-guardrail

Make an ADR operational.

Procedure

  1. Reserve the ADR number with scripts/adr-reserve.mjs before drafting a new ADR. Read the ADR template and the closest accepted ADRs before changing an existing decision.
  2. State the decision in implementation-neutral terms and fill Decision Tensions for durable architecture, governance, data, security, agent, interface, route, storage, public-surface, or validation-policy changes.
  3. Fill surface parity: human surface, programmatic surface, persistence, gaps, and validation.
  4. Update docs/decision-map.md or the equivalent project router with the new decision and its guardrail.
  5. Register durable meta-code in docs/discoverability.registry.json per docs/adr/0017-discoverability-and-meta-code-routing.md; do not add hidden ADRs, guardrails, harnesses, docs routers, or skills.
  6. For every accepted ADR, satisfy scripts/adr-operational-coverage-check.mjs: decision-map row, discoverability entry, guard/test route, human surface, programmatic surface, persistence, CLI search, and CLI inspect. A doc-only decision needs a scoped expiring public exception in docs/adr-operational-coverage-exceptions.json.
  7. Update affected docs, registries, manifests, CLI inspection/search output, and tests so agents can discover and enforce the decision.
  8. Refactor implementation only as far as needed to make the ADR true for the intended batch.
  9. Apply the Problem-to-Guardrail loop for any defect found while drafting or implementing: record the puntual problem, general class, existing rule, and close with guard/test añadido, ADR/regla añadida, or deuda explícita con expiry.
  10. Enforce the anti-loop rule: if the work adds 2 ciclos seguidos of ADRs, ledgers, manifests, guards, or baselines sin reducir blockers reales, stop and classify the closure as blocker directo, deuda lateral, or pendiente externo; no más gobernanza para arreglar exceso de gobernanza.
  11. Before closure, run node scripts/discoverability-check.mjs closure --changed-file <path> --json for the changed ADR, decision map, registry, or skill. The closing report must cite the real claw search ... --json and claw inspect ... --json evidence and the discovered artifact, or mark the work PARTIAL/BLOCKED.
  12. Record pending guardrails or migrations explicitly when full enforcement cannot land now.

Constraints

  • An ADR is incomplete if it is not linked from the relevant routing surface.
  • Do not invent ADR numbers manually; docs/adr/reservations/NNNN.json is the durable reservation record.
  • Do not accept "doc only" for a decision that changes stable behavior.
  • Do not mark an ADR accepted while scripts/adr-operational-coverage-check.mjs fails.
  • Do not close a canon-changing ADR as complete when claw search or claw inspect cannot discover the changed artifact.
  • Do not close a detected problem with only "fixed"; leave a guard/test, ADR/rule, or expiring debt.
  • Do not add governance to fix excess governance after 2 ciclos seguidos sin reducir blockers reales; stop as blocker directo, deuda lateral, or pendiente externo.
  • Do not preserve accidental pre-public legacy unless an ADR explicitly grants a bounded exception.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Govern Clawix accessibility changes across screen reader behavior, keyboard navigation, focus order, contrast, reduced motion, text scaling, timed interactions, and agent-generated UI.

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

clawic/Clawix82026年6月6日 更新

Review or update stable, canonical, any-human, PMF, and adoption claims using adoption/canonicity governance packets.

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

clawic/Clawix82026年6月6日 更新

Repair confirmed architecture drift in small batches while preserving public canon and avoiding broad opportunistic refactors.

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

clawic/Clawix82026年6月6日 更新

Given an existing Style, generate a human-readable brand guidelines document covering colors, typography, voice, do/don't, imagery rules, and usage examples. Use when the user asks for a brand book, brand guide, or design system document.

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

clawic/Clawix82026年6月6日 更新

Add or improve canonical data catalog collections, fields, aliases, relations, evidence tags, docs, and tests.

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

clawic/Clawix82026年6月6日 更新

Apply the 90/10 visual-to-text rule when composing a piece on a canvas (poster, card, social post). Use when the deliverable lives on a single fixed surface where each element competes for attention.

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

clawic/Clawix82026年6月6日 更新

查看 clawic 的全部技能

报告此技能的问题