Tooluck logoTooluck
SKILL.md

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)

skills/generate-prd/SKILL.md

MITFull file
1# COG Generate PRD Skill
2
3## When to Invoke
4- User wants to create a PRD, product spec, or requirements document
5- User says "generate PRD", "write PRD", "product requirements", "spec doc", "feature spec"
6- User has a feature or project that needs formal documentation before development
7
8## Agent Mode Awareness
9
10**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 drafting
12- If `agent_mode: solo` — gather context and draft sequentially in the main conversation
13
14## Command: `/generate-prd`
15
16## Pre-Flight Check
17
181. **Read `00-inbox/MY-INTEGRATIONS.md`** to determine publishing options:
19 - **Confluence** — can publish PRD to team wiki
20 - **Notion** — can publish PRD to Notion workspace
21 - **HackMD** — can publish PRD as shared markdown doc
22 - If none active, PRD stays in the vault only (still fully useful)
23
242. **Read `00-inbox/MY-PROFILE.md`** for:
25 - Active projects
26 - User's name and role (for PRD author field)
27
283. **Get current timestamp:**
29 Run `date '+%Y-%m-%d %H:%M'` using Bash for the `created:` frontmatter field
30
31---
32
33## Execution Strategy
34
35### Phase 1: Gather Requirements
36
37Ask the user for the following (skip what they've already provided):
38
39**Required:**
40- Feature/product name
41- Problem statement — what problem are we solving?
42- Target users — who is this for?
43…

Excerpt shown under the repository's MIT license.

More skills in COG-second-brain

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates