en un clic
project-requirements-md
// Generate a CodeWiki project requirements report in Markdown format from an existing codebase. Same report scope as the HTML CodeWiki—presented as `.md` for plain-text reading, Git diffs, and Markdown previewers.
// Generate a CodeWiki project requirements report in Markdown format from an existing codebase. Same report scope as the HTML CodeWiki—presented as `.md` for plain-text reading, Git diffs, and Markdown previewers.
Generate a CodeWiki project requirements report in interactive HTML format from an existing codebase. Same report scope as the Markdown CodeWiki—browser-openable with search, filters, collapsible API cards, and inline SVG/CSS diagrams.
Use when starting any conversation - establishes how to find and use Codemini skills before acting
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
| name | project-requirements-md |
| description | Generate a CodeWiki project requirements report in Markdown format from an existing codebase. Same report scope as the HTML CodeWiki—presented as `.md` for plain-text reading, Git diffs, and Markdown previewers. |
| version | 0.1.0 |
Use this skill to reverse-engineer a project into a CodeWiki requirements report in Markdown format—the same structured analysis as the HTML CodeWiki, presented as .md for plain-text review.
This is the Markdown CodeWiki report skill. It produces the same report scope as project-requirements, but in Markdown. Do not produce the interactive HTML report here; the HTML version uses the separate project-requirements skill.
This command always outputs Markdown. Do not pass --html or other HTML format flags here; use /project-requirements --html for the same CodeWiki report in HTML format.
User request:
{{args}}
Honor any concrete user request above, such as focus area, API subset, diagram style, language, report path, or sections to omit.
Follow the active reply language from the system prompt for all generated report prose, headings, labels, summaries, comments, and open questions unless the user explicitly requests a different language. Do not translate source code identifiers, file paths, commands, API routes, or REQUIREMENTS_* marker names.
Create the primary report at:
docs/requirements/{{date}}-project-requirements.md
The runtime pre-creates a Markdown template at the primary path. Treat it as the canonical template and replace every REQUIREMENTS_* marker section with finished report content. Preserve useful metadata, source paths, and traceability. Remove template-only comments before final delivery.
Do not create an HTML companion unless the user explicitly asks for both formats.
EXTRACTED, INFERRED, and UNKNOWN labels in plain text table cells.REQUIREMENTS_* marker names until final cleanup.README.md, OPERATIONS.md, docs/, and deployment notes.rg for routes, handlers, controllers, commands, schemas, migrations, HTTP verbs, RPC methods, queue handlers, and CLI subcommands.EXTRACTED: behavior directly supported by source code, docs, tests, config, or schemas.INFERRED: reasonable product requirement inferred from code relationships.UNKNOWN: requirement, owner, actor, edge case, or business rule that needs user confirmation.EXTRACTED, INFERRED, and UNKNOWN labels are used correctly..md is readable as plain text.UNKNOWN.Use the pre-created template structure unless the project strongly suggests a better one:
UNKNOWN items.For each API, command, handler, or externally visible interface, include:
Name:
Type:
Route/command/function:
Evidence:
Actor:
Goal:
Inputs:
Outputs:
Preconditions:
Main flow:
Alternative flows:
Validation:
Permissions:
Data reads:
Data writes:
Internal dependencies:
External dependencies:
Errors:
Observability:
Acceptance criteria:
Open questions:
The report is complete when:
Avoid duplication between sections:
Open questions should be actionable and specific: