Code To Prd banner
borghei borghei

Code To Prd

Development community

Description

--- description: Reverse-engineer a Product Requirements Document from existing code. --- Analyze the codebase and generate a PRD: 1. **Map the codebase** — identify entry points, routes, controllers, models, services, and UI components. 2. **Extract features** — list all user-facing features discovered from routes, pages, API endpoints, and UI flows. 3. **Identify data models** — extract entities, relationships, and key fields from schemas/models. 4. **Trace user flows** — map the primary use

Installation

Installs to ~/.claude/commands/borghei-claude-skills-code-to-prd.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/borghei/Claude-Skills/HEAD/.claude/commands/code-to-prd.md -o ~/.claude/commands/borghei-claude-skills-code-to-prd.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository