file-structure-guidelines
CommunityModular code structure for scalable Go projects.
Authorlinskybing
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill reduces the risk of monolithic codebases by promoting modular, domain-based directory structures and enforcing a 200-line-per-file guideline.
Core Features & Use Cases
- Domain-based organization: Split code into coherent packages (e.g., api, service, repository, domain) to simplify navigation and testing.
- File-size discipline: Maintain small, focused files (roughly 200 lines) to improve readability and PR review efficiency.
- Refactoring guidance: Provide migration strategies, templates, and naming conventions to safely reorganize existing code without breaking builds.
Quick Start
Identify large files by responsibility, create per-domain folders, move related code into new files under 200 lines, update imports, and run tests.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 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-structure-guidelines Download link: https://github.com/linskybing/platform-go/archive/main.zip#file-structure-guidelines Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.