Initialize the katachi framework in a project
/plugin marketplace add asermax/claude-plugins/plugin install katachi@asermax-plugins--quickInitialize the katachi development framework in a project.
Skill to load:
Load the katachi:framework-core skill for workflow principles and state detection.
Check what exists:
planning/ directory exist?planning/VISION.md exist?planning/FEATURES.md exist?planning/DEPENDENCIES.md exist?src/, lib/, app/ with code files)?Based on state:
New Project (no planning/, no significant code):
"This looks like a new project. I can help you get started.
Choose your approach:
A) Quick-start (MVP focus)
- Minimal vision (problem + MVP scope)
- 5-10 features for first iteration
- Get coding faster
B) Full framework
- Complete vision document
- Comprehensive feature extraction
- Dependency matrix and phases
Which approach fits your project?"
Existing Project (no planning/, has code):
"I see you have existing code but no framework documentation.
Choose your approach:
A) Vision-first (top-down)
- Define what you're building
- Extract features from vision
- Map existing code to features
- Retrofit specs as needed
B) Code-first (bottom-up)
- Start by documenting existing code
- Create specs from implementations
- Document existing decisions
- Synthesize vision from features
Which approach fits your situation?"
Partially Initialized (planning/ exists but incomplete):
"I see you started framework setup but it's incomplete.
Missing:
- [ ] VISION.md
- [x] FEATURES.md
- [ ] DEPENDENCIES.md
Would you like to complete the setup?"
Already Initialized (all planning files exist):
"Framework is already initialized!
Current state:
- Vision: [summary]
- Features: N features in M phases
- Current focus: [from CLAUDE.md]
Would you like to run gap analysis (/katachi:analyze)?"
Quick-Start Mode:
Full Framework Mode:
/katachi:vision/katachi:features/katachi:dependenciesVision-First Retrofit:
/katachi:vision/katachi:featuresCode-First Retrofit:
/katachi:retrofit-spec <path> (creates spec from code)/katachi:retrofit-design <ID> (creates design, discovers decisions)/katachi:features (organize from retrofitted specs)/katachi:vision (synthesize from features)Note: The retrofit-design command automatically discovers undocumented
ADR/DES patterns during design creation. Use /katachi:retrofit-decision <topic>
for decisions that span multiple features or weren't captured during retrofit-design.
mkdir -p planning specs designs plans docs/architecture docs/design
Create CLAUDE.md if it doesn't exist:
# Project: [Project Name]
## Quick Context
[TODO: Add 1-2 sentence description]
## Key Files
- `planning/VISION.md` - Project vision
- `planning/FEATURES.md` - Feature inventory
- `planning/DEPENDENCIES.md` - Implementation phases
## Available Commands
Use `/katachi:` commands to work with the framework.
## Current Focus
[TODO: Update when starting a feature]
If using the script:
"The framework includes a features.py script for managing dependencies and status.
It's available at: ${CLAUDE_PLUGIN_ROOT}/scripts/features.py
You can run it with:
python ${CLAUDE_PLUGIN_ROOT}/scripts/features.py deps list
python ${CLAUDE_PLUGIN_ROOT}/scripts/features.py status list
"
This is a collaborative process: