kiva-design-system

Route users to the correct Kiva design system sub-skill for their task.

4|Updated Apr 8, 2021
One-click install
npx skills add https://github.com/kiva/kv-ui-elements --skill kiva-design-system
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kiva-design-system
Source: https://github.com/kiva/kv-ui-elements/tree/main/%40kiva/kv-skills/design-system/skills/kiva-design-system
Command: npx skills add https://github.com/kiva/kv-ui-elements --skill kiva-design-system

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of inconsistent Kiva UI implementation, incorrect design token usage, and misalignment between Figma design specs and production code by centralizing access to all Kiva design system sub-skills in a single entry point. Users no longer need to hunt for the correct token, utility class, or design rule across scattered documentation.

Core Features & Use Cases

  • Intelligent sub-skill routing: Automatically directs users to the relevant design system sub-skill (color, typography, spacing, radius, border, elevation, layout, color-themes) based on their task, loading only what is needed to avoid context bloat.
  • Design compliance auditing: Provides step-by-step guidance for scanning components for hardcoded values, incorrect token usage, and misaligned utility classes, with specific corrected replacements and notes for known code-spec sync gaps.
  • Design token and Figma handoff support: Answers specific token selection questions, maps Figma design tokens to Tailwind utility classes, and provides per-theme token values for accurate design-to-code translation.
  • New UI generation guidance: Enforces correct use of semantic Kiva tokens and Tailwind utilities when building new components, preventing bespoke styles and ensuring alignment with the Figma-canonical design system.

Quick Start

Ask the kiva-design-system skill to audit your loan card component for Kiva design compliance and receive a list of any incorrect token or utility class usage with specific corrected replacements.

Frequently Asked Questions about kiva-design-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce correct design token usage when implementing Kiva UI components?

To enforce correct design token usage, the Kiva design system router directs your specific UI task—like new component generation or compliance auditing—to the relevant sub-skill, ensuring semantic tokens and Tailwind utilities align with Figma specs.

How does Figma-to-code handoff work for Kiva web products?

Figma-to-code handoff works by mapping Figma design tokens to Tailwind utility classes and providing per-theme token values, which translates design intent into accurate, compliant production code without hardcoded styles.

Can I audit my Tailwind components for Kiva design compliance?

Yes, you can audit Tailwind components for Kiva design compliance. The system scans components for hardcoded values and incorrect token usage, providing specific corrected replacements and noting known code-spec sync gaps.

What is the best way to find the correct semantic token for a Kiva UI layout?

The best way to find the correct semantic token is through the design system router, which answers specific token selection questions by loading only the relevant sub-skill—such as color, typography, spacing, or layout—to prevent context bloat.

Does the Kiva design system support per-theme color token values?

Yes, the Kiva design system supports per-theme color token values. The color-themes sub-skill provides the exact token values needed for accurate design-to-code translation across different Kiva web product themes.

Why should I use a design system router instead of loading all token documentation at once?

You should use a design system router to reduce context load. It loads only the relevant sub-skills on demand—like radius, border, or elevation—eliminating inconsistent UI implementation and preventing context bloat in your environment.