Skip to main content
Ejecuta cualquier Skill en Manus
con un clic

wads-import-time

Estrellas0
Forks1
Actualizado12 de junio de 2026 a las 17:22

Audit and improve import time and import hygiene in a wads-managed Python repo. Measures `python -X importtime` (warm-cache, against the local checkout), ranks heavy modules and third-party offenders, verifies every module imports standalone (CI runs pytest --doctest-modules, which imports every module), cross-checks unguarded module-level imports of undeclared/extra-only packages, then makes imports lazy and clean (function-local imports, TYPE_CHECKING, PEP 562 module __getattr__, guarded optional deps). Use for "why is import so slow", "speed up import", "make imports lazy", "audit imports", "import hygiene check", "this module breaks --doctest-modules", "optional dependency breaks import", "lighten the core install". Also trigger when CI fails at collection with ImportError/ModuleNotFoundError before any test runs. Does NOT do full declared-vs-imported dependency drift (use the wads-deps CLI), measure test coverage (wads-test-coverage), or diagnose CI wiring (wads-ci-health).

Instalación

Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.

Explorador de archivos
2 archivos
SKILL.md
readonly