Feature Scaffold
Rule: Copy the pattern that already exists — never invent structure from scratch.
Steps
Run project-scan to understand the actual project state:
bash ~/.claude/skills/project-scan/scripts/scan.shIdentify the existing module closest to what you're building — use it as reference. Look at: folder structure, file naming, how imports are organized.
List what the new feature needs based on what you found:
- Files to create (same naming as reference, different domain only)
- Registrations required (module imports, decorators, DI)
- Cross-cutting concerns to connect (guards, filters, pipes)
Create files in the exact same structure as the reference module. If reference has
users/dto/, new module has{domain}/dto/.Register the new module exactly where and how existing ones are registered.