用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/SAP/fundamental-ngx --skill update-docs命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Add, rename, or remove i18n translation keys in fundamental-ngx (updates FdLanguage interface, .properties files, and generated types)
Audit existing code against project conventions and Angular 22+ best practices
Migrate a component or directive to Angular 22+ signal-based patterns
基于 SOC 职业分类
正在显示 SKILL.md
| name | update-docs |
| description | Verify and update documentation examples to match a component's current public API |
| argument-hint | ["component-path-or-folder"] |
| context | fork |
| agent | general-purpose |
If $ARGUMENTS is empty, ask the user for a component path or folder before proceeding.
Verify that documentation examples are in sync with the component's current public API. If a path to a component is given, find its corresponding docs. If a docs path is given, find the component it documents.
Component locations: libs/core/<component>/ or libs/platform/<component>/
Docs locations: libs/docs/core/<component>/ or libs/docs/platform/<component>/
Read:
.ts file — extract all input(), output(), model(), @Input(), @Output() declarations<component>-docs.component.ts and .html)examples/ folderFor each public input/output/model on the component:
<description> block?Flag inputs/outputs that exist in the component but are not documented anywhere.
For each example file:
*Module classes@fundamental-styles/common-css utility classes — no inline styles where avoidableFor each <description> block in the docs HTML:
<code> tags match the actual component APIFor each issue found:
<code> tags and descriptions to match current APIyarn format
nx run docs:build
Report what was updated and what remains undocumented (with rationale if intentional, e.g. internal-only inputs).
## Docs Sync Report: [component name]
### Updated
- [file:line] What was changed and why
### Undocumented API
| Input/Output | Type | Reason |
|-------------|------|--------|
| `appendTo` | input | Not demonstrated — added to description |
| `_internalFlag` | input | Internal — intentionally undocumented |
### Convention Fixes
- [file] Replaced ModuleX with individual imports
- [file] Replaced inline styles with sap-flex classes