angular-best-practices-material by alfredoperez/angular-best-practices
npx skills add https://github.com/alfredoperez/angular-best-practices --skill angular-best-practices-material适用于组件使用、主题定制和测试的 Angular Material 与 CDK 规则。结合核心技能 angular-best-practices 使用,以获得全面的 Angular 覆盖。
| 规则 | 影响程度 | 描述 |
|---|---|---|
| 选择性导入 Material 模块 | 中等 | 通过独立导入实现未使用组件的摇树优化 |
| 使用 Angular Material 主题系统 | 中等 | 基于 CSS 自定义属性的 M3 主题 API |
| 优先使用 CDK 工具而非自定义实现 | 中等 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 经过实战检验的覆盖层、虚拟滚动和可访问性基础工具 |
| 使用测试工具集测试 Material 组件 | 高 | 稳定的测试,可应对内部 DOM 变更 |
每周安装量
87
仓库
GitHub 星标数
19
首次出现
2026年2月10日
安全审计
已安装于
github-copilot82
codex80
opencode80
gemini-cli78
amp77
kimi-cli77
Angular Material and CDK rules for component usage, theming, and testing. Use with the core angular-best-practices skill for comprehensive Angular coverage.
| 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 from skills.sh/alfredoperez/angular-best-practices:
Weekly Installs
87
Repository
GitHub Stars
19
First Seen
Feb 10, 2026
Security Audits
Gen Agent Trust HubPassSocketWarnSnykPass
Installed on
github-copilot82
codex80
opencode80
gemini-cli78
amp77
kimi-cli77
TanStack Table 中文指南:React 无头表格库,实现排序过滤分页
518 周安装