Command Palette

Search for a command to run...

Назад к скиллам
скилл № 00928

compliance-check

Evaluate an architecture artifact (ADR, HLD, LLD) against the vault's established architecture principles

БесплатноБез исполняемых скриптов
DavidROliverBAот 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, or LLD - *.md file 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

  1. Parse the command -- extract the artifact title from $ARGUMENTS
  2. 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
  3. Read the artifact -- load the full content including frontmatter and body
  4. Extract metadata:
    • type -- to confirm it is an architecture artifact
    • relatedTo wiki-links from frontmatter
    • tags for domain context (e.g., domain/security, project/beta)
    • project if specified
    • status (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:

  1. Individual principle notes -- standalone Concept - *.md files with conceptType: principle
  2. Principle collection notes -- notes like Concept - Beta Solution Architecture Principles that 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 statement frontmatter field or the first blockquote in the body)
  • implications -- what follows from the principle (from implications frontmatter field)
  • domain -- which domain it applies to (from domain frontmatter 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:

  1. Check artifact tags -- extract domain tags (e.g., domain/security, project/beta, technology/ai)
  2. Check artifact content -- scan for domain indicators (security, data, integration, cloud, AI references)
  3. Match principle domains -- a principle applies if:
    • Its domain field matches the artifact's domain tags, OR
    • Its tags overlap with the artifact's tags, OR
    • Its statement/implications are relevant to the artifact's subject matter
  4. Project-scoped principles -- if the artifact references a project (e.g., Beta), include project-specific principle collections
  5. 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
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

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), без исполняемых скриптов.

Похожие скиллы

Сравнить compliance-check с