class-organization-and-layout
CommunityOrganize classes with clean, consistent layouts.
Authorkitchen-engineer42
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Organize class members in standard order, separate classes with blank lines, and maintain one-class-per-file structure to improve readability and maintainability of object-oriented code.
Core Features & Use Cases
- Class Interface Member Order: Present class interface members in a defined order across header files to improve navigation and clarity.
- Class Implementation Member Order: Structure class implementation sections to maintain consistency between declarations and definitions.
- File-to-Class Relationship: Encourage single responsibility by ensuring one class per file and a filename that reflects the class name.
- Visual Separation & Naming Guidelines: Use clear visual separation between classes and consistent naming to minimize cognitive load.
- Principle: Less is more: Avoid excessive separation and redundant comments to keep code clean.
Quick Start
Apply these class organization principles when designing or refactoring a codebase to ensure one-class-per-file structures and consistent member ordering.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: class-organization-and-layout Download link: https://github.com/kitchen-engineer42/pdf2skills/archive/main.zip#class-organization-and-layout 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.