Generate a multi-subproject management structure in `.context/project/`.
Generate a multi-subproject management structure in `.context/project/` with templates for tracking PRDs, docs, and status. Use "main" for single projects.
/plugin marketplace add unclecode/claude-code-tools/plugin install unclecode-cc-toolkit@unclecode-toolsGenerate a multi-subproject management structure in .context/project/.
Note: For small projects needing only one subproject, use the name "main" as the default.
$ARGUMENTS
Template files are in ~/.claude/commands/pp-init-assets/templates/:
root/ - Root level templates (WORKFLOW.md, PRINCIPLES.md, etc.)subproject/ - Subproject templatesCheck for mode:
--quiet or -q → Quiet mode# Create root directories
mkdir -p .context/project/prds .context/project/docs .context/project/archive
# Create subproject directories (for each subproject)
mkdir -p .context/project/{subproject}/prds
mkdir -p .context/project/{subproject}/docs
mkdir -p .context/project/{subproject}/archive
mkdir -p .context/project/{subproject}/history
Note: The history/ directory stores ultra-compact session summaries created by /pp-checkpoint.
These files are copied as-is (no placeholders to fill):
# Copy WORKFLOW.md, PRINCIPLES.md, and LESSONS.md (fully populated)
cp ~/.claude/commands/pp-init-assets/templates/root/WORKFLOW.md .context/project/
cp ~/.claude/commands/pp-init-assets/templates/root/PRINCIPLES.md .context/project/
cp ~/.claude/commands/pp-init-assets/templates/root/LESSONS.md .context/project/
Note: Root level only has WORKFLOW, PRINCIPLES, LESSONS. All tracking files (STATUS, TODO, CHANGELOG, CODEBASE) live in subprojects.
For files with {{PLACEHOLDER}} markers:
Root templates to process:
Subproject templates to process (for each subproject):
--quiet){{DATE}} → current date{{PROJECT_NAME}} → "Project"{{SUBPROJECT_NAME}} → "main"Ask these questions:
Then generate with collected data.
| Placeholder | Description |
|---|---|
{{DATE}} | Current date (YYYY-MM-DD) |
{{PROJECT_NAME}} | Project name |
{{PROJECT_DESCRIPTION}} | One-line description |
{{ACTIVE_SUBPROJECT}} | Name of active subproject |
{{TODO_ITEM_1}} | High-level TODO item 1 |
{{TODO_ITEM_2}} | High-level TODO item 2 |
{{TODO_ITEM_3}} | High-level TODO item 3 |
{{SUBPROJECT_TABLE}} | Markdown table of subprojects with status/phase/description |
{{SUBPROJECT_STATUS_TABLE}} | Compact status summary of all subprojects |
{{ENVIRONMENT}} | Environment details |
| Placeholder | Description |
|---|---|
{{SUBPROJECT_NAME}} | Subproject folder name |
{{SUBPROJECT_TITLE}} | Human-readable title |
{{SUBPROJECT_DESCRIPTION}} | What this subproject does |
{{SUBPROJECT_STATUS}} | Current status |
{{SCOPE}} | Bullet list of scope items |
{{WORKING}} | What's currently working |
{{BLOCKED}} | What's blocked |
{{FOCUS}} | Current focus items |
{{NEXT_ACTIONS}} | Next action items |
{{PHASE_1_TASKS}} | Initial tasks |
{{FUTURE_TASKS}} | Future phase tasks |
{{PRINCIPLES}} | Subproject-specific principles |
{{RULES}} | Subproject-specific rules |
{{EXISTING_FILES}} | Existing file table rows |
{{TO_CREATE_FILES}} | Files to create table rows |
{{FILE_DEPENDENCIES}} | File dependencies table rows |
{{CREATION_CONTEXT}} | Why subproject was created |
# Quiet mode - minimal structure
/pp-init --quiet
# With description
/pp-init E-commerce platform with frontend (React), backend (FastAPI), and mobile (React Native). Starting with backend.
# Interactive
/pp-init