arckit-conformance
Assess architecture conformance — ADR decision implementation, cross-decision consistency, design-principles alignment, architecture drift, technical debt…
от tractorjuice★ 19 звёзд на GitHub
Установить arckit-conformance в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
User Input
$ARGUMENTS
Goal
Generate a systematic Architecture Conformance Assessment that checks whether the decided architecture (ADRs, principles, approved designs) matches the designed/implemented architecture (HLD, DLD, DevOps artifacts). This command fills the gap between $arckit-health (quick metadata scan) and $arckit-analyze (deep governance across all dimensions) by focusing specifically on decided-vs-designed conformance, architecture drift, and architecture technical debt (ATD).
This is a point-in-time assessment — run at key project gates or after major design changes to track conformance over time.
Prerequisites
Architecture Principles (MANDATORY)
a. PRIN (Architecture Principles, in projects/000-global/) (MUST exist):
- If NOT found: ERROR "Run $arckit-principles first to define governance standards for your organization"
Architecture Decision Records (MANDATORY)
b. ADR (Architecture Decision Records, in projects/{project-dir}/decisions/) (MUST exist):
- If NOT found: ERROR "Run $arckit-adr first — conformance assessment requires at least one accepted ADR"
Project Artifacts (RECOMMENDED)
More artifacts = better conformance assessment:
- REQ (Requirements) in
projects/{project-dir}/— Requirements to cross-reference projects/{project-dir}/vendors/{vendor}/hld-v*.md— High-Level Designprojects/{project-dir}/vendors/{vendor}/dld-v*.md— Detailed Low-Level Design- HLDR (HLD Review),
ARC-*-HLDR-*.mdanywhere in the project:$arckit-hld-reviewwrites it toprojects/{project-dir}/vendors/{vendor}/, and older projects may hold it inreviews/— Design review findings - DLDR (DLD Review),
ARC-*-DLDR-*.mdanywhere in the project (written tovendors/{vendor}/; older projects may hold it inreviews/) — Detailed review findings - PRIN-COMP (Principles Compliance) in
projects/{project-dir}/— Prior compliance assessment - TRAC (Traceability Matrix) in
projects/{project-dir}/— Requirements traceability - RISK (Risk Register) in
projects/{project-dir}/— Risk context for exceptions - DEVOPS (DevOps Strategy) in
projects/{project-dir}/— CI/CD and deployment patterns
Custom Constraint Rules (OPTIONAL)
c. .arckit/conformance-rules.md in the project root (if exists):
- Contains user-defined ArchCNL-style constraint rules
- Format: Natural language rules with MUST/MUST NOT/SHOULD/SHOULD NOT keywords
- Example: "All API services MUST use OAuth 2.0 for authentication"
- Example: "Database connections MUST NOT use plaintext credentials"
Note: Assessment is possible with minimal artifacts (principles + ADRs), but accuracy improves significantly with HLD/DLD and review documents.
Operating Constraints
Non-Destructive Assessment: Do NOT modify existing artifacts. Generate a new conformance assessment document only.
Evidence-Based Assessment: Every finding must cite specific file:section:line references. Avoid vague statements like "design addresses this" — be specific.
Honest Assessment: Do not inflate conformance scores. FAIL is better than false PASS. Untracked technical debt should be surfaced, not hidden.
Architecture Principles Authority: The architecture principles (ARC-000-PRIN-*.md in projects/000-global/) are non-negotiable. Any design that contradicts principles is automatically a FAIL.
ADR Decision Authority: Accepted ADR decisions are binding. Designs that ignore or contradict accepted decisions are non-conformant.
Execution Steps
Note: Before generating, scan
projects/for existing project directories. For each project, list allARC-*.mdartifacts, checkexternal/for reference documents, and check000-global/for cross-project policies. If no external docs exist but they would improve output, ask the user.
0. Read the Template
Read the template (with user override support):
- First, check if
.arckit/templates-custom/conformance-assessment-template.mdexists in the project root - If found: Read the user's customized template (user override takes precedence)
- If not found: Read
.arckit/templates/conformance-assessment-template.md(default) - Then read
.arckit/templates/_partials/RENDERING.mdand resolve the<!-- DOC-CONTROL-HEADER -->marker in the template before writing. Do not hand-write the Document Control table: the partialRENDERING.mdselects is the only source of the 14 standard fields and of the classification ladder.
Tip: Users can customize templates with
$arckit-customize conformance
1. Validate Prerequisites
Check Architecture Principles:
- Look for
ARC-000-PRIN-*.mdinprojects/000-global/ - If NOT found: ERROR "Architecture principles not found. Run $arckit-principles first."
Check ADRs:
- Look for
ARC-*-ADR-*.mdfiles inprojects/{project-dir}/decisions/ - If NONE found: ERROR "No ADRs found. Run $arckit-adr first —
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- agents/openai.yaml
FAQ
Что делает скилл arckit-conformance?
Assess architecture conformance — ADR decision implementation, cross-decision consistency, design-principles alignment, architecture drift, technical debt, and custom constraint rules
Как установить скилл arckit-conformance?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл arckit-conformance запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…