CtrlK
BlogDocsLog inGet started
Tessl Logo

code-to-prd

Reverse-engineer any codebase into a complete Product Requirements Document (PRD). Analyzes routes, components, state management, API integrations, and user interactions to produce business-readable documentation detailed enough for engineers or AI agents to fully reconstruct every page and endpoint. Works with frontend frameworks (React, Vue, Angular, Svelte, Next.js, Nuxt), backend frameworks (NestJS, Django, Express, FastAPI), and fullstack applications. Use when users mention: generate PRD, reverse-engineer requirements, code to documentation, extract product specs from code, document page logic, analyze page fields and interactions, create a functional inventory, write requirements from an existing codebase, document API endpoints, or analyze backend routes.

69

Quality

85%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

The canonical home for this skill is code-to-prd in alirezarezvani/claude-skills

SKILL.md
Quality
Evals
Security

Quality

Content

71%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The content is highly actionable with a clear sequenced workflow and concrete templates/commands, but it is held back by redundancy (framework list repeated, frontmatter restated) and a progressive-disclosure problem: the referenced scripts and reference files are missing from the bundle while heavy reference material is inlined.

Suggestions

De-duplicate the framework list — keep it in one place (e.g. the Supported Stacks table) and remove the repeats in Features and Tooling, and drop the body's Name/Description sections that restate the frontmatter.

Move the full README/per-page templates, Common Pitfalls, and Page Type Strategies into the referenced files (`references/framework-patterns.md`, a new templates reference) so SKILL.md stays an overview; ensure every referenced path resolves to an actual bundle file.

Add an explicit inline validation checkpoint at the end of Phase 2/3 (e.g. "run the quality checklist and fix any [TBC] items before finalizing") so the workflow has a concrete feedback loop rather than relying on a referenced checklist.

DimensionReasoningScore

Conciseness

The body is mostly efficient reference material, but it carries padding: the supported-framework list appears three times (Features, the Supported Stacks table, and the Tooling/References areas), the frontmatter Name/Description is restated verbatim in the body, and it explains basics Claude already knows (e.g., what a controller/service/serializer is).

3 / 5

Actionability

It provides concrete, executable commands (e.g. `python3 scripts/codebase_analyzer.py /path/to/project -o analysis.json`), full copy-paste-ready README and per-page Markdown templates, structured field/extraction tables, and a named field-extraction priority list — fully actionable guidance covering the common cases.

5 / 5

Workflow Clarity

A clear 3-phase sequence (global scan → page-by-page analysis → document generation) is laid out with an explicit batch checkpoint ("Output each batch for user review before proceeding") and a quality checklist for validation, but inline validation/feedback loops are not woven through each phase and the checklist lives in a referenced file rather than as an inline step.

4 / 5

Progressive Disclosure

Section structure is clear and references are signaled in Tooling/References tables, but the referenced bundle files (`scripts/codebase_analyzer.py`, `scripts/prd_scaffolder.py`, `references/prd-quality-checklist.md`, `references/framework-patterns.md`) do not exist in the bundle, and substantial content that could live in those files (full templates, the Common Pitfalls table, Page Type Strategies) is inlined in SKILL.md.

3 / 5

Total

15

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is strong across all dimensions: it states concrete capabilities in third person, provides an explicit and comprehensive trigger clause answering both "what" and "when", and occupies a clearly distinct niche. It is a model example of the rubric's top anchors.

DimensionReasoningScore

Specificity

Names multiple concrete actions in third person — "Analyzes routes, components, state management, API integrations, and user interactions to produce business-readable documentation" and to "fully reconstruct every page and endpoint" — giving comprehensive, specific coverage rather than vague language.

5 / 5

Completeness

Clearly answers both "what" (reverse-engineer a codebase into a complete PRD with route/component/API analysis) and "when" (an explicit trigger clause with concrete phrases), matching the top anchor.

5 / 5

Trigger Term Quality

The explicit "Use when users mention:" clause lists many natural phrases a user would actually say ("generate PRD", "reverse-engineer requirements", "code to documentation", "document API endpoints") with good synonym coverage.

5 / 5

Distinctiveness Conflict Risk

Generating a PRD by reverse-engineering an existing codebase is a distinct niche with specific triggers, posing minimal overlap risk against generic documentation or coding skills.

5 / 5

Total

20

/

20

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 1 missing

Warning

referenced_paths_exist

Referenced path issues: 9 missing

Warning

Total

14

/

16

Passed

Repository
alirezarezvani/claude-skills
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.