alfredoperez avatar

Angular Best Practices Material

This is a companion skill for Angular Material and CDK work, meant to run alongside the core angular-best-practices skill from the same author. It pushes you toward selective imports for tree-shaking, the M3 theming API with design tokens, and CDK primitives instead of rolling your own overlay or virtual scroll logic. The test harness rule is the standout here: Material's harnesses let you write component tests that don't break when the internal DOM changes, which saves real maintenance time. Only activates for @angular/material and @angular/cdk code, so it won't interfere if you're using PrimeNG or another component library.

skills.sh installs
522
GitHub stars
36
last updated
Jun 3, 2026

Install

$ npx -y skills add alfredoperez/angular-best-practices --skill angular-best-practices-material --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/alfredoperez/angular-best-practices
Category
Frontend Development
First seen
Jun 3, 2026

More from alfredoperez/angular-best-practices

All 10
1alinaqi avatarreact-nativealinaqi/claude-bootstrapreact native517skills.sh installs
2different-ai avatartauri-solidjsdifferent-ai/openworkTauri 2.x + SolidJS stack for OpenWork native app515skills.sh installs
3manutej avatarresponsive-designmanutej/luxor-claude-marketplaceMobile-first responsive design covering fluid layouts, media queries, flexbox, grid, viewport units, and responsive images513skills.sh installs
4posthog avatarreact-doctorposthog/posthogDiagnose and fix React codebase health issues. Use when reviewing React code, fixing performance problems, auditing security, or improving code quality.507skills.sh installs
5sickn33 avatarcc-skill-frontend-patternssickn33/antigravity-awesome-skillsfrontend patterns495skills.sh installs
6vercel avatarreact-best-practicesvercel/vercel-pluginreact best practices491skills.sh installs