원클릭으로
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.