Create and scaffold new KIP Host2 widgets using the widget schematic with consistent post-generation implementation, registration, tests, and documentation updates.
Use this skill when creating a new KIP widget or formalizing widget scaffold + post-generation workflow. This skill defines implementation patterns only; policy authority remains in instruction files.
Load .github/instructions/project.instructions.md first, then apply this skill as the implementation companion for Widget Creation Domain Rules and Host2 Widget Contract.
npm run generate:widget.DEFAULT_CONFIG complete and explicit (paths, units, sample time, widget options)..agents/skills/kip-host2-widget/SKILL.mdregisterWidget is enabled.Before creating or changing a widget, the agent should:
.github/instructions/project.instructions.md and .agents/skills/kip-host2-widget/SKILL.md.src/assets/svg/icons.svg can be reused or whether a new icon entry is required.These edits are expected for a standard new widget flow unless the task explicitly scopes them out.
npm run generate:widget -- --name <name> --title <title> --description <description> --icon <icon> --register-widget <category-or-no>DEFAULT_CONFIG complete and explicit:
convertUnitToregisterWidget is enabled:
widget.service.ts uses the correct component, icon ID, description, and categorysrc/assets/svg/icons.svgwidget.service.ts.agents/skills/kip-host2-widget/SKILL.mdsrc/assets/help-docs/ when neededsrc/assets/help-docs/menu.json when a new help page is addedApply these branches only when the widget behavior requires them.
src/app/widget-config/GET /plugins/kip/seriesignoreZones behavior if that option is supportedDo not consider the widget work complete until the applicable gates pass.
registerWidget is enabledsrc/assets/svg/icons.svgignoreZones disables zone behavior cleanly when supportedStop and resolve the issue before proceeding if any of the following occur:
widget.service.ts registration is missing, inconsistent, or points to the wrong icon/component/category..github/instructions/*.md into skill docs..github/instructions/project.instructions.md.agents/skills/kip-host2-widget/SKILL.mddocs/widget-schematic.mdCOPILOT.md (architecture context, non-policy)