mcpField
A
angular-best-practices-material

angular-best-practices-material

github.com/alfredoperezDevelopment36510 installsUpdated 31w ago
Repository

About angular-best-practices-material

A set of Angular Material and CDK practices for developers configuring components, themes, utilities, and tests. It complements the angular-best-practices skill with guidance on selective imports, M3 theming, CDK utilities, and test harnesses.

Key features

  1. 01Selective standalone imports
  2. 02M3 theming with CSS properties
  3. 03CDK overlays and virtual scrolling
  4. 04Material component test harnesses

Use cases

  1. 01Configuring Material components
  2. 02Setting up M3 themes
  3. 03Using CDK overlay or drag-and-drop tools
  4. 04Testing Material components

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/alfredoperez/angular-best-practices --skill angular-best-practices-material

After installing, type/angular-best-practices-materialin Claude Code to confirm it loaded.

Bundled filesAGENTS.md

Details

From the project README

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

RuleImpactDescription
Import Material Modules SelectivelyMEDIUMTree-shake unused components with standalone imports
Use Angular Material Theming SystemMEDIUMM3 theme API with CSS custom properties
Use CDK Utilities Over Custom ImplementationsMEDIUMBattle-tested overlays, virtual scroll, and a11y primitives
Use Test Harnesses for Material ComponentsHIGHStable tests that survive internal DOM changes

Install

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

Comments

Markdown supported