import-hygiene

Community

Enforce clean imports, prevent code rot.

AuthorSiamese001
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents common import errors like dead imports, forbidden module usage, and duplicate imports, ensuring code maintainability and adherence to project standards before changes are committed.

Core Features & Use Cases

  • Dead Import Detection: Automatically flags and prevents unused imports (ruff F401).
  • Forbidden Import Blocking: Enforces a strict list of disallowed import patterns and paths.
  • Use Case: Before committing a refactor that moves code between modules, run this skill to ensure all new imports are canonical and none of the newly forbidden patterns are introduced.

Quick Start

Run the import-hygiene skill to check all Python files modified in the current commit for import violations.

Dependency Matrix

Required Modules

None required

Components

referencesscripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: import-hygiene
Download link: https://github.com/Siamese001/Agentic-Workflow/archive/main.zip#import-hygiene

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.