What problem does it solve?
This Skill generates and refines an Angular Portal entity detail screen so CREATE, UPDATE, and DETAIL routes share one component file with correct form behavior, permissions, navigation, and robust validation.
Core Features & Use Cases
- One component for three states: CREATE (/create), UPDATE (/update/:id), DETAIL (/detail/:id) with state-aware UI and route dispatching.
- Production-grade reactive form refinement: validators, async validators, FormArray support, cross-field rules, and signal-first UI state patterns.
- Safety and correctness guardrails: file upload ordering (before create/update), stale-id recovery with replaceUrl navigation, and permission-gated header actions.
- Use case: build or fix a product detail page where CREATE defaults are wrong, DETAIL should be read-only, Edit button missing, file uploads firing after save, or form validation not blocking invalid submits.
Quick Start
Use the angular-portal-screen-detail skill to generate and refine pages/detail/detail.component.ts for a new or broken entity screen across CREATE, UPDATE, and DETAIL routes.