skills/alfredoperez/angular-best-practices/angular-best-practices-material

angular-best-practices-material

SKILL.md

Angular Material Best Practices

Angular Material and CDK rules for component usage, theming, and testing. Use with the core angular-best-practices skill for comprehensive Angular coverage.

Links

When to Apply

  • Importing and configuring Material components
  • Setting up M3 theming with design tokens
  • Using CDK utilities for overlays, drag-and-drop, or virtual scrolling
  • Writing tests for Material components

Rules

Rule Impact Description
Import Material Modules Selectively MEDIUM Tree-shake unused components with standalone imports
Use Angular Material Theming System MEDIUM M3 theme API with CSS custom properties
Use CDK Utilities Over Custom Implementations MEDIUM Battle-tested overlays, virtual scroll, and a11y primitives
Use Test Harnesses for Material Components HIGH Stable tests that survive internal DOM changes

Install

Install from skills.sh/alfredoperez/angular-best-practices:

Weekly Installs
110
GitHub Stars
19
First Seen
Feb 10, 2026
Installed on
github-copilot105
codex103
opencode103
gemini-cli101
amp100
kimi-cli100