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 |
|
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 |
|