Architectural guardrails for AI coding agents — a Claude Code hook (+ Cursor) that checks every edit's imports against the layer rules in your CLAUDE.md, catching drift live in the agent loop. Deterministic, stdlib-only Python. Free MIT lite; Pro at archlint.pro.
1 file for Claude Code: archlint CLAUDE.md — 66 tokens loaded in every session.
CLAUDE.md A 66 tok These files are MKanhan/archlint's own configuration — they tell Claude Code how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.