mirror of
https://github.com/alirezarezvani/claude-skills.git
synced 2026-12-01 23:27:17 +00:00
- Rewrite code-reviewer, self-improving-agent, session-handoff, handoff and si:remember descriptions to lead with the user's ask; trigger evals go from 1/24 to 15/28 positive hits with no false fires. - Move OWASP references from Top 10:2021 to Top 10:2025 (pen-testing scanner, checklist, report example, secops/backend/security references) with a 2021-to-2025 mapping table and new A10 Mishandling of Exceptional Conditions. - Replace deprecated datetime.utcnow() in 15 scripts and hooks with identical output, and block it in CI. - Make gate G9 blocking as a ratchet over a 240-tool legacy baseline. - Fix INSTALLATION.md drift (Vibe flat layout, Codex advice, skill counts), add install lines to 35 plugin READMEs, regenerate all 20 agent-harness manifests and the docs site. - Bump the 43 changed plugins to 2.14.2. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018HXynYUKMCEpmhMQjyTx8J
1.8 KiB
1.8 KiB
Code → PRD
Reverse-engineer any codebase into a complete Product Requirements Document (PRD).
Quick Start
/plugin marketplace add alirezarezvani/claude-skills
/plugin install code-to-prd@claude-code-skills
# One command
/code-to-prd /path/to/project
# Or step by step
python3 scripts/codebase_analyzer.py /path/to/project -o analysis.json
python3 scripts/prd_scaffolder.py analysis.json -o prd/ -n "My App"
Supported Frameworks
| Stack | Frameworks |
|---|---|
| Frontend | React, Vue, Angular, Svelte, Next.js, Nuxt, SvelteKit, Remix |
| Backend | NestJS, Express, Django, DRF, FastAPI, Flask |
| Fullstack | Next.js (pages + API), Nuxt (pages + server), Django (views + templates) |
What It Generates
prd/
├── README.md # System overview
├── pages/
│ ├── 01-user-mgmt-list.md # Per-page/endpoint docs
│ └── ...
└── appendix/
├── enum-dictionary.md # All enums and status codes
├── api-inventory.md # Complete API reference
└── page-relationships.md # Navigation and data coupling
Scripts
| Script | Purpose |
|---|---|
codebase_analyzer.py |
Scan codebase → extract routes, APIs, models, enums |
prd_scaffolder.py |
Generate PRD directory skeleton from analysis JSON |
Both are stdlib-only — no pip install needed. Run --help for full usage.
References
references/framework-patterns.md— Route, state, API, form, and model patterns per frameworkreferences/prd-quality-checklist.md— Validation checklist for completeness and accuracy
Attribution
Inspired by code-to-prd by @lihanglogan.
License
MIT