PaloAltoNetworks/shifter / .claude/skills/adr-check
adr-check
VerifiedRun ADR conformance checks, explain failures, and identify required ADR/doc updates for the current change.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.3 KB |
SKILL.md
View on GitHub---
name: adr-check
description: Run ADR conformance checks, explain failures, and identify required ADR/doc updates for the current change.
---
# ADR Check
Use this skill when the change touches architecture, workflows, hooks, shared contracts, or guardrail files.
## Steps
1. Identify changed files:
```bash
git diff --name-only HEAD
```
2. Run the fast ADR guard on changed files:
```bash
python3 scripts/adr_guard/adr_guard.py --changed --level fast
```
3. If the fast guard fails:
- Report the exact rule ids and files.
- Fix the code or docs.
- Re-run the guard.
4. 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
5. 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`
6. Before completion, run the CI profile:
```bash
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
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |