generate-prd
Agent skill fromhuytieu/COG-second-brain
Generate product requirements documents with optional publishing to Confluence or other wiki platforms
How to install generate-prd
install generate-prd
# install the COG-second-brain pack with the skills CLI
npx skills add huytieu/COG-second-brain# or add only this skill to Claude Code: copy the folder
skills/generate-prd/
# into
~/.claude/skills/generate-prd/ (all projects)
.claude/skills/generate-prd/ (one project)
1# COG Generate PRD Skill23## When to Invoke4- User wants to create a PRD, product spec, or requirements document5- User says "generate PRD", "write PRD", "product requirements", "spec doc", "feature spec"6- User has a feature or project that needs formal documentation before development78## Agent Mode Awareness910**Check `agent_mode` in `00-inbox/MY-PROFILE.md` frontmatter:**11- If `agent_mode: team` — use parallel agents to gather context from multiple sources (existing PRDs, related issues, competitive research) while drafting12- If `agent_mode: solo` — gather context and draft sequentially in the main conversation1314## Command: `/generate-prd`1516## Pre-Flight Check17181. **Read `00-inbox/MY-INTEGRATIONS.md`** to determine publishing options:19 - **Confluence** — can publish PRD to team wiki20 - **Notion** — can publish PRD to Notion workspace21 - **HackMD** — can publish PRD as shared markdown doc22 - If none active, PRD stays in the vault only (still fully useful)23242. **Read `00-inbox/MY-PROFILE.md`** for:25 - Active projects26 - User's name and role (for PRD author field)27283. **Get current timestamp:**29 Run `date '+%Y-%m-%d %H:%M'` using Bash for the `created:` frontmatter field3031---3233## Execution Strategy3435### Phase 1: Gather Requirements3637Ask the user for the following (skip what they've already provided):3839**Required:**40- Feature/product name41- Problem statement — what problem are we solving?42- Target users — who is this for?43…
Excerpt shown under the repository's MIT license.
