Agent skill

UI UX Design System

by Hack23 in Hack23/cia

Design system management, Vaadin component library patterns, consistent UI/UX, accessibility integration

Apache-2.0Auto-check passedFrontend & Design

Install UI UX Design System

skills CLI
$ npx skills add Hack23/cia --skill ui-ux-design-system -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Hack23/cia ui-ux-design-system --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Hack23/cia.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/ui-ux-design-system .claude/skills/ui-ux-design-system && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ui-ux-design-system
GitHub stars
239
Token cost
~1.9k tokens
SKILL.md length
389 words
Files
1
Skills in repo
78
Repo updated
First seen
Licence
Apache-2.0

At a glance

Design system management, Vaadin component library patterns, consistent UI/UX, accessibility integration

  • Works in 6 steps: Political Neutrality — UI must not favor… → Data First — Prioritize clarity of… → Accessibility — WCAG 2.1 AA compliance… → …
  • Tasks that involve Design systems
  • SKILL.md covers Purpose, When to Use This Skill, Design Principles and Component Library Patterns, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

UI UX Design System is an agent skill from Hack23/cia. Design system management, Vaadin component library patterns, consistent UI/UX, accessibility integration

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering Design systems, UI design and Accessibility. The repository describes itself as: Citizen Intelligence Agency. Open-source intelligence platform analyzing Swedish political activities using AI and data visualization. Tracks politicians, government… The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Design systems
  • Tasks that involve UI design
  • Tasks that involve Accessibility

Example prompts

  • “/ui-ux-design-system”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Political Neutrality — UI must not favor any party through color, placement, or emphasis
  2. Data First — Prioritize clarity of political data over decorative elements
  3. Accessibility — WCAG 2.1 AA compliance for all components
  4. Consistency — Reuse design system components, avoid one-off styling
  5. Performance — Lazy load data, minimize DOM complexity
  6. Responsive — Support desktop (primary), tablet, and mobile viewports

What it can do on your machine

Read from SKILL.md and the folder at commit 6a9797b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are java).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • vaadin.com
    • w3.org
    • riksdagen.se

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

UI UX Design System loads about 1.9k tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 389 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~31
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Hack23/cia at commit 6a9797b, republished under its Apache-2.0 licence (© Hack23). 389 words, ~1,929 tokens.

Download SKILL.mdSave it as .claude/skills/ui-ux-design-system/SKILL.md (or your agent's skills folder).
name
ui-ux-design-system
description
Design system management, Vaadin component library patterns, consistent UI/UX, accessibility integration
license
Apache-2.0

UI/UX Design System Skill

Purpose

This skill defines the design system for the CIA platform, ensuring consistent Vaadin component usage, accessibility compliance, responsive design patterns, and a cohesive user experience for political data visualization. It provides reusable patterns for the web-widgets module.

When to Use This Skill

Apply this skill when:

  • ✅ Creating new Vaadin views or components
  • ✅ Modifying existing UI layouts or navigation
  • ✅ Implementing data visualization dashboards
  • ✅ Adding interactive political data charts
  • ✅ Ensuring WCAG 2.1 AA accessibility compliance
  • ✅ Designing responsive layouts for mobile devices
  • ✅ Reviewing UI pull requests for consistency

Do NOT use for:

  • ❌ Backend service logic without UI impact
  • ❌ Database schema changes
  • ❌ Build or deployment pipeline changes

Design Principles

  1. Political Neutrality — UI must not favor any party through color, placement, or emphasis
  2. Data First — Prioritize clarity of political data over decorative elements
  3. Accessibility — WCAG 2.1 AA compliance for all components
  4. Consistency — Reuse design system components, avoid one-off styling
  5. Performance — Lazy load data, minimize DOM complexity
  6. Responsive — Support desktop (primary), tablet, and mobile viewports

Component Library Patterns

Layout Components
java
// ✅ Standard page layout pattern
public class PoliticianOverviewView extends VerticalLayout {

    public PoliticianOverviewView() {
        setSizeFull();
        setPadding(true);
        setSpacing(true);

        // Page header with breadcrumb
        add(createPageHeader("Politician Overview"));

        // Content area with responsive grid
        HorizontalLayout content = new HorizontalLayout();
        content.setSizeFull();
        content.add(createFilterPanel(), createDataGrid());
        content.setFlexGrow(1, createDataGrid());
        add(content);
    }
}
Data Grid Pattern
java
// ✅ Consistent grid configuration
public Grid<PoliticianSummary> createPoliticianGrid() {
    Grid<PoliticianSummary> grid = new Grid<>(PoliticianSummary.class, false);

    // Column configuration with consistent ordering
    grid.addColumn(PoliticianSummary::getFirstName)
        .setHeader("First Name").setSortable(true).setAutoWidth(true);
    grid.addColumn(PoliticianSummary::getLastName)
        .setHeader("Last Name").setSortable(true).setAutoWidth(true);
    grid.addColumn(PoliticianSummary::getParty)
        .setHeader("Party").setSortable(true).setAutoWidth(true);
    grid.addColumn(new NumberRenderer<>(PoliticianSummary::getAttendanceRate,
        "%.1f%%")).setHeader("Attendance").setSortable(true);

    // Lazy loading
    grid.setPageSize(50);
    grid.setMultiSort(true);

    // Accessibility
    grid.getElement().setAttribute("aria-label", "Politician data table");

    return grid;
}
Chart Components
java
// ✅ Politically neutral color scheme for party charts
public static final Map<String, String> PARTY_COLORS = Map.of(
    "S", "#E8112d",    // Socialdemokraterna
    "M", "#52BDEC",    // Moderaterna
    "SD", "#DDDD00",   // Sverigedemokraterna
    "C", "#009933",    // Centerpartiet
    "V", "#DA291C",    // Vänsterpartiet
    "KD", "#000077",   // Kristdemokraterna
    "L", "#006AB3",    // Liberalerna
    "MP", "#83CF39"    // Miljöpartiet
);

// Always include party label, never rely on color alone (accessibility)
Notification Pattern
java
// ✅ Consistent notification usage
public class NotificationHelper {

    public static void showSuccess(String message) {
        Notification.show(message, 3000, Notification.Position.BOTTOM_START)
            .addThemeVariants(NotificationVariant.LUMO_SUCCESS);
    }

    public static void showError(String message) {
        Notification.show(message, 5000, Notification.Position.BOTTOM_START)
            .addThemeVariants(NotificationVariant.LUMO_ERROR);
    }

    public static void showInfo(String message) {
        Notification.show(message, 3000, Notification.Position.BOTTOM_START)
            .addThemeVariants(NotificationVariant.LUMO_PRIMARY);
    }
}

Responsive Design

Breakpoints
BreakpointWidthLayout Adaptation
Desktop≥ 1024pxFull sidebar + content grid
Tablet768–1023pxCollapsible sidebar, stacked panels
Mobile< 768pxBottom navigation, single column
Responsive Pattern
java
// ✅ Responsive layout using Vaadin's FormLayout
FormLayout form = new FormLayout();
form.setResponsiveSteps(
    new FormLayout.ResponsiveStep("0", 1),     // Mobile: 1 column
    new FormLayout.ResponsiveStep("768px", 2),  // Tablet: 2 columns
    new FormLayout.ResponsiveStep("1024px", 3)  // Desktop: 3 columns
);

Accessibility Integration

WCAG 2.1 AA Requirements
java
// ✅ Accessible component patterns
public class AccessibleDashboard extends VerticalLayout {

    public AccessibleDashboard() {
        // Landmark roles
        getElement().setAttribute("role", "main");
        getElement().setAttribute("aria-label", "Political Dashboard");

        // Heading hierarchy
        H1 title = new H1("Dashboard");
        title.getElement().setAttribute("tabindex", "0");
        add(title);

        // Data tables with proper headers
        Grid<Data> grid = createGrid();
        grid.getElement().setAttribute("aria-label", "Voting records");

        // Charts with text alternatives
        Div chart = createChart();
        chart.getElement().setAttribute("aria-label",
            "Bar chart showing voting attendance by party");
        chart.getElement().setAttribute("role", "img");
    }
}
Show full SKILL.md (174 more words)Show less
Accessibility Checklist
  • ✅ Color contrast ratio ≥ 4.5:1 for normal text
  • ✅ Color contrast ratio ≥ 3:1 for large text
  • ✅ All interactive elements keyboard navigable
  • ✅ ARIA labels on all custom components
  • ✅ Form fields have associated labels
  • ✅ Focus indicators visible (never outline: none)
  • ✅ Skip navigation link for keyboard users
  • ✅ Text alternatives for all charts and images
  • ✅ Error messages associated with form fields
  • ✅ No information conveyed by color alone

Naming Conventions

CSS Class Names
.cia-[component]-[modifier]

Examples:
.cia-dashboard-header
.cia-politician-grid
.cia-chart-container
.cia-filter-panel--collapsed
.cia-nav-item--active
View Class Names
[Entity][Action]View.java

Examples:
PoliticianOverviewView.java
CommitteeDetailView.java
VotingHistoryView.java
PartyComparisonView.java

Design System Governance

Adding New Components
  1. Check if an existing Vaadin component meets the need
  2. Check if a CIA design system pattern exists
  3. If custom component needed, document in this skill
  4. Include accessibility attributes from the start
  5. Add responsive breakpoint handling
  6. Write Playwright UI tests for the component
Component Review Criteria
  • ✅ Follows existing design system patterns
  • ✅ Uses standard CIA color scheme
  • ✅ Meets WCAG 2.1 AA accessibility
  • ✅ Responsive across all breakpoints
  • ✅ Politically neutral presentation
  • ✅ Lazy loads data for large datasets
  • ✅ Has appropriate ARIA labels

References

© Hack23, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/ui-ux-design-system of Hack23/cia.

Open the folder on GitHubat commit 6a9797b

Compare with similar skills

UI UX Design System next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

UI UX Design System compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
UI UX Design System this skillHack23/cia239—~1.9kAutomated safety check: PassApache-2.0
Material Design 3 UI/UX Guideskydashnet/material-design-3-ui-skill130—~3kAutomated safety check: PassMIT
Better Designmarvkr/better-design252—~1.2kAutomated safety check: PassMIT
UI Design Systemtry-works/role-model117—~5kAutomated safety check: PassMIT
UI UX Pro MaxOhh-889/skyroc7956 repos~14kAutomated safety check: PassMIT
UI DesignAnastasiyaW/codex-claude-code-config154—~2.4kAutomated safety check: PassMIT

Similar skills

  • Material Design 3 UI/UX Guide

    skydashnet/material-design-3-ui-skill

    Guides designing, reviewing or implementing interfaces that follow Google's Material Design 3 system: semantic tokens, component states, adaptive layout and accessibility.

    130 GitHub stars~3k tokensUpdated 7 days ago
    Frontend & DesignAuto-check passed
  • Better Design

    marvkr/better-design

    Build, improve, and review production interfaces with the Better Design MCP.

    252 GitHub stars~1.2k tokensUpdated 15 days ago
    Frontend & DesignAuto-check passed
  • UI Design System

    try-works/role-model

    React UI component systems with TailwindCSS + Radix + shadcn/ui.

    117 GitHub stars~5k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • UI UX Pro Max

    Ohh-889/skyroc

    UI/UX design intelligence for web, mobile, and desktop. An agent skill from Ohh-889/skyroc.

    795 GitHub starsUsed in 6 repos~14k tokens
    Frontend & DesignAuto-check passed
  • UI Design

    AnastasiyaW/codex-claude-code-config

    Unify product UI design, frontend implementation, and verification.

    154 GitHub stars~2.4k tokensUpdated 5 days ago
    Frontend & DesignAuto-check passed
  • Aidd UI

    paralleldrive/aidd

    Design beautiful and friendly user interfaces and experiences.

    384 GitHub stars~242 tokensUpdated 3 mo ago
    Frontend & DesignAuto-check passed

More from Hack23/cia

All 78 skills in this repo
  • WCAG 2.1 AA compliance, ARIA attributes, keyboard navigation, screen reader optimization for accessible political data platforms

    239 GitHub stars~2.7k tokensUpdated yesterday
    Auto-check passed
  • Advanced chart types, D3.js/Vaadin Charts patterns, political data visualization, time series analysis

    239 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • AI Governance

    Hack23/cia

    AI governance, EU AI Act compliance, OWASP LLM security, responsible AI practices for GitHub Copilot agents

    239 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • API Integration

    Hack23/cia

    External API integration patterns, retry logic, circuit breakers, caching, rate limiting for government data APIs

    239 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • AWS CloudWatch metrics, alarms, dashboards, log insights, and application monitoring for the CIA platform

    239 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • AWS security best practices, VPC security, IAM, KMS, CloudTrail, GuardDuty for CIA platform deployment

    239 GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed

Questions about UI UX Design System

What does UI UX Design System do?

Design system management, Vaadin component library patterns, consistent UI/UX, accessibility integration. UI UX Design System is an agent skill from Hack23/cia.

When should I use UI UX Design System?

UI UX Design System fits situations like: tasks that involve Design systems; tasks that involve UI design; tasks that involve Accessibility.

How do I install UI UX Design System in Claude Code?

Run `npx skills add Hack23/cia --skill ui-ux-design-system -a claude-code`. Or copy the skill folder (.github/skills/ui-ux-design-system in Hack23/cia) into .claude/skills/ui-ux-design-system in your project. Claude Code loads it when a task matches its description.

How do I install UI UX Design System in Codex?

Run `npx skills add Hack23/cia --skill ui-ux-design-system -a codex`. Or copy the skill folder (.github/skills/ui-ux-design-system in Hack23/cia) into .agents/skills/ui-ux-design-system in your project. Codex loads it when a task matches its description.

Can I use UI UX Design System in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Hack23/cia --skill ui-ux-design-system -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ui-ux-design-system, .gemini/skills/ui-ux-design-system, .github/skills/ui-ux-design-system and .opencode/skills/ui-ux-design-system in your project.

What does UI UX Design System need to run?

SKILL.md names no scripts, command-line tools or credentials: UI UX Design System is instructions for the agent only.

Does UI UX Design System access the network?

SKILL.md names 3 domains. As links in the text: vaadin.com, w3.org and riksdagen.se. This is read from the text; nothing was executed.

Is UI UX Design System safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does UI UX Design System use?

UI UX Design System is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does UI UX Design System use?

About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to UI UX Design System?

Skills that share tags, products or a category with UI UX Design System: Material Design 3 UI/UX Guide (skydashnet/material-design-3-ui-skill, 130 stars), Better Design (marvkr/better-design, 252 stars), UI Design System (try-works/role-model, 117 stars) and UI UX Pro Max (Ohh-889/skyroc, 795 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains UI UX Design System?

Hack23 (a GitHub organization) maintains it in Hack23/cia, which has 239 GitHub stars. The repository holds 78 skills in this directory. The repository was last updated on October 6, 2026.

Source: Hack23/cia on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.