Skip to content
Skill

Architecture audit

Writes a dated architecture audit report with Mermaid diagrams drawn from the code

Architecture audit is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
7
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Architecture audit

This skill has an AI coding agent produce a dated architecture audit for the current repository. It gathers the existing architecture documents, diagrams and decision records, lists the dependencies declared in manifests and confirmed by imports, and draws C4 context, container and component diagrams, sequence diagrams and entity relationship diagrams in Mermaid from the source code.

The report also maps each 4+1 architectural view to the diagram that covers it, and traces non-functional requirements such as timeouts, rate limits, caching, retries and auth to evidence in the code, marking each as implemented, partial or not found. A gaps section lists uncovered views, unsourced requirements and undeclared imports.

The skill is meant to run on any repository and tech stack, and it is only invoked explicitly with the slash command. It writes a single Markdown file under docs/audit/architecture-audit and does not run installs or package manager commands.

When your agent uses it

Writes a dated architecture audit report for the current repository: links to the existing architecture documents, diagrams, and ADRs; the dependencies found in the implementation; C4 context, container, and component diagrams, sequence diagrams, and entity relationship diagrams in Mermaid, drawn from the code; a 4+1 view coverage map; and a trace of the non-functional requirements. Works on any repository and any tech stack. Writes only docs/audit/architecture-audit/architecture-audit-YYYY-MM-DD-<hash>.md. This skill must only be invoked explicitly via /architecture-audit — never inferred from user messages.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (8 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the nexa-claude-audit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add nexadevapp/nexa-claude-skills-marketplace
/plugin install nexa-claude-audit@nexa-claude-marketplace

Or copy only this skill to ~/.claude/skills/architecture-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/architecture-audit &&
cp -R "$tmp/nexa-claude-audit/skills/architecture-audit" ~/.claude/skills/architecture-audit &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/architecture-audit inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/architecture-audit to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/architecture-audit &&
cp -R "$tmp/nexa-claude-audit/skills/architecture-audit" ~/.agents/skills/architecture-audit &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/architecture-audit inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/architecture-audit to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/architecture-audit &&
cp -R "$tmp/nexa-claude-audit/skills/architecture-audit" ~/.cursor/skills/architecture-audit &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/architecture-audit inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/nexadevapp/nexa-claude-skills-marketplace.git --path nexa-claude-audit/skills/architecture-audit

Or copy the folder to ~/.gemini/skills/architecture-audit yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/architecture-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/architecture-audit &&
cp -R "$tmp/nexa-claude-audit/skills/architecture-audit" ~/.copilot/skills/architecture-audit &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/architecture-audit inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git

Then copy nexa-claude-skills-marketplace/nexa-claude-audit/skills/architecture-audit into your agent's skills folder as architecture-audit. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Existing documentation inventory
Finds architecture docs, diagram sources and ADRs and records each ADR's status.
Dependency review
Lists declared dependencies by manifest and checks them against actual imports.
Mermaid C4 diagrams
Draws context, container and component diagrams from the code with source references.
Sequence and ER diagrams
Traces main workflows and entity relationships from the code and schema.
4+1 view coverage map
Shows which architectural views are covered by which diagrams in the report.
Non-functional requirements trace
Matches quality attributes such as timeouts and auth to evidence in the code.

Good for

  • Audit the architecture of a legacy codebase before a migration
  • Generate Mermaid C4 diagrams for an undocumented service
  • Check which declared dependencies are actually imported
  • Map the main API workflows as sequence diagrams
  • Find non-functional requirements with no implementation evidence

Architecture audit FAQ

How is the skill triggered?

Only explicitly, by typing /architecture-audit. The skill states it must never be inferred from user messages or run from another skill.

What does Architecture audit write?

A single report at docs/audit/architecture-audit/architecture-audit-YYYY-MM-DD-<hash>.md. The skill says it writes no other files.

Does Architecture audit run installs or package managers?

No. The instructions say not to run an install or a package manager command.

Which repositories does Architecture audit support?

The skill says it works on any repository and any tech stack.

How do I install Architecture audit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/architecture-audit to use it in all your projects, or to .claude/skills/architecture-audit in one project. Or install the nexa-claude-audit plugin, which includes it: /plugin marketplace add nexadevapp/nexa-claude-skills-marketplace, then /plugin install nexa-claude-audit@nexa-claude-marketplace.

Does Architecture audit run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Architecture audit?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Architecture audit?

The closest alternatives to Architecture audit are Cicd audit, Documentation and adrs, Audit architecture, Trace architecture and Architecture review.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from nexadevapp/nexa-claude-skills-marketplace

  1. Writes a dated CI/CD audit report mapping pipelines, gates, and gaps in a repository

    • Open source
    • 7 GitHub stars
    • Developer tools
  2. Writes a dated static code metrics report with complexity, duplication, CBO and DIT

    • Open source
    • 7 GitHub stars
    • Developer tools
  3. Writes a dated report mapping a repository's infrastructure, environments and secret names

    • Open source
    • 7 GitHub stars
    • Developer tools
  4. Writes a dated mutation testing report for a repository's core business logic

    • Open source
    • 7 GitHub stars
    • Developer tools
  5. Writes a dated inventory of automated tests sorted into unit, integration, E2E and misc

    • Open source
    • 7 GitHub stars
    • Developer tools