Arch Check banner
cognitx-leyton cognitx-leyton

Arch Check

Development community

Description

--- 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

Installation

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.

Full documentation available on GitHub

View Source Repository