git404hub

what is code-to-prd fr?

k57597907-netizen/code-to-prd — explained in plain English

Analysis updated 2026-05-18

16PythonAudience · pm founderComplexity · 2/5LicenseSetup · easy

tl;dr

A Codex skill that reads an existing codebase and generates a Product Requirements Document describing what the product does.

vibe map

mindmap
  root((code-to-prd))
    What it does
      Reverse engineers code into a PRD
      Scans routes APIs and models
      Separates real APIs from mock data
    Tech stack
      Python
      Codex skill format
    Use cases
      Document an inherited codebase
      Generate Chinese PRDs
      Build API and enum inventories
    Audience
      PMs and founders
      Developers onboarding
      Coding agents

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Generate a PRD for an unfamiliar codebase you just inherited.

VIBE 2

Produce Chinese language product documentation from an English codebase.

VIBE 3

Build an API inventory and enum dictionary automatically from source code.

VIBE 4

Create page level documentation for a frontend or full stack app.

what's the stack?

PythonCodex

how it stacks up fr

k57597907-netizen/code-to-prd920linjerry-stack/capital-studioadya84/ha-world-cup-2026
Stars161616
LanguagePythonPythonPython
Setup difficultyeasyeasyeasy
Complexity2/53/52/5
Audiencepm founderresearchergeneral

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 30min

Requires Codex with its skill installer, or Python 3 for the standalone scripts.

in plain english

code-to-prd is a skill for OpenAI's Codex that reads an existing codebase and turns it into a Product Requirements Document, or PRD. Instead of writing code, it works in reverse: you point it at a GitHub repository, a local checkout, a frontend app, a backend service, or a full stack project, and it produces documentation that describes what the product does, aimed at people who are not reading the source code directly. The skill scans the project's structure, the framework it uses, its routes and pages, its API endpoints, its data models, its enums, its permission rules, and how data flows between parts of the app. It also tries to tell the difference between real API calls and mock or fixture data, so the resulting document reflects what the software actually does rather than placeholder examples. It works across frontend, backend, and full stack codebases. The output is a folder of PRD documents: a system overview, page level docs describing each screen or view, an inventory of API endpoints, a dictionary of enum values used in the code, and a map of how pages relate to each other. The writing style aims to be readable by business stakeholders while still keeping the implementation details engineers or coding agents would need. This particular fork is set up for Codex users, with extra attention paid to Chinese language prompts, since the README shows example requests in Chinese such as asking the skill to break down a GitHub repo and generate a PRD in Chinese. It is installed through Codex's built in skill installer, pointing at this GitHub repository, and includes two plain Python scripts that can also be run directly: one that analyzes a codebase and produces a JSON or markdown summary, and one that scaffolds a PRD folder from that summary. The project is based on an existing MIT licensed code-to-prd skill from another author, credited in the README.

prompts (copy fr)

prompt 1
Use code-to-prd to analyze this project and generate a PRD.
prompt 2
Use code-to-prd to break down this GitHub repository and output a Chinese language PRD.
prompt 3
Run codebase_analyzer.py on my project and summarize the routes, APIs, and enums it finds.
prompt 4
Use prd_scaffolder.py to turn my analysis.json into a starter PRD folder.

Frequently asked questions

what is code-to-prd fr?

A Codex skill that reads an existing codebase and generates a Product Requirements Document describing what the product does.

What language is code-to-prd written in?

Mainly Python. The stack also includes Python, Codex.

How hard is code-to-prd to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is code-to-prd for?

Mainly pm founder.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.