Skill Detail

Enforce architectural import boundaries in Python codebases with Import Linter

Check whether a Python codebase still respects declared layered, independence, or forbidden import contracts.

Code Quality & ReviewMulti-Framework
Code Quality & Review Multi-Framework Security Reviewed
โญ 995 GitHub stars
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill enforce-architectural-import-boundaries-in-python-codebases-with-import-linter Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Tools required
Python project, pip or Poetry environment
Install & setup
Install with `pip install import-linter`, add contracts in your configuration file, then run `lint-imports` in CI or local review workflows.
Author
seddonym
Publisher
Individual
Last updated
Apr 15, 2026
Quick brief

Use Import Linter when an agent needs to guard a Python architecture against gradual boundary erosion. The agent defines contracts such as layered dependencies, forbidden imports, or independence rules, runs the checker, and turns violations into review comments or cleanup tasks. Invoke this instead of using the product normally when the job is architecture verification inside an existing codebase, not generic linting or package management. The scope boundary is clear: import-graph contract enforcement for Python projects.