align-architecture

Compare ADRs and design docs against the codebase to generate an Architecture Compliance Report.

7|3|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/nesnilnehc/ai-cortex --skill align-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: align-architecture
Source: https://github.com/nesnilnehc/ai-cortex/tree/main/skills/align-architecture
Command: npx skills add https://github.com/nesnilnehc/ai-cortex --skill align-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Validates that code implementations reflect documented architecture decisions (ADRs and design docs) and surfaces gaps when there is divergence, enabling teams to enforce architectural intent.

Core Features & Use Cases

  • Compare ADRs/design docs against the actual codebase to detect boundary violations, missing components, and divergent patterns.
  • Generate an Architecture Compliance Report that documents gaps, impact, root causes, and remediation guidance, and persists to the designated path.
  • Support scoped verification (full repository or targeted modules) and indicate evidence readiness and confidence.

Quick Start

Run this skill to compare ADRs/design docs against your codebase and generate an Architecture Compliance Report.

Frequently Asked Questions about align-architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if my codebase matches documented architecture decisions?

To check if your codebase matches architecture decisions, you can compare ADRs and design docs against your actual code to detect boundary violations, missing components, and divergent patterns. This generates an Architecture Compliance Report.

What is architecture compliance verification and when do I need it?

Architecture compliance verification is the process of validating that code implementations reflect documented architectural intent. You need it when ADRs or design documents exist and you want to enforce architectural standards across your repository.

Can I run architecture compliance checks on specific modules instead of the full repository?

Yes, you can run architecture compliance checks on specific modules. The verification supports targeted incremental scope across modules as well as full repository verification to assess architecture compliance based on your needs.

How do I generate an architecture compliance report with remediation guidance?

To generate an architecture compliance report, compare your ADRs and design docs against the codebase. The output persists at docs/calibration/architecture-compliance.md, providing documented gaps, impact, root causes, and clear remediation guidance.

What limitations exist when checking code for divergence from design docs?

A key limitation when checking code for divergence is that it only applies when ADRs or design documents already exist. Without documented architecture decisions, the tool cannot identify boundary violations or generate a compliance report.