home / skills / yellinzero / aico / aico-pm-init
This skill initializes the PM constitution by guiding you through setup questions and generating the project document.
npx playbooks add skill yellinzero/aico --skill aico-pm-initReview the files below or copy the command above to add this skill to your agents.
---
name: aico-pm-init
description: |
Initialize PM environment by creating constitution document from template.
Use this skill when:
- Running /pm.init command
- User asks to "initialize PM", "setup product management", "create constitution"
- Starting a new project and need to establish product constraints and domain info
- Need to create docs/reference/pm/constitution.md for a new project
---
# 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
1. **Check existing**: Look for `docs/reference/pm/constitution.md`
2. **If exists**: Ask user if they want to overwrite or update specific sections
3. **If not exists**:
- Read template from `references/constitution.template.md`
- Guide user through questions to fill template
4. **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
```
✓ 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`
This skill initializes a product management (PM) environment by creating a constitution document from a template. It guides the user through targeted questions, enforces a unified header format, and writes the finalized constitution to docs/reference/pm/constitution.md. Use it to establish shared product constraints, domain details, and documentation standards at project start.
The skill first checks whether docs/reference/pm/constitution.md already exists and prompts to overwrite or update specific sections if found. If not present, it loads the constitution template, asks guided questions for each section (product overview, domain info, constraints, standards), fills the template, applies the required document header format, and saves the file. It confirms successful creation and that the PM environment is initialized.
What happens if a constitution already exists?
The skill asks whether to overwrite the whole file or update specific sections, preserving or replacing content based on your choice.
Is the document header mandatory?
Yes. The skill always applies the unified header format with project name and created/last-updated dates.
Can I change the output language?
The skill checks aico.json for a language setting and defaults to English if none is set.