cyberneticlibrary

Generate PRD from any codebase automatically

code-to-prdpluginsetup L217,464
alirezarezvani/claude-skills
What it does

Reverse-engineer codebases into Product Requirements Documents

Best for

Teams needing to document legacy systems or onboard new engineers when existing PRDs are missing or outdated.

Inputs
  • · Codebase path or repo URL
  • · Technology stack (React, Vue, Django, FastAPI, etc.)
  • · Scope (frontend/backend/fullstack)
Outputs
  • · Executable PRD extracted from code (routes, components, models, APIs)
  • · Feature list and user flows
  • · Data models and integrations
  • · Technical debt and extensibility notes
Requires
  • · File system reader
  • · Code parser (language-specific AST or regex)
Preconditions
  • · Codebase must be readable (source code accessible, not compiled binary)
  • · Technology stack must be within supported frameworks (React, Vue, Angular, Next.js, Django, Express, FastAPI, NestJS)
  • · PRD output quality depends on code clarity (well-organized repos yield better docs)
Failure modes
  • · Poorly organized codebases may yield confusing PRD structures
  • · Generated PRDs can miss implicit business rules (automation-only)
  • · Large monoliths may produce PRDs too broad to be actionable
  • · Undocumented API contracts may be guessed incorrectly
Trust signals
  • · Supports major frameworks (React, Vue, Django, FastAPI, Express)
  • · Deterministic parsing from AST or code patterns
  • · Output is refactorable (PRD can be edited post-generation)