asmdef-lint
Installation
SKILL.md
asmdef Lint
Static structural checks over a project's .asmdef files. Cheap enough for a pre-commit hook, catches the assembly-layout mistakes that compile fine but rot the dependency graph. Flags only — it never rewrites assemblies.
.asmdef files are JSON, so every check is a jq one-liner. references may contain either assembly names or GUID:... strings depending on the "Use GUIDs" project setting; these checks assume name references (the readable default). If a project uses GUID references, resolve them first or the direction check under-reports.
Checks
Each rule has a detection command. Run from the project root.
naming — asmdef name should match its directory path
App.Domain should live in a folder ending App/Domain/. Mismatches make the graph unreadable.