Skip to content
Business
Command

/prd

Generate PRD and create GitHub Issue

From plugin
ccc
50218 skills4 agents18 commands
> /plugin marketplace add ooiyeefei/ccc

Command definition

prd.md
description: Generate PRD and create GitHub Issue
argument-hint: <feature-name>
allowed-tools: Read, Write, Bash, WebFetch

PRD Generation

Generate Product Requirements Document for $ARGUMENTS and create GitHub Issue.

Prerequisites

1. Check GitHub CLI:

   gh auth status

2. Check for existing context in:

  • `.pm/gaps/*.md` (for WINNING score)
  • `.pm/competitors/*.md` (for competitive evidence)

Process

Use the **prd-generator agent** for comprehensive PRD:

1. **Gather Context**

  • Load gap analysis data for $ARGUMENTS if exists
  • Load competitor implementations
  • Ask user for additional requirements if needed

2. **Deduplication Check**

   gh issue list --search "$ARGUMENTS" --label "pm:feature-request" --json number,title

If similar issue exists (>70% match):

  • Show existing issue
  • Ask: "Update existing or create new?"

3. **Generate PRD** with sections:

  • Problem Statement
  • User Stories
  • Competitive Analysis
  • Requirements (Functional, Non-Functional)
  • Acceptance Criteria (P0/P1/P2)
  • Edge Cases
  • Out of Scope
  • Technical Considerations
  • Success Metrics

4. **Save PRD**

  • Create `.pm/prds/` directory if not exists
  • Save to `.pm/prds/[feature-slug].md`

5. **Create GitHub Issue**

   gh issue create \
     --title "Feature: $ARGUMENTS" \
     --body "$(cat .pm/prds/[feature-slug].md)" \
     --label "pm:feature-request" \
     --label "[winning-label]" \
     --label "[priority-label]"

6. **Update Tracking**

  • Save issue reference to `.pm/requests/[issue-number].md`
  • Update `.pm/cache/last-updated.json`

7. **Return Results**

  • PRD file location
  • GitHub Issue URL
  • Next steps: `/speckit.specify #[issue-number]`

If gh CLI Unavailable

Output PRD formatted for manual GitHub issue creation.

Read more
@ooiyeefei
Ships withccc

Custom plugins and skills for Claude Code.

50217 skills4 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
502
Star history of ooiyeefei/ccc on GitHub, a chart by star-history.com

Other commands on ccc.

streak-new

streak-new

Command

Create a new challenge with guided setup (learning, building, fitness, habit, creative, custom)

@ooiyeefei@ooiyeefeiInstall Command
streak-stats

streak-stats

Command

View progress statistics, streaks, and achievements for your challenge

@ooiyeefei@ooiyeefeiInstall Command
streak

streak

Command

Check in to your active challenge - log progress, get insights

@ooiyeefei@ooiyeefeiInstall Command

More commands from other plugins.

plan

plan

Command

Plan n8n Linear ticket implementation

n8n2d211k
@n8n-io@n8n-ioInstall Command