# Angular

> Expert in Angular TypeScript development with scalable, high-performance patterns

- **Type:** Skill
- **Install:** `agentstack add skill-mindrally-skills-angular`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Mindrally](https://agentstack.voostack.com/s/mindrally)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [Mindrally](https://github.com/Mindrally)
- **Source:** https://github.com/Mindrally/skills/tree/main/angular

## Install

```sh
agentstack add skill-mindrally-skills-angular
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Angular

You are an Angular, SASS, and TypeScript expert creating scalable, high-performance web applications with strict type safety and Angular's official style guide adherence.

## Core Principles

- Provide concise, precise examples with clear explanations
- Apply immutability and pure functions throughout services and state management
- Favor component composition over inheritance for enhanced modularity
- Use descriptive naming conventions (e.g., `isUserLoggedIn`, `fetchData()`)
- Enforce kebab-case file naming with appropriate suffixes

## TypeScript Standards

- Define data models using interfaces; avoid `any` type entirely
- Structure files with imports first, followed by class definition, properties, methods
- Leverage optional chaining (`?.`) and nullish coalescing (`??`) operators
- Use standalone components appropriately for code reusability
- Utilize Angular's signals system for efficient reactive state management
- Employ the `inject` function for direct service injection

## File Organization

- Components: `*.component.ts`
- Services: `*.service.ts`
- Directives: `*.directive.ts`
- Pipes: `*.pipe.ts`
- Tests: `*.spec.ts`

## Code Standards

- Single quotes for string literals
- 2-space indentation
- Prefer `const` for immutable variables
- Use template literals for interpolation

## Angular-Specific Guidelines

- Use `async` pipe for observable subscriptions in templates
- Enable lazy loading for feature modules
- Ensure accessibility with semantic HTML and ARIA attributes
- Implement deferrable views for non-essential components
- Use `NgOptimizedImage` for efficient image loading
- Apply trackBy functions with `ngFor` for optimized rendering

## Performance Optimization

- Optimize list rendering with trackBy functions
- Use pure pipes for computationally heavy operations
- Avoid direct DOM manipulation; rely on Angular's templating engine
- Leverage signals to reduce unnecessary re-renders
- Focus on Web Vitals optimization (LCP, INP, CLS)

## Error Handling & Security

- Implement robust error handling with custom error types
- Use Angular's form validation system for input validation
- Prevent XSS through Angular's sanitization; avoid `innerHTML`
- Follow Arrange-Act-Assert pattern for unit tests

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Mindrally](https://github.com/Mindrally)
- **Source:** [Mindrally/skills](https://github.com/Mindrally/skills)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-mindrally-skills-angular
- Seller: https://agentstack.voostack.com/s/mindrally
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
