Check whether a Python codebase still respects declared layered, independence, or forbidden import contracts.
Scanned 6/8/2026
Install via CLI
openskills install agentskillexchange/skills---
name: "Enforce architectural import boundaries in Python codebases with Import Linter"
slug: "enforce-architectural-import-boundaries-in-python-codebases-with-import-linter"
description: "Check whether a Python codebase still respects declared layered, independence, or forbidden import contracts."
github_stars: 995
verification: "security_reviewed"
source: "https://github.com/seddonym/import-linter"
author: "seddonym"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "seddonym/import-linter"
github_stars: 995
---
# Enforce architectural import boundaries in Python codebases with Import Linter
Check whether a Python codebase still respects declared layered, independence, or forbidden import contracts.
## Prerequisites
Python project, pip or Poetry environment
## Installation
Requirements and caveats from upstream:
- **Lint your Python architecture.**
- [](https://pypi.org/project/import-linter)
- **Import Linter** allows you to impose constraints on the imports between your Python modules.
- Source: https://github.com/seddonym/import-linter
- Extracted from upstream docs: https://raw.githubusercontent.com/seddonym/import-linter/HEAD/README.md
## Documentation
- https://import-linter.readthedocs.io/
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/enforce-architectural-import-boundaries-in-python-codebases-with-import-linter/)
No comments yet. Be the first to comment!