file-organization
Installation
SKILL.md
File Organization
Use this skill when the main question is "what structural boundary should this codebase use, and how do we move toward it without turning a reorg into chaos?"
The job is not to dump a giant folder tree and pretend it fits every repo. The job is to:
- identify the real organizing unit,
- separate feature/shared/framework/package boundaries,
- define naming and import rules that prevent drift,
- plan the migration safely,
- return a structure brief another engineer or agent can apply immediately.
Read references/boundary-decision-matrix.md before recommending a structure. Read references/migration-checklist.md before moving files or renaming directories. Read references/naming-and-import-rules.md when the problem includes barrel files, alias paths, or team conventions.
Related skills