update-docs
Installation
SKILL.md
Update Documentation: $ARGUMENTS
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.
Phase 1: Map component to docs
Component locations: libs/core/<component>/ or libs/platform/<component>/
Docs locations: libs/docs/core/<component>/ or libs/docs/platform/<component>/
Read:
- The component
.tsfile — extract allinput(),output(),model(),@Input(),@Output()declarations - The docs component (e.g.
<component>-docs.component.tsand.html) - All example files in the docs
examples/folder