Skip to content
Agentmart
Submit a tool

angular-best-practices

Angular engineering guidelines for standalone apps, signals, RxJS, templates, routing, and rendering performance.

Skill by German Rodriguez

IndexedMIT★ 28
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/grojeda-angular-best-practices

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Angular engineering guidelines for standalone apps, signals, RxJS, templates, routing, and rendering performance. Use this skill when writing, reviewing, or refactoring Angular code to keep components predictable, efficient, and easy to maintain.

Use cases: frontend, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/angular-best-practices

What's inside

Skill name
angular-best-practices
Description
Angular engineering guidelines for standalone apps, signals, RxJS, templates, routing, and rendering performance. Use this skill when writing, reviewing, or refactoring Angular code to keep components predictable, efficient, and easy to maintain.
License
MIT
Metadata
author: German Rodriguez · version: 1.0.0
Instructions
72 lines in SKILL.md · view on GitHub

Files (16)

  • AGENTS.md
  • README.md
  • SKILL.md
  • metadata.json
  • _sections.md · rules/
  • _template.md · rules/
  • change-derive-state.md · rules/
  • change-onpush-signals.md · rules/
  • forms-typed-reactive.md · rules/
  • routing-lazy-standalone.md · rules/
  • routing-resolver-critical-data.md · rules/
  • rxjs-switchmap-cancel.md · rules/
  • rxjs-take-until-destroyed.md · rules/
  • template-avoid-call-expressions.md · rules/
  • template-defer-heavy-ui.md · rules/
  • template-track-identity.md · rules/

SKILL.md (first lines)

# Angular Best Practices

Practical Angular guidance for agents and LLMs. Focuses on modern Angular patterns: standalone APIs, signals, controlled RxJS usage, template efficiency, lazy routing, and predictable state flow.

## When to Apply

Use this skill when:

- Creating Angular components, directives, pipes, or services
- Refactoring Angular applications toward standalone APIs
- Reviewing code for change-detection or template performance issues
- Implementing data loading with RxJS or router-based flows
- Splitting features into lazy-loaded routes

## Rule Categories by Priority

| Priority | Category                   | Impact      | Prefix      |
| -------- | -------------------------- | ----------- | ----------- |
| 1        | Change Detection and State | CRITICAL    | `change-`   |
| 2        | Templates and Rendering    | HIGH        | `template-` |
| 3        | RxJS and Async Flows       | HIGH        | `rxjs-`     |
| 4        | Routing and Bundle Size    | MEDIUM-HIGH | `routing-`  |
| 5        | Forms and Component APIs   | MEDIUM      | `forms-`    |

## Quick Reference

### 1. Change Detection and State (CRITICAL)

- `change-onpush-signals` - Prefer `OnPush` with signals or computed state
- `change-derive-state` - Derive view state instead of synchronizing duplicate state

### 2. Templates and Rendering (HIGH)

- `template-avoid-call-expressions` - Avoid calling expensive methods from templates
- `template-track-identity` - Always track identity in repeated lists
- `template-defer-heavy-ui` - Use `@defer` for heavy below-the-fold UI

### 3. RxJS and Async Flows (HIGH)

- `rxjs-switchmap-cancel` - Use `switchMap` for latest-only request flows
- `rxjs-take-until-destroyed` - Bind subscriptions to component lifecycle

### 4. Routing and Bundle Size (MEDIUM-HIGH)

- `routing-lazy-standalone` - Lazy load standalone screens with `loadComponent` or `loadChildren`
- `routing-resolver-critical-data` - Resolve critical route data before rendering when the screen depends on it

### 5. Forms and Component APIs (MEDIUM)

- `forms-typed-reactive` - Prefer typed reactive forms for non-trivial forms

## How to Use

Read rule files under `rules/` for focused guidance and examples:

```text
rules/change-onpush-signals.md
rules/template-track-identity.md
```

Each rule includes:

- What to do and why it matters
- Incorrect example
- Correct example
- Reference link

## Full Guide

See `AGENTS.md` for the compiled Angular guide.

From grojeda/opencode-config, MIT.

More from grojeda/opencode-config

Signals

Stars
28
Forks
4
Open issues
0
Last commit (this folder)
May 4, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

angular-best-practices skill. Agent Mart. https://agentmart.dev/skills/grojeda-angular-best-practices (last updated 2026-10-24)