用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/oimiragieo/agent-studio --skill angular-expert命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Agent frontmatter enhancements — disallowedTools, mcpServers scoping, fork_eligible field
Context management — pre-compact persistence, threshold alignment, microcompact/circuit breaker detection
Hook enhancements — updatedInput for bash safety prefixes, suppressOutput for verbose blocks, denial-based routing feedback
正在显示 SKILL.md
基于 SOC 职业分类
| name | angular-expert |
| version | 1.1.0 |
| category | Frameworks |
| agents | ["developer","frontend-pro"] |
| tags | ["angular","typescript","rxjs","components","frontend"] |
| description | Angular framework expert including components, services, RxJS, templates, and testing |
| model | sonnet |
| invoked_by | both |
| user_invocable | true |
| tools | ["Read","Write","Edit","Bash","Grep","Glob"] |
| consolidated_from | 1 skills |
| verified | true |
| lastVerifiedAt | "2026-02-22T00:00:00.000Z" |
| best_practices | ["Use standalone components (Angular 17+ default)","Apply signals for reactive state management","Use OnPush change detection for performance","Unsubscribe from Observables with takeUntilDestroyed() or async pipe","Prioritize type safety and strict TypeScript"] |
| error_handling | graceful |
| streaming | supported |
| source | builtin |
| trust_score | 100 |
| provenance_sha | b8db4d5afb95f9de |
When reviewing or writing code, apply these guidelines:
When reviewing or writing code, apply these guidelines:
When reviewing or writing code, apply these guidelines:
When reviewing or writing code, apply these guidelines:
@Input() values are read-only from the child's perspective; communicate back to the parent via @Output() events or shared services.takeUntilDestroyed(), the async pipe, or DestroyRef; uncleaned subscriptions are the #1 Angular memory leak vector.OnPush change detection for non-trivial components — default change detection triggers on every event everywhere in the tree; OnPush triggers only on input reference changes.any type assertions to bypass TypeScript — type-unsafe code causes runtime errors that strict mode would catch at compile time; use proper types or generics instead.| Anti-Pattern | Why It Fails | Correct Approach |
|---|---|---|
| Using NgModule for new components | Legacy pattern deprecated since Angular 17 | Use standalone components |
| Direct DOM manipulation with ElementRef | Breaks SSR and web worker compatibility | Use Angular renderer or signals |
| Not unsubscribing from Observables | Memory leaks accumulate across component lifecycle | Use async pipe or takeUntilDestroyed() |
| Default change detection on data-heavy components | Unnecessary full-tree checks on every event | Use OnPush change detection strategy |
| Deeply nested imperative subscriptions | Hard to test, lifecycle leak risk | Prefer async pipe in template |
Using any type to bypass compiler | Runtime errors that TypeScript would prevent | Use proper types or unknown with type guards |
This expert skill consolidates 1 individual skills:
Before starting:
cat .claude/context/memory/learnings.md
After completing: Record any new patterns or exceptions discovered.
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.