file-system-organization
OfficialOrganize code, eliminate chaos, simplify refactoring.
Software Engineering#typescript#best practices#refactoring#file organization#deno#modular architecture#code structure
Authorsite-bender
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill eliminates code sprawl and "utility hell" by enforcing a strict, modular file system organization. It ensures that all related code (functions, tests, helpers, constants, types) lives together, making codebases easier to navigate, refactor, and delete without creating orphaned files, saving you countless hours of maintenance.
Core Features & Use Cases
- One Entity Per Folder: Every function and component gets its own self-contained folder, improving discoverability and modularity.
- Deep Linking & No Barrel Files: Enforces direct imports, enabling aggressive tree shaking and clear dependency graphs.
- Private Helper Encapsulation: Clearly defines how to organize private helper functions in subfolders, preventing accidental exposure and maintaining encapsulation.
- Use Case: When creating a new
processOrderfunction, this skill guides you to create aprocessOrder/folder containingindex.ts,index.test.ts, and any private helpers like_validateItems/within their own subfolders. This ensures thatprocessOrderis a self-contained, easily movable, and deletable unit.
Quick Start
Explain the correct file system structure for a new function named 'calculateDiscount' that has a private helper function '_applyTax'.
Dependency Matrix
Required Modules
None requiredComponents
examples
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: file-system-organization Download link: https://github.com/site-bender/sitebender/archive/main.zip#file-system-organization Please download this .zip file, extract it, and install it in the .claude/skills/ directory.