importlinterpython

A tool that checks whether a Python codebase still complies with declared layering, isolation, or banned-import contracts.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "importlinterpython" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-2f1628ccfa514bd80a7e3a7b9180e7ebc0ae9300c315afe5fe53c296a78f2892. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/enforce-architectural-import-boundaries-in-python-codebases-with-import-linter before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

A tool that checks whether a Python codebase still complies with declared layering, isolation, or banned-import contracts.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Python project, pip or Poetry environment
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "使用 Import Linter 在 Python 代码库中强制执行架构导入边界"
slug: "enforce-architectural-import-boundaries-in-python-codebases-with-import-linter"
version: "1.0.0"
displayName: "使用 Import Linter 在 Python 代码库中强制执行架构导入边界"
summary: "检查Python代码库是否仍然遵守声明的分层、独立或禁止导入合约。"
license: "MIT"
description: "检查Python代码库是否仍然遵守声明的分层、独立或禁止导入合约。"
github_stars: 995
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 995

使用 Import Linter 在 Python 代码库中强制执行架构导入边界

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:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供 Python 项目架构导入边界检查能力,有助于维护代码分层与模块化设计
Trigger Precision90/100

Highlights

  • 触发描述清晰明确,准确表达核心功能,边界定义良好
Structure and Standards75/100

Areas to improve

  • 缺少具体使用示例 Reported severity: Minor

    文档未包含 .importlinter 配置文件示例或典型执行命令演示

    Recommendation: 建议补充一个最小可运行的配置示例和执行流程说明

Highlights

  • 文档结构完整,包含前置条件、安装说明和官方文档链接
Execution Reliability70/100

Areas to improve

  • 异常处理覆盖不足 Reported severity: Minor

    未说明如何处理 import-linter 安装失败、配置语法错误等常见异常

    Recommendation: 建议增加常见错误排查指南或提供配置验证机制

Highlights

  • 依赖来源明确,引用官方 GitHub 仓库和文档
Evidence Verifiability (mean of the first four)78/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • img.shields.io
  • import-linter.readthedocs.io
  • pypi.org
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Python project, pip or Poetry environment

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.