Back to browse
Code-Governance – easy-to-use architecture linter

Code-Governance – easy-to-use architecture linter

by wojtkk·Apr 15, 2026·2 points·0 comments

AI Analysis

●●SolidSolve My ProblemSlick

import-linter with automatic config generation and LLM fix suggestions.

Strengths
  • Auto-generates governance.toml by scanning source code and mapping imports
  • Five specific rules catch cycles, layer violations, and cohesion issues
  • GitHub Action replies with /governance fix to auto-commit corrected config
Weaknesses
  • LLM advice requires OpenAI or Anthropic API keys—adds cost and complexity
  • Architecture linters already exist (import-linter, arch-lint) with similar core features
Target Audience

Engineering teams maintaining large Python or TypeScript codebases

Similar To

import-linter · arch-lint · Deptrac

Post Description

Tool that plugs into your CI pipeline and tells you which imports violate your architecture rules, plus a dashboard for architecture observability — for both Python and TypeScript.

People told us that during code review they often check newly added imports to avoid breaking architecture rules, but at the same time they’re not satisfied with existing tools like import-linter, which lack automatic configuration generation or a global architecture overview.

Similar Projects