Agent Skills
› NeverSight/learn-skills.dev
› shell-ui
shell-ui
GitHub负责应用全局UI状态、布局、导航和主题,采用无区域信号驱动模式。仅使用独立组件和Angular控制流,遵循Material Design 3规范,确保无障碍访问,不处理业务逻辑。
Trigger Scenarios
修改应用外壳或全局UI
实现跨切面UI状态如主题或通知
配置全局导航路由
Install
npx skills add NeverSight/learn-skills.dev --skill shell-ui -g -y
SKILL.md
Frontmatter
{
"name": "shell-ui",
"description": "Shell module patterns for src\/app\/shell, covering global UI state, layout composition, navigation, theming with Material Design 3 tokens, and zone-less signal-first presentation boundaries; use when changing app chrome or global UI concerns."
}
Shell UI
Intent
Own global application chrome and cross-cutting UI state (navigation, theme, notifications) without leaking business logic.
Responsibilities
- Layout composition, global navigation, and app-level UI scaffolding.
- Global UI state stores (theme, toasts/snackbars, search UI state) when truly cross-cutting.
Boundaries
- Shell does not own capability business logic.
- Shell consumes application-facing signals; it does not call repositories directly.
UI Rules
- Standalone components only.
- Bind templates to signals only using Angular control flow.
- Use Material 3 tokens; avoid hardcoded CSS values for color/typography.
Navigation
- Prefer router-driven composition and lazy loading.
- Use functional guards/resolvers with
inject().
Accessibility
- Ensure keyboard navigation, focus visibility, semantic landmarks, and skip links for global layout.
Version History
- e0220ca Current 2026-07-05 21:27


