Skip to content
Back to skills

Enforce Architectural Import Boundaries In Python Codebases With Import Linter

ASecurity

Check 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
ai-agentspythongogitsecuritydocumentation

Security analysis

A100/100

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill enforce-architectural-import-boundaries-in-python-codebases-with-import-linter --agent claude-code

Installs into .claude/skills of the current project.

Are 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.

Security grade badge for Enforce Architectural Import Boundaries In Python Codebases With Import Linter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-enforce-architectural-import-boundaries-in-python-/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-enforce-architectural-import-boundaries-in-python-)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.**
- [![Python versions](https://img.shields.io/pypi/pyversions/import-linter.svg)](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

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.