一键导入
module-size
Use when creating, editing, reviewing, or refactoring code modules to keep files focused, readable, and maintainable as code grows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when creating, editing, reviewing, or refactoring code modules to keep files focused, readable, and maintainable as code grows.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use when executing Patchmill implementation plans that require one plan implementation subagent and final full-worktree readiness review before landing
Use when executing Patchmill implementation plans that require final full-worktree readiness review before landing
Use when executing Patchmill implementation plans with Superpowers task-level development plus final validation and pull-request readiness, without extra Codex or thermo-nuclear full-worktree reviews
Decide when Patchmill may direct-land and when it must open a PR.
Use when Patchmill run-once changes visible UI and needs committed reference screenshot evidence in the final pr-created JSON.
Use for Patchmill run-once spec and plan creation. Wraps sibling Superpowers brainstorming and writing-plans skills with Patchmill worktree, artifact path, and test-value policy.
基于 SOC 职业分类
| name | module-size |
| description | Use when creating, editing, reviewing, or refactoring code modules to keep files focused, readable, and maintainable as code grows. |
Prefer small, cohesive modules with one clear reason to change. Module size is a design signal: large files are not automatically wrong, but they demand an explicit structure or a split plan.
Use this skill when:
Treat these as prompts for judgment, not absolute laws:
Do not count comments, imports, or declarative data mechanically. Ask whether a reader can understand the module’s purpose and public surface quickly.
helpers, utils, or misc.Use these patterns when a module has grown past one responsibility:
index/entry module and move implementation into focused files.Before finishing, verify:
utils, common, and helpers unless the scope is narrow and obvious.