jp-ui-consumer
Use when consuming jp-ui in an app: installation, CSS/theme setup, component selection, and token usage; guide Codex to the jp-ui docs and types for implementation details.
When & Why to Use This Skill
The jp-ui-consumer skill is a specialized developer utility designed to streamline the integration and usage of the jp-ui component library within web applications. It enhances developer productivity by providing structured guidance on installation, CSS/theming setup, and precise component implementation through direct reference to documentation and TypeScript definitions.
Use Cases
- Project Initialization: Assisting with the initial installation of @yumehiko/jp-ui, including the setup of CSS imports and necessary providers.
- Component Implementation: Helping developers identify exported component names and correctly implement them by inspecting prop-level details in type definitions.
- Theming and Design Tokens: Providing quick access to token sources and icon guidance to ensure consistent visual styling across the application.
- Technical Documentation Reference: Guiding AI agents and developers to specific internal docs (usage.md, components.md, tokens.md) for deep implementation details.
| name | jp-ui-consumer |
|---|---|
| description | "Use when consuming jp-ui in an app: installation, CSS/theme setup, component selection, and token usage; guide Codex to the jp-ui docs and types for implementation details." |
jp-ui Consumer
Quick start
- Read
docs/usage.mdfor install, CSS import, and providers. - Read
docs/components.mdto find exported component names. - Read
docs/tokens.mdfor token sources and theming. - Read
docs/icons.mdfor icon name guidance.
Component details
- For prop-level details, inspect
node_modules/@yumehiko/jp-ui/dist/index.d.ts.