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 3 Nov 2026
- Adds
- .claude/skills/code-to-prd/ (the skill folder)
- 5 file(s) the skill refers to
- 8 other files in the folder: assets/sample-analysis.json, expected_outputs/sample-enum-dictionary.md, expected_outputs/sample-page-user-list.md, expected_outputs/sample-prd-readme.md and 4 more
- Runs scripts
- Yes
- scripts/codebase_analyzer.py
- scripts/prd_scaffolder.py
- shell block in the text
- script file in the folder (scripts/codebase_analyzer.py)
- Uses the network
- Yes
- HTTP client calls (references/framework-patterns.md)
- HTTP client calls (scripts/codebase_analyzer.py)
- Needs secrets
- None found
- Reads outside the project
- /usr/bin/env (scripts/codebase_analyzer.py)
- Calls other skills
- /dashboard
- /users
- /settings
- /path
- /router
- /routes
- and 3 more
- Value without its scripts
- Low
- The main file runs scripts/codebase_analyzer.py, scripts/prd_scaffolder.py in its opening lines, so its main job needs the script.
- scripts/codebase_analyzer.py: Analyze any codebase (frontend, backend, or fullstack) and extract routes, APIs, models, a
- scripts/prd_scaffolder.py: Scaffold PRD directory structure from frontend_analyzer.py output.
- Source revision
- e4a1dc369590
- Licence
- MIT
- Last activity
- 26 Nov 2026
- Source changed after the scan
- Yes
- Last push 26 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- 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.
## 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 …