Sign in
Explore
Skills · SkillBusiness & OpsEveryday codingProduct managementPlanning & specsReviewedRuns shell commands

code-to-prd

Writes a PRD from an existing codebase by mapping pages, fields, routes and endpoints with bundled Python scripts.

Kind
Skill
Works with
Claude Code
Languages
Python
Source
Claude Skills (Alireza Rezvani) @ e4a1dc369590
Path
product-team/code-to-prd/skills/code-to-prd/SKILL.md
Jobs
Documentation, Planning
Topics
Product management, Planning & specs

Credit

Made by
alirezarezvani
Original
github.com/alirezarezvani/claude-skills/blob/e4a1dc3695908dd5…
License
MIT

Listed by Skill Manifest; not made by us.

InstallInstall it from a plugin marketplace.
/plugin marketplace add alirezarezvani/claude-skills
Install factsScanned 2 Nov 2026
Adds
  • .claude/skills/code-to-prd/ (the skill folder)
  • 5 file(s) the skill refers to
Runs scripts
Yes
  • scripts/codebase_analyzer.py
  • scripts/prd_scaffolder.py
  • shell block in the text
Uses the network
None found
Needs secrets
None found
Source revision
e4a1dc369590
Licence
MIT
Last activity
31 Oct 2026
Review
Reviewed

Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.

  • Only the main file is read; other files in the folder are not scanned
## Name

Code → PRD

## Description

Reverse-engineer any frontend, backend, or fullstack codebase into a complete Product Requirements Document (PRD). Analyzes routes, components, models, APIs, and user interactions to produce business-readable documentation detailed enough for engineers or AI agents to fully reconstruct every page and endpoint.

# Code → PRD: Reverse-Engineer Any Codebase into Product Requirements

## Features

- **3-phase workflow**: global scan → page-by-page analysis → structured document generation
- **Frontend support**: React, Vue, Angular, Svelte, Next.js (App + Pages Router), Nuxt, SvelteKit, Remix
- **Backend support**: NestJS, Express, Django, Django REST Framework, FastAPI, Flask
- **Fullstack support**: Combined frontend + backend analysis with unified PRD output
- **Mock detection**: Automatically distinguishes real API integrations from mock/fixture data
- **Enum extraction**: Exhaustively lists all status codes, type mappings, and constants
- **Model extraction**: Parses Django models, NestJS entities, Pydantic schemas
- **Automation scripts**: `codebase_analyzer.py` for scanning, `prd_scaffolder.py` for directory generation
…