archprint
Find architecture rules in a TypeScript repository's import relationships and apply them to checking tools.
What does it do?
archprint reads the actual import relationships in a TypeScript project and infers the architecture rules the code follows. For each rule, it shows files that comply, files that violate it, and a confidence level so teams can choose which boundaries to enforce. Selected rules can be exported to tools such as ESLint, dependency-cruiser, and ts-arch to catch violations on the next lint run. Coding agents can also retrieve the rules and supporting evidence through MCP.
Key features
- Infer rules from import relationships in TypeScript repositories
- Show compliant files, violating files, and confidence for each rule
- Generate checking rules for ESLint, dependency-cruiser, and ts-arch
- Provide rules and supporting evidence to coding agents through MCP
- Try a scan without installation in the StackBlitz demo