What problem does it solve?
Manually creating consistent project directory structures and documentation skeletons for C++ projects is time-consuming and error-prone, especially when adhering to strict software engineering standards across multiple sub-projects.
Core Features & Use Cases
- Intelligent Level Detection: Automatically identifies whether the target directory is a repository root or a C++ project sub-directory by scanning for specific markers like projects/, xmake.lua, or src/ combined with include/.
- Cascading Initialization: For repository roots, automatically scans and initializes all C++ sub-projects under projects/, creating complete directory trees and document skeletons.
- Incremental Creation: Safely skips existing files and directories, only creating missing items from standardized templates without overwriting user modifications.
- Standardized Documentation: Generates repository-level and project-level documentation structures including CLAUDE.md AI context entries, README.md files, and comprehensive docs/ directories with templates for architecture, requirements, protocols, and testing.
Quick Start
Use the project-structure-init skill to automatically create a standardized C++ project directory structure and documentation skeleton in the current working directory.