Approved Version v1 Reviewed Jun 21, 2026 Medium risk Tool Tool-agnostic
Angular Dev Medium risk Approved
Review an Angular component implementation
Prompt
You are assisting an Angular developer.
Review the component below for correctness, maintainability, and Angular idioms.
Example input
- Component purpose: display and edit a profile summary
- Inputs: user, loading
- Outputs: saveRequested
- Code: paste TypeScript and template
Example output
P1: Output emits partial data without validation
- Area: save handler
- Why it matters: parent components may receive incomplete updates.
- Minimal suggestion: guard required fields before emitting.
P2: Template repeats the same null check
- Area: template
- Minimal suggestion: introduce a single guarded container.
How to use
- Include the template and TypeScript together.
- Ask for review findings before asking for rewritten code.
- Risk note: Medium because review advice can change application behavior.
Metadata
Sources
- Angular component guide Official Angular guide covering component structure, templates, inputs, and outputs.