generate-prd
Skill1.3k starsChanged 4 months agoMITView on GitHub
Generate product requirements documents with optional publishing to Confluence or other wiki platforms
4 other projects use a version of this.
Trending
Quiet since October.thin dataabout the whole repository
Most recently taken up by
- cdkcyxws/skillstheir own version, first seen Jul 28, 2026
- matarpeles/skills-registry-demotheir own version, first seen May 5, 2026
- kweaver-ai/skillstheir own version, first seen Mar 11, 2026
- cfircoo/claude-code-toolkittheir own version, first seen Mar 4, 2026
Who's talking about huytieu/COG-second-brain
- sudosubin/agents.nix“agent-plugins.github.huytieu.cog-second-brain: init at 3.15.0”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.huytieu.cog-second-brain: 3.10.0 → 3.15.0”GitHub · Oct 3, 2026
- sudosubin/agents.nix“agent-skills.github.huytieu.cog-second-brain: init at 3.10.0”GitHub · Sep 28, 2026
- frsvffcy/llm-wiki-km“[L3][Evaluation][Agent Workflow][Second Brain] 評估 COG closed-loop、self-evolution 與 multi-agent knowledge …”GitHub · Sep 18, 2026
The biggest 4 of 4 mentions linking to the repository that our crawl found. Each line is their own headline.
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- cfircoo/claude-code-toolkit★ 17same name
- cdkcyxws/skills★ 4same name
- kweaver-ai/skills★ 0same name
- matarpeles/skills-registry-demo★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository109 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- auto-researchSkill
- braindumpSkill
- closed-loopSkill
- comprehensive-analysisSkill
- content-factorySkill
- create-user-storySkill
- daily-briefSkill
- daily-journalSkill
- data-formsSkill
- editorial-illustrationsSkill
- export-open-issuesSkill
- generate-prdSkill
- generate-release-notesSkill
- harvestSkill
- knowledge-consolidationSkill
- loop-engineeringSkill
- meeting-transcriptSkill
- memory-hygieneSkill
- museum-artSkill
- no-ai-slopSkill
- onboardingSkill
- product-ui-tasteSkill
- publish-to-confluenceSkill
- release-videoSkill
- retroSkill
- review-cockpitSkill
- scoutSkill
- slop-gateSkill
- taste-skillSkill
- team-briefSkill
- ultragoalSkill
- update-cogSkill
- update-knowledge-baseSkill
- url-dumpSkill
- voice-baselineSkill
- weekly-checkinSkill
- auto-researchSkill
- braindumpSkill
- closed-loopSkill
- comprehensive-analysisSkill
- content-factorySkill
- create-user-storySkill
- daily-briefSkill
- daily-journalSkill
- data-formsSkill
- editorial-illustrationsSkill
- export-open-issuesSkill
- generate-release-notesSkill
- harvestSkill
- knowledge-consolidationSkill
- loop-engineeringSkill
- meeting-transcriptSkill
- memory-hygieneSkill
- museum-artSkill
- no-ai-slopSkill
- onboardingSkill
- product-ui-tasteSkill
- publish-to-confluenceSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 9 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
If agent_mode: team — use parallel agents to gather context from multiple sources (existing PRDs, related issues, competitive research) …
- Very specific: line 19
If agent_mode: solo — gather context and draft sequentially in the main conversation
- Distinctive: line 29
If none active, PRD stays in the vault only (still fully useful)
- Very specific: line 36
Run date '+%Y-%m-%d %H:%M' using Bash for the created: frontmatter field
- Distinctive: line 44
Ask the user for the following (skip what they've already provided):
- Distinctive: line 96
Run the same context gathering sequentially.
- Distinctive: line 100
Create the PRD using this template:
- Distinctive: line 307
Create the directory structure if it doesn't exist:
- Distinctive: line 342
After publishing, update the vault copy with the published URL:
- Distinctive: line 362
Context overflow: If gathering too much context from existing docs, summarize rather than include full text
- Distinctive: line 363
API failures: Always save to vault first, then attempt publishing as a separate step
- Distinctive: line 364
Large PRDs: If the PRD exceeds typical wiki page limits, suggest splitting into sub-pages
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
COG Generate PRD Skill
When to Invoke
- User wants to create a PRD, product spec, or requirements document
- User says "generate PRD", "write PRD", "product requirements", "spec doc", "feature spec"
- User has a feature or project that needs formal documentation before development
Agent Mode Awareness
Check agent_mode in 00-inbox/MY-PROFILE.md frontmatter:
- If
agent_mode: team— use parallel agents to gather context from multiple sources (existing PRDs, related issues, competitive research) while drafting - If
agent_mode: solo— gather context and draft sequentially in the main conversation
Command: /generate-prd
Pre-Flight Check
- Read
00-inbox/MY-INTEGRATIONS.mdto determine publishing options:- Confluence — can publish PRD to team wiki
- Notion — can publish PRD to Notion workspace
- HackMD — can publish PRD as shared markdown doc
- If none active, PRD stays in the vault only (still fully useful)
- Read
00-inbox/MY-PROFILE.mdfor:- Active projects
- User's name and role (for PRD author field)
- Get current timestamp:
Run
date '+%Y-%m-%d %H:%M'using Bash for thecreated:frontmatter field
Execution Strategy
Phase 1: Gather Requirements
Ask the user for the following (skip what they've already provided):
Required:
- Feature/product name
- Problem statement — what problem are we solving?
- Target users — who is this for?
- High-level solution — what are we building?
Optional (will generate reasonable defaults if not provided):
- Success metrics — how do we measure success?
- Constraints — technical, time, budget, or regulatory constraints
- Dependencies — what does this depend on?
- Related documents — links to designs, research, prior art
- Target timeline — when does this need to ship?
Phase 2: Context Gathering
Team Mode (parallel agents)
Launch context-gathering agents using the Task tool with run_in_background: true:
Agent: "existing-prd-scanner"
Scan the vault for existing PRDs and related documents.
1. Glob for PRDs: 04-projects/*/PRDs/*.md
2. Glob for related project files: 04-projects/[project]/**/*.md
3. Read recent PRDs to understand the user's preferred format and level of detail
4. Look for any existing docs related to the feature being specified
Return: relevant existing content, user's PRD style preferences, and any related docsAgent: "issue-context-gatherer"
Gather related issues and feature requests from active trackers.
Check 00-inbox/MY-INTEGRATIONS.md for active trackers, then:
If Linear is active:
1. Use ToolSearch to load Linear tools
2. Search for issues related to [feature keywords]
3. Check current initiatives and projects for context
If GitHub is active:
1. gh search issues "[feature keywords]" --repo [CUSTOMIZE: your-org/your-repo] --json number,title,body,labels --limit 15
2. Check for related discussions or feature requests
Return: related issues, existing feature requests, and any prior discussion contextSolo Mode
Run the same context gathering sequentially.
Phase 3: Generate PRD
Create the PRD using this template:
---
type: prd
project: [project-name]
feature: [feature-name]
status: draft
author: [user name]
created: [YYYY-MM-DD HH:MM]
last_updated: [YYYY-MM-DD]
version: "1.0"
approvers: [CUSTOMIZE: list of approvers]
tags: ["#prd", "#product", "#[project-name]"]
---
# PRD: [Feature Name]
## Overview
| Field | Value |
|-------|-------|
| **Author** | [Name] |
| **Status** | Draft |
| **Created** | [Date] |
| **Target Release** | [Timeline or TBD] |
| **Priority** | [High/Medium/Low] |
---
## 1. Problem Statement
[Clear description of the problem being solved. Include data or evidence where available.]
### Who is affected?
[Target users and how they're impacted]
### What is the current experience?
[How users currently deal with this problem]
### Why now?
[Why this is important to solve at this time]
---
## 2. Goals & Success Metrics
### Goals
1. [Primary goal]
2. [Secondary goal]
3. [Tertiary goal]
### Success Metrics
| Metric | Current Baseline | Target | Measurement Method |
|--------|-----------------|--------|-------------------|
| [Metric 1] | [Current] | [Target] | [How to measure] |
| [Metric 2] | [Current] | [Target] | [How to measure] |
### Non-Goals
- [What this project explicitly does NOT aim to solve]
- [Scope boundaries]
---
## 3. User Stories
### Primary User: [User Type]
**Story 1:** As a [user type], I want [goal] so that [benefit].
**Story 2:** As a [user type], I want [goal] so that [benefit].
### Secondary User: [User Type] (if applicable)
**Story 3:** As a [user type], I want [goal] so that [benefit].
---
## 4. Proposed Solution
### 4.1 Solution Overview
[High-level description of the proposed solution]
### 4.2 Key Features
1. **[Feature 1]** — [Description]
2. **[Feature 2]** — [Description]
3. **[Feature 3]** — [Description]
### 4.3 User Flow
[Step-by-step description of the primary user flow]
1. User [action]
2. System [response]
3. User [action]
4. System [response]
### 4.4 Edge Cases & Error Handling
| Scenario | Expected Behavior |
|----------|------------------|
| [Edge case 1] | [How the system handles it] |
| [Edge case 2] | [How the system handles it] |
---
## 5. Technical Considerations
### Architecture Impact
[How this fits into the existing system architecture]
### Dependencies
- [Dependency 1] — [Status: available/needs work]
- [Dependency 2] — [Status: available/needs work]
### Technical Risks
| Risk | Likelihood | Impact | Mitigation |
|------|-----------|--------|------------|
| [Risk 1] | [H/M/L] | [H/M/L] | [Mitigation plan] |
### Performance Requirements
- [Performance requirement 1]
- [Performance requirement 2]
---
## 6. Design & UX
[Link to designs or describe UX requirements]
### Key UX Principles
- [Principle 1]
- [Principle 2]
### Accessibility Requirements
- [Requirement 1]
- [Requirement 2]
---
## 7. Release Strategy
### Rollout Plan
- **Phase 1:** [Description] — [Timeline]
- **Phase 2:** [Description] — [Timeline]
### Feature Flags
- [Feature flag 1] — [Purpose]
### Rollback Plan
[How to roll back if issues arise]
---
## 8. Open Questions
- [ ] [Question 1] — Owner: [Name]
- [ ] [Question 2] — Owner: [Name]
- [ ] [Question 3] — Owner: [Name]
---
## 9. References
- [Link to related PRDs]
- [Link to designs]
- [Link to research]
- [Link to related issues/tickets]
---
## Changelog
| Version | Date | Author | Changes |
|---------|------|--------|---------|
| 1.0 | [Date] | [Author] | Initial draft |Phase 4: Review Gate
Present the generated PRD to the user:
PRD draft is ready for review.
Sections generated:
1. Problem Statement
2. Goals & Success Metrics
3. User Stories
4. Proposed Solution
5. Technical Considerations
6. Design & UX
7. Release Strategy
8. Open Questions
9. References
Would you like to:
a) Review the full PRD (I'll display it)
b) Save as-is to the vault
c) Make changes to specific sections
d) Publish to [active wiki platform] (requires your approval)NEVER auto-publish. Always wait for explicit user approval.
Phase 5: Save to Vault
Save the PRD to: 04-projects/[project]/PRDs/prd-[feature-slug]-YYYY-MM-DD.md
Create the directory structure if it doesn't exist:
mkdir -p "04-projects/[project]/PRDs"Phase 6: Publish (Optional, requires approval)
Only proceed if the user explicitly approves publishing.
Confluence
Use WebFetch to publish via Confluence REST API:
- POST /wiki/rest/api/content
- Space: [CUSTOMIZE: YOUR-SPACE-KEY]
- Parent page: [CUSTOMIZE: PRDs-parent-page-id]
- Title: "PRD: [Feature Name]"
- Body: [converted to Confluence storage format]
Note: Convert markdown to Confluence XHTML storage format before publishing.Notion
1. Use ToolSearch to load Notion tools
2. Use mcp__claude_ai_Notion__notion-create-pages to create the PRD page
3. Place under [CUSTOMIZE: PRDs database or parent page]HackMD
Use WebFetch to publish via HackMD API:
- POST to create a new note
- Set permissions as configuredAfter publishing, update the vault copy with the published URL:
published_url: [URL]
published_at: [timestamp]Fallback Behavior
| Scenario | Behavior |
| No wiki platform active | Save to vault only — PRD is still fully useful as a local document |
| Publishing API fails | Save to vault, provide the formatted content for manual publishing |
| User doesn't specify project | List active projects from MY-PROFILE.md and ask |
| Minimal input provided | Generate a skeleton PRD with [TODO] markers for the user to fill in |
| Existing PRD found for same feature | Ask if this is an update/revision or a new PRD |
Error Handling
- Context overflow: If gathering too much context from existing docs, summarize rather than include full text
- API failures: Always save to vault first, then attempt publishing as a separate step
- Large PRDs: If the PRD exceeds typical wiki page limits, suggest splitting into sub-pages
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

