PM Init
Initialize the product constitution document that provides shared constraints and domain information for all PM activities.
Language Configuration
Before generating any content, check aico.json in project root for language field to determine the output language. If not set, default to English.
Process
- •Check existing: Look for
docs/reference/pm/constitution.md - •If exists: Ask user if they want to overwrite or update specific sections
- •If not exists:
- •Read template from
references/constitution.template.md - •Guide user through questions to fill template
- •Read template from
- •Save output: Write to
docs/reference/pm/constitution.md
Document Header Format
All generated documents MUST use this unified header format:
markdown
# [Document Title] > Project: [project-name] > Created: YYYY-MM-DD > Last Updated: YYYY-MM-DD
Guided Questions
Ask user about:
| Section | Questions |
|---|---|
| Product Overview | Product name? One-line description? Target users? |
| Domain Info | Industry/market? Key terminology? Compliance requirements? |
| Constraints | Technical stack? Business constraints? |
| Standards | Documentation language? Naming conventions? |
Template
See references/constitution.template.md for the full constitution template.
Output
code
✓ Created docs/reference/pm/constitution.md ✓ PM environment initialized
Key Rules
- •ALWAYS use the unified header format
- •MUST guide user through key questions before generating
- •ALWAYS save to
docs/reference/pm/constitution.md