Reza Rezvani
fd1d86ba0b
fix(code-to-prd): achieve 97.6 validator score — frontmatter, sections, expected outputs
...
- SKILL.md frontmatter: add Name, Tier, Category, Dependencies, Author,
Version as capitalized top-level keys (validator requirement)
- SKILL.md sections: add Name and Description headings (validator requirement)
- Add expected_outputs/ with 3 sample files: PRD README, page doc, enum dict
- prd_scaffolder.py: add validate_analysis(), --validate-only, --dry-run
flags, structured print_summary() — now 333 LOC (was 255, within 300-500)
- Add scripts/.gitignore to exclude generated prd/ test output
Scores: validator 65→97.6 (EXCELLENT), quality 51→73.2 (B-), scripts 2/2 PASS
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-17 13:18:33 +01:00
Reza Rezvani
530ecab247
fix(code-to-prd): pass skill-tester validation — README, assets, frontmatter, imports
...
- Add README.md with quick start, framework table, output structure
- Add assets/sample-analysis.json for script testing
- Expand SKILL.md frontmatter with version, author, category, tier, dependencies
- Add Features, Usage, Examples sections to SKILL.md
- Remove __future__ imports, fix str|None → Optional[str] for Python 3.9 compat
- Validation: 65→85.7, quality: 51→62.1, scripts: 2/2 PASS
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-17 12:43:22 +01:00
Reza Rezvani
4b7a084ee3
feat(code-to-prd): expand to fullstack — add NestJS, Django, Express, FastAPI support
...
- Rename frontend_analyzer.py → codebase_analyzer.py — now detects backend
frameworks via package.json (NestJS, Express, Fastify) and project files
(manage.py, requirements.txt for Django, FastAPI, Flask)
- Add backend route extraction: NestJS @Controller/@Get decorators,
Django urls.py path() patterns
- Add model/entity extraction: Django models.Model fields, NestJS @Entity
and DTO classes
- Add stack_type detection (frontend / backend / fullstack) to analysis output
- SKILL.md: add Supported Stacks table, backend directory guide, backend
endpoint inventory template, backend page type strategies, backend pitfalls
- references/framework-patterns.md: add NestJS, Express, Django, DRF, FastAPI
pattern tables + database model patterns + backend validation patterns
- references/prd-quality-checklist.md: add backend-specific checks (endpoints,
DTOs, models, admin, middleware, migrations)
- Update all descriptions and keywords across plugin.json, settings.json,
marketplace.json, and /code-to-prd command
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-17 12:28:30 +01:00
Reza Rezvani
70ada54c95
feat(code-to-prd): add ecosystem integration — command, settings, marketplace
...
- Fix plugin.json version: 1.0.0 → 2.1.2 (repo versioning)
- Add /code-to-prd slash command (4-step workflow: analyze → scaffold → fill → finalize)
- Add settings.json with command registration and platform metadata
- Add code-to-prd entry to marketplace.json with keywords and category
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-17 12:20:16 +01:00
Leo
e6c7b0b87d
docs(code-to-prd): add attribution to @lihanglogan as inspiration source
...
Credits the original code-to-prd concept and methodology from
https://github.com/lihanglogan/code-to-prd (PR #368 ).
2026-03-17 12:04:56 +01:00
Leo
164749cb73
feat(code-to-prd): add analysis scripts, references, and tooling docs
...
- frontend_analyzer.py: scans codebase for routes, APIs, enums, framework detection
- prd_scaffolder.py: generates PRD directory with README, page stubs, appendix
- references/framework-patterns.md: React, Next.js, Vue, Nuxt, Angular, Svelte patterns
- references/prd-quality-checklist.md: validation checklist for generated PRDs
- SKILL.md updated with tooling section
Both scripts are stdlib-only (no pip install).
2026-03-17 12:00:56 +01:00
Leo
e153e818b4
feat(product-team): add code-to-prd skill — reverse-engineer frontend into PRD
...
Analyzes routes, components, state, APIs, and interactions to generate
complete Product Requirements Documents. Framework-agnostic (React, Vue,
Angular, Svelte, Next.js, Nuxt). Three-phase workflow: global scan,
page-by-page deep analysis, structured doc generation.
Inspired by community contribution (PR #368 ) but rebuilt from scratch
in English with enhanced coverage for mock API detection, field
interdependencies, and execution pacing strategies.
2026-03-17 11:56:07 +01:00