Commit Graph

3 Commits

Author SHA1 Message Date
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
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