compliance-check
Evaluate an architecture artifact (ADR, HLD, LLD) against the vault's established architecture principles
от DavidROliverBA★ 53 звезды на GitHub
Установить compliance-check в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
/compliance-check
Evaluate any architecture artifact against the vault's established architecture principles. Produces a structured compliance assessment with per-principle scoring, evidence mapping, and actionable remediation steps.
Usage
/compliance-check <artifact title>
/compliance-check "ADR - SAP Data Product"
/compliance-check "HLD - Remote Vault Access Architecture"
/compliance-check "LLD - Vault Bot Message Processing"
Arguments
- $ARGUMENTS: The title of the architecture artifact to assess (required). Must match an existing
ADR - *.md,HLD - *.md, orLLD - *.mdfile in the vault.
Supported Artifact Types
| Type | Location | Naming Pattern |
|---|---|---|
| ADR | ADRs/ |
ADR - *.md |
| HLD | Root | HLD - *.md |
| LLD | Root | LLD - *.md |
Instructions
Phase 1: Load the Target Artifact
- Parse the command -- extract the artifact title from
$ARGUMENTS - Find the artifact file:
- For ADRs: search in
ADRs/folder - For HLDs and LLDs: search at vault root
- If the title does not include the type prefix (
ADR -,HLD -,LLD -), try all three locations - If not found, search using Grep for partial title matches
- If still not found, report the error and list available artifacts of each type
- For ADRs: search in
- Read the artifact -- load the full content including frontmatter and body
- Extract metadata:
type-- to confirm it is an architecture artifactrelatedTowiki-links from frontmattertagsfor domain context (e.g.,domain/security,project/beta)projectif specifiedstatus(draft, proposed, accepted, etc.)- Any inline wiki-links in the body text
Phase 2: Discover Architecture Principles
Principles are stored as Concept notes with conceptType: principle in frontmatter. There are two categories:
- Individual principle notes -- standalone
Concept - *.mdfiles withconceptType: principle - Principle collection notes -- notes like
Concept - Beta Solution Architecture Principlesthat contain multiple numbered principles in the body
2.1 Find Individual Principle Notes
The graph index does not include conceptType in its indexed fields. Use Grep to find principle notes:
grep -rl "conceptType: principle" *.md Concept\ -\ *.md
Read each discovered principle note and extract:
- title -- the principle name
- statement -- the principle statement (from
statementfrontmatter field or the first blockquote in the body) - implications -- what follows from the principle (from
implicationsfrontmatter field) - domain -- which domain it applies to (from
domainfrontmatter field) - tags -- for domain matching against the artifact
2.2 Find Principle Collection Notes
Some notes contain multiple principles as sections (e.g., Concept - Beta Solution Architecture Principles with AP01-AP07). Search for these:
grep -rl "conceptType: principle" Concept\ -\ *.md
For collection notes, extract each individual principle:
- Reference number (e.g., AP01)
- Name (e.g., "Adopt, Don't Adapt")
- One-liner (the blockquote after the heading)
- Statement (the paragraph after the one-liner)
- Fitness Function (the measurable criteria)
2.3 Determine Applicable Principles
Not all principles apply to every artifact. Use domain matching:
- Check artifact tags -- extract domain tags (e.g.,
domain/security,project/beta,technology/ai) - Check artifact content -- scan for domain indicators (security, data, integration, cloud, AI references)
- Match principle domains -- a principle applies if:
- Its
domainfield matches the artifact's domain tags, OR - Its
tagsoverlap with the artifact's tags, OR - Its
statement/implicationsare relevant to the artifact's subject matter
- Its
- Project-scoped principles -- if the artifact references a project (e.g., Beta), include project-specific principle collections
- Universal principles -- principles without a narrow domain scope always apply
If in doubt about applicability, include the principle and mark as NOT APPLICABLE in the output rather than silently excluding it.
Phase 3: Evaluate Compliance
For each applicable principle, assess the artifact against it using this rubric:
| Status | Criteria |
|---|---|
| COMPLIANT | The artifact explicitly addresses this principle. Specific evidence exists in the design, decision rationale, or implementation approach. |
| PARTIAL | The artifact partially addresses this principle. Some elements are present but gaps remain -- the principle is not fully satisfied. |
| NON-COMPLIANT | The artifact does not address this principle despite it being applicable. The design contradicts the principle, or a relevant concern is entirely absent. |
| NOT APPLICABLE | The principle does not apply to this artifact's scope, doma |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл compliance-check?
Evaluate an architecture artifact (ADR, HLD, LLD) against the vault's established architecture principles
Как установить скилл compliance-check?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл compliance-check запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…