ワンクリックで
new-component
Workflow for creating a new UI component in @jsenv/navi. Use when implementing a new frontend component from scratch.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Workflow for creating a new UI component in @jsenv/navi. Use when implementing a new frontend component from scratch.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
How to run and verify the `*_demo.html` files scattered across packages (e.g. packages/frontend/navi/src/control/demos/). Use when the user explicitly asks to load a demo in a browser / Playwright to check it works — not proactively (see .agents/instructions.md's "never verify on your own initiative" constraint).
How to write and run tests in @jsenv/core. Use when adding, running, or understanding tests in any package of this monorepo.
| name | new-component |
| description | Workflow for creating a new UI component in @jsenv/navi. Use when implementing a new frontend component from scratch. |
New components in @jsenv/navi follow a consistent pattern: start simple, layer in action support, then add accessibility.
renderActionableComponent pattern to wire up data fetchingInput component with type-specific behaviorField wrapper for labels, validation, constraintsuseActionBoundToFormParams for form integration@jsenv/validation<a> tags with action execution for linksDetails component for collapsible content with nav state persistenceAdd a @type {import("preact").FunctionComponent<{ ... }>} JSDoc block above every exported component so VSCode can autocomplete props.