跳到正文
cccskills
免费在 GitHub 公开

adr-check

Run ADR conformance checks, explain failures, and identify required ADR/doc updates for the current change.

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

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md1.3 KB

SKILL.md(原文)

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

ADR Check

Use this skill when the change touches architecture, workflows, hooks, shared contracts, or guardrail files.

Steps

  1. Identify changed files:
git diff --name-only HEAD
  1. Run the fast ADR guard on changed files:
python3 scripts/adr_guard/adr_guard.py --changed --level fast
  1. If the fast guard fails:

    • Report the exact rule ids and files.
    • Fix the code or docs.
    • Re-run the guard.
  2. If guardrail files changed, verify that one of these changed too:

    • docs/adr/**
    • shifter/shifter_platform/documentation/docs/technical/dev/adr-enforcement.md
    • technical index pages linking to ADR enforcement docs
  3. If a temporary waiver is genuinely required:

    • add it to docs/adr/exceptions.yaml
    • include rule_id, owner, reason, and expires_on
    • keep the waiver as narrow as possible with checks and paths
  4. Before completion, run the CI profile:

python3 scripts/adr_guard/adr_guard.py --all --level ci

Output

Report:

  • checks run
  • violations found or “ADR guard clean”
  • ADR/doc files updated
  • any exception added and its expiry

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Review a change for architectural drift, guardrail weakening, and ADR impact before shipping.

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

PaloAltoNetworks/shifter72026年10月24日 更新

Stand up or rebuild an AWS Shifter tenant end to end (teardown, bootstrap, secrets, image bakes, deploy via the real deploy.yml dispatch, health check, base-range smoke, and a POLARIS range walkthrough). AWS only. Use when asked to rebuild, redeploy, or stand up an AWS tenant such as proof or aws-dev from a clean state.

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

PaloAltoNetworks/shifter72026年10月24日 更新

Monitor GitHub workflows, propose fixes for failures, and report status

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

PaloAltoNetworks/shifter72026年10月24日 更新

ship

免费

Ship current branch — CI, SonarCloud, code review, security review, fix all issues, merge. Assumes code is already committed and pushed.

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

PaloAltoNetworks/shifter72026年10月24日 更新

stage

免费

Stage files, run pre-commit, fix failures, loop until clean

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

PaloAltoNetworks/shifter72026年10月24日 更新

查看 PaloAltoNetworks 的全部技能

报告此技能的问题