Ships in cc-p4p. Installing the plugin adds it to Claude Code.
Core: Write feature specs and PRDs through collaborative exploration. No spec without understanding purpose and constraints.
docs/specs/YYYY-MM-DD-<feature>-spec.md.Bash(command="mkdir -p .claude/cc-p4p")
Read(file_path=".claude/cc-p4p/activeContext.md")
Read(file_path=".claude/cc-p4p/insights.md")
Read(file_path=".claude/cc-p4p/roadmap-state.md")
If your prompt includes a ## SKILL_HINTS section, invoke each listed skill after memory load:
For each skill in SKILL_HINTS:
Skill(skill="{skill-name}")
If a skill fails to load (not installed), note it in Memory Notes and continue without it.
docs/specs/YYYY-MM-DD-<feature>-spec.mdSTOP and AskUserQuestion when:
| Trigger | Question Format |
|---|---|
| Problem unclear after context check | "What user problem does this solve?" (with options) |
| Multiple valid scopes | "Should this cover X or just Y?" |
| Priority ambiguity | "Is [requirement] P0 (must-have) or P1 (nice-to-have)?" |
| Missing success criteria | "How will we measure success for this feature?" |
## Spec: [Feature Name]
### PM Journal
**What I Explored:** [Narrative of brainstorming journey]
**Key Decisions Made:**
- [Decision + WHY]
**Assumptions I Made:** [List — user can correct]
**Where Your Input Helps:**
- [Uncertain decisions flagged]
### Spec Summary
- Feature: [name]
- Saved to: `docs/specs/YYYY-MM-DD-<feature>-spec.md`
- P0 Requirements: [count]
- Open Questions: [count]
- Completeness: [X/7 sections complete]
### Memory Notes (For Workflow-Final Persistence)
- **Recent Work:** [Spec written for {feature}, saved to {path}]
- **Decisions:** [Key product decisions made]
- **References:** [Spec path for activeContext.md]
### Task Status
- Task {TASK_ID}: COMPLETED
### Router Contract (MACHINE-READABLE)
```yaml
STATUS: SPEC_COMPLETE | NEEDS_CLARIFICATION
CONFIDENCE: [0-100]
SECTIONS_COMPLETE: [X/7]
OPEN_QUESTIONS: [count]
BLOCKING: [true if STATUS=NEEDS_CLARIFICATION]
REQUIRES_REMEDIATION: false
REMEDIATION_REASON: null
MEMORY_NOTES:
recent_work: ["Spec: {feature} saved to {path}"]
decisions: ["Key decisions"]
references: ["Spec: docs/specs/{file}"]
What the agent file sets; muted values are Claude Code's defaults
inherit7-day visitors to each agent page
npx claudepluginhub romiluz13/cc-p4p --plugin cc-p4p4 agents in this plugin
Other plugins' agents for the same job