home / skills / ehtbanton / claudeskillsrepo / angular-component-generator
This skill generates a complete Angular standalone component with TypeScript, HTML template, and SCSS styles for Angular 17+ projects.
npx playbooks add skill ehtbanton/claudeskillsrepo --skill angular-component-generatorReview the files below or copy the command above to add this skill to your agents.
---
name: angular-component-generator
description: Generate Angular components with TypeScript, templates, and styles. Triggers on "create angular component", "generate ng component", "angular module", "ng generate".
---
# Angular Component Generator
Generate Angular components with TypeScript, templates, and SCSS styles.
## Output Requirements
**File Output:** `*.component.ts`, `*.component.html`, `*.component.scss`
**Format:** Valid Angular 17+
**Standards:** Angular standalone components
## When Invoked
Immediately generate a complete Angular component with template and styles.
## Example Invocations
**Prompt:** "Create Angular button component"
**Output:** Complete button component with all files.
This skill generates complete Angular standalone components (TypeScript, HTML template, and SCSS) ready for Angular 17+. It produces three files per component (*.component.ts, *.component.html, *.component.scss) following Angular conventions. Use simple prompts like "create angular component" or "generate ng component" to trigger generation.
When invoked, the skill creates a valid Angular standalone component with a typed TypeScript class, a semantic HTML template, and SCSS styles. It respects Angular 17+ APIs, uses standalone: true, and includes common decorators, Inputs/Outputs, and accessibility attributes when relevant. The output is ready to drop into an Angular project and import into other components or routes.
Which Angular versions are supported?
This skill targets Angular 17+ and generates standalone component APIs compatible with those versions.
What files are produced?
It produces three files per component: *.component.ts, *.component.html, and *.component.scss.
Can I request Inputs, Outputs, or services in the generated component?
Yes—include details in the prompt (e.g., inputs, outputs, injected services) and the scaffold will include typed definitions and examples.