- 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>
26 lines
729 B
Markdown
26 lines
729 B
Markdown
# Enum Dictionary
|
|
|
|
All enums, status codes, and constant mappings found in the codebase.
|
|
|
|
## UserRole
|
|
|
|
**Source:** `types/user.ts`
|
|
**Type:** TypeScript enum
|
|
|
|
| Value | Label | Description |
|
|
|-------|-------|-------------|
|
|
| `admin` | Admin | Full system access, can manage all users |
|
|
| `manager` | Manager | Can view and edit users, cannot delete |
|
|
| `user` | User | Read-only access |
|
|
|
|
## STATUS_MAP
|
|
|
|
**Source:** `constants/status.ts`
|
|
**Type:** Constant map
|
|
|
|
| Key | Display Value | Color | Description |
|
|
|-----|--------------|-------|-------------|
|
|
| `active` | Active | Green | Normal active account |
|
|
| `inactive` | Inactive | Gray | Account disabled by user |
|
|
| `suspended` | Suspended | Red | Account suspended by admin |
|