Skip to main content
在 Manus 中运行任何 Skill
一键导入

setup-lazy-imports

星标21
分支3
更新时间2026年7月1日 17:53

Set up flake8-lazy in a repository — add its pre-commit hook (defaulting to --apply=set), run it once to rewrite files with __lazy_modules__ declarations, then verify nothing broke by running the test suite and an import smoke check. Use this whenever the user wants to set up, add, enable, adopt, or apply lazy imports, PEP 810, __lazy_modules__, or flake8-lazy in a project; wants to "lazify" a codebase, make imports lazy, cut import-time overhead, or speed up CLI/app startup — even if they don't name the tool explicitly.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly