akillness avatar

File Organization

This one helps you decide whether your codebase should be organized by feature, type, route, or workspace package, then gives you a migration plan that won't leave imports broken halfway through. It's built around a decision ladder that asks what your actual pain is: scattered feature code, unclear shared boundaries, or premature monorepo splits. The skill reads boundary decision matrices and migration checklists before recommending structure, which keeps it from dumping generic folder trees on every repo. Use it when you're refactoring a messy components/hooks/utils sprawl or choosing conventions for a new project. Skip it if your real problem is component API design, state ownership, or deployment automation.

skills.sh installs
185
GitHub stars
22
last updated
Jun 3, 2026

Install

$ npx -y skills add akillness/oh-my-skills --skill file-organization --agent claude-code

Installs into .claude/skills of the current project.

Files

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:

  1. identify the real organizing unit,
  2. separate feature/shared/framework/package boundaries,
  3. define naming and import rules that prevent drift,
  4. plan the migration safely,
  5. 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.

Sponsors

Details

Repository
github.com/akillness/oh-my-skills
First seen
Jun 3, 2026

More from akillness/oh-my-skills

All 81

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs