check-architecture

check-architecture is a skill for Claude Code from makigjuro/cloudstack-ai-plugins. It costs 49 tokens per session (1,294 once invoked), scanned A, original, MIT.

A check for hexagonal architecture rules, layer dependencies, and use of the project's Result pattern. Hexagonal architecture separates business logic from external systems such as databases and web frameworks.

In plain words
What is it for?
Use it during development to run architecture tests and inspect backend layer boundaries.
Why use it?
It identifies architecture violations that may make the codebase harder to change or test.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the dotnet-architect plugin — 14 skills, 1 agent shipped together

Good fit Use it during development to run architecture tests and inspect backend layer boundaries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/makigjuro/cloudstack-ai-plugins/check-architecture
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add makigjuro/cloudstack-ai-plugins --skill check-architecture
Clone the repo
git clone --depth 1 https://github.com/makigjuro/cloudstack-ai-plugins

Made for: Claude Code.

Or install dotnet-architect, the plugin that ships this one along with the rest of its 14 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for check-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/check-architecture/github.svg)](https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/check-architecture)
Your own site
<a href="https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/check-architecture"><img src="https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/check-architecture/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for check-architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/check-architecture"><img src="https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/check-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,294 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.01294
Opus 5.5 $0.00020 $0.00518
Sonnet 5.5 $0.00010 $0.00259
Haiku 4.5 $0.00005 $0.00129

Measured 1mo ago against content hash f95006519f64, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

check-architecture scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dotnet-architect/skills/check-architecture/SKILL.md · 140 lines

How it starts

The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Architecture Check

Verify the project follows its architectural rules. Run automated arch tests first, then supplement with manual checks.

Configuration

Read cloudstack.json from the project root at the start of execution. Extract:

  • NAMESPACE = project.namespace (default: detect from *.sln name or first *.csproj root namespace)
  • SERVICES = backend.services[] (default: discover from src/*/ directories containing .Application/ subfolders)
  • SOLUTION = backend.solutionPath (default: find *.sln in src/)

If cloudstack.json does not exist, auto-detect by scanning the project structure.

Validator MCP Fast Path

If the project registers an architecture-validator MCP server (declared in cloudstack.json as validators.mcpServer, e.g. "my-validator"), prefer its batch tools over the grep/dotnet-ef checks below — they return structured JSON in one call for all services instead of N shell invocations:

  • mcp__{server}__validate_all_layers replaces the per-service layer-dependency greps (section 2)
  • mcp__{server}__check_all_migrations replaces per-service dotnet ef migrations has-pending-model-changes loops
  • mcp__{server}__check_result_pattern replaces the thrown-exception grep (section 3), with acceptable-throw exclusions built in

Fall back to the manual checks below when no validator MCP is configured or a tool call fails.

1. Run NetArchTest.Rules Tests

First, run any architecture tests in the test suite:

dotnet test {SOLUTION} --filter "FullyQualifiedName~Arch" --no-restore

If no arch tests exist, proceed with manual checks below.

2. Layer Dependency Violations

For each service in {SERVICES}, check that the Domain layer does not reference Infrastructure or Host:

# Domain must not reference Infrastructure or Host
grep -rn "using.*Infrastructure\|using.*Host" src/{Service}/**/Domain/ --include="*.cs"

# Application must not reference Host
grep -rn "using.*Host" src/{Service}/**/Application/ --include="*.cs"

Read the full file on GitHub · 140 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +8 lines f95006519f64
  2. 3mo ago First seen · 132 lines · 49 tokens per session scan A 151e7c0c8cc8

Subscribe to this mod's changes

check-architecture is a skill published in the GitHub repository makigjuro/cloudstack-ai-plugins (1 stars, last pushed 29d ago), licensed MIT. It adds 49 tokens to every session and 1,294 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

check-architecture compared with skills from other repositories

check-architecture next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
check-architecturemakigjuro/cloudstack-ai-pluginsSkill129d agoMITA49Claude Code
pr-reviewnitinjain999/platform-skillsSkill742d agoApache-2.0A81Claude Code
skill-distilleriliaal/whetstoneSkill37todayMITA91Claude Code
ia-git-worktreeiliaal/whetstoneSkill37todayMITA42Claude Code
python-servicesiliaal/whetstoneSkill37todayMITA48Claude Code, Codex
react-frontendiliaal/whetstoneSkill37todayMITA57Claude Code, Codex
nodejs-backendiliaal/whetstoneSkill37todayMITA50Claude Code, Codex