Back to skills
SKILL.md
Enforce Architectural Import Boundaries In Python Codebases With Import Linter
ASecurityCheck whether a Python codebase still respects declared layered, independence, or forbidden import contracts.
- 36 stars
- 0 votes
- 0 copies
- 0 views
- Added June 8, 2026
Security analysis
100/100npx -y skills add agentskillexchange/skills --skill enforce-architectural-import-boundaries-in-python-codebases-with-import-linter --agent claude-codeAre you the author of Enforce Architectural Import Boundaries In Python Codebases With Import Linter?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-enforce-architectural-import-boundaries-in-python-)---
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/)
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.