Angular — 技能工具
v1.0.1Avoid common Angular mistakes — subscription leaks, change detection, dependency injection, and module organization.
3· 1,227·8 当前·8 累计
安全扫描
OpenClaw
安全
high confidenceThis is an instruction-only Angular best-practices skill whose requested resources and instructions match its description; it contains no installers, no code, and asks for no credentials.
评估建议
This skill is just static guidance (Markdown) about Angular best practices and does not request credentials or install code — that makes it low-risk and consistent with its description. Before sharing, remember: an agent using this skill might ask you to paste project code or configs to give concrete advice; only share code you are comfortable exposing. If you plan to allow the agent autonomous access to your repositories or environment later, consider limiting that access and reviewing any prop...详细分析 ▾
✓ 用途与能力
Name/description (Angular best practices) align with the provided files: components.md, rxjs.md, di.md, forms.md, http.md, routing.md and an overview SKILL.md. There are no unrelated environment variables, binaries, or install steps requested.
✓ 指令范围
SKILL.md and the included Markdown files contain only guidance about Angular pitfalls and patterns. They do not instruct the agent to read local system files, access credentials, send data to external endpoints, or run arbitrary commands. They stay within the stated purpose.
✓ 安装机制
No install spec and no code files are included. Because this is instruction-only, nothing is written to disk or downloaded during install — minimal install risk.
✓ 凭证需求
The skill declares no required environment variables, credentials, or config paths. There are no requests for unrelated secrets or broad permissions that would be disproportionate to an Angular guidance skill.
✓ 持久化与权限
Flags are default (always: false, user-invocable: true, agent invocation allowed). The skill does not request permanent presence or modify other skills/configurations. Autonomous invocation is allowed by default but is not combined with other red flags here.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.12026/2/10
Initial release
● 无害
安装命令 点击复制
官方npx clawhub@latest install angular
镜像加速npx clawhub@latest install angular --registry https://cn.clawhub-mirror.com
技能文档
When to Use
User needs Angular expertise — component architecture, RxJS patterns, change detection, dependency injection, routing, and forms.
Quick Reference
| Topic | File |
|---|---|
| Components & change detection | components.md |
| RxJS & subscriptions | rxjs.md |
| Forms & validation | forms.md |
| Dependency injection | di.md |
| Routing & guards | routing.md |
| HTTP & interceptors | http.md |
Common Mistakes
OnPushwith mutated objects won't trigger change detection — always create new reference:{...obj}or[...arr]@ViewChildis undefined in constructor/ngOnInit— access inngAfterViewInitor later*ngForwithouttrackByre-renders entire list on any change — addtrackByreturning stable ID- Manual
subscribe()without unsubscribe leaks memory — useasyncpipe,takeUntilDestroyed(), or unsubscribe inngOnDestroy HttpClientreturns cold Observable — eachsubscribe()fires new HTTP requestsetTimeout/setIntervaloutside NgZone — change detection won't run, useNgZone.run()or signals- Circular DI dependency crashes app — use
forwardRef()or restructure services ElementRef.nativeElementdirect DOM access breaks SSR — useRenderer2or@defer- Route params via
snapshotmiss navigation changes — useparamMapObservable for same-component navigation setValue()on FormGroup requires ALL fields — usepatchValue()for partial updates
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制