auto-research
Deep strategic research engine — decomposes questions into parallel research threads, spawns…
Generate product requirements documents with optional publishing to Confluence or other wiki platforms
$ npx -y skills add huytieu/COG-second-brain --skill generate-prd --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/generate-prdContext preview
The summary Claude sees to decide when to auto-load this skill.
Generate product requirements documents with optional publishing to Confluence or other wiki platforms
name: generate-prd description: Generate product requirements documents with optional publishing to Confluence or other wiki platforms roles: [product-manager, engineering-lead, founder] integrations: [confluence, notion, hackmd]
**Check `agent_mode` in `00-inbox/MY-PROFILE.md` frontmatter:**
1. **Read `00-inbox/MY-INTEGRATIONS.md`** to determine publishing options:
2. **Read `00-inbox/MY-PROFILE.md`** for:
3. **Get current timestamp:** Run `date '+%Y-%m-%d %H:%M'` using Bash for the `created:` frontmatter field
---
Ask the user for the following (skip what they've already provided):
**Required:**
**Optional (will generate reasonable defaults if not provided):**
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 docs
**Agent: "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 context
Run the same context gathering sequentially.
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 - [Per
Cognition + Obsidian + Git — A self-evolving second brain powered by AI agents, markdown files, and version control. No database, no vendor lock-in — just .md files that think.
Deep strategic research engine — decomposes questions into parallel research threads, spawns…
Quick capture of raw thoughts with intelligent domain classification and competitive…
Run one task through the V-model verification loop: CP-2 plan → CP-3 build → CP-3v component…
Deep-dive 7-day analysis across all data sources for weekly reviews, board prep, and…
Autonomous content pipeline - scout announcements in your field, triage by trend momentum and…
Create user stories with duplicate checking across any project tracker (Linear, GitHub…