cognitx-leyton

Arch Check — Development skill for Claude Code

Development community

Run built-in architecture-conformance policies — cycles, cross-package imports, layer violations.

How to install Arch Check

Installs to ~/.claude/commands/cognitx-leyton-graphrag-code-arch-check.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/cognitx-leyton/graphrag-code/HEAD/.claude/commands/arch-check.md -o ~/.claude/commands/cognitx-leyton-graphrag-code-arch-check.md

Restart Claude Code, or start a new session, for it to be picked up.

What Arch Check does


allowed-tools: Bash(codegraph query:*), Bash(codegraph query:*), Bash(.venv/bin/codegraph query:*) description: Run built-in architecture-conformance policies — cycles, cross-package imports, layer violations

Usage

/arch-check

No args. Runs three built-in policies and reports violations. Zero violations = architecture still holds. Non-zero = investigate.

Policy What it detects
Import cycles File IMPORTS paths of length 2-6 that loop back to the st

Alternatives in Development

  • OpenMythos — A theoretical reconstruction of the Claude Mythos architecture, built from first principles using the availabl 14.8k ★
  • Native Feel Skill — An Agent Skill for designing cross-platform desktop apps that feel native — distilled from Raycast's 2.0 deep 1.9k ★
  • Cross Language Check — Replicate a quantitative analysis in a second language (R↔Python↔Stata↔Julia) 130 ★

Full documentation available on GitHub

View Source Repository