component-design

component-design is a skill for Claude Code, Codex from bdiasti/maestro-bundle-cli. It costs 48 tokens per session (2,142 once invoked), scanned A, original, MIT.

A guide to building reusable user-interface pieces such as buttons, cards, dialogs and tables with Tailwind CSS, Shadcn/UI and TypeScript.

In plain words
What is it for?
It helps create component variants, compound components, data tables, and loading, error and empty states with keyboard and screen-reader support.
Why use it?
It helps keep an interface consistent, accessible and easier to maintain instead of styling each screen separately.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps create component variants, compound components, data tables, and loading, error and empty states with keyboard and screen-reader support.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bdiasti/maestro-bundle-cli/component-design
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bdiasti/maestro-bundle-cli --skill component-design
Clone the repo
git clone --depth 1 https://github.com/bdiasti/maestro-bundle-cli

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for component-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/bdiasti/maestro-bundle-cli/component-design/github.svg)](https://agentmods.dev/skills/bdiasti/maestro-bundle-cli/component-design)
Your own site
<a href="https://agentmods.dev/skills/bdiasti/maestro-bundle-cli/component-design"><img src="https://agentmods.dev/badge/skills/bdiasti/maestro-bundle-cli/component-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for component-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/bdiasti/maestro-bundle-cli/component-design"><img src="https://agentmods.dev/badge/skills/bdiasti/maestro-bundle-cli/component-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,142 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.02142
Opus 5.5 $0.00019 $0.00857
Sonnet 5.5 $0.00010 $0.00428
Haiku 4.5 $0.00005 $0.00214

Measured 2mo ago against content hash c9b525056543, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

component-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

templates/bundle-frontend-spa/skills/component-design/SKILL.md · 266 lines

How it starts

The opening of the file, as written. The whole thing — 266 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Component Design

Build accessible, reusable UI components with Tailwind CSS, Shadcn/UI, and TypeScript.

When to Use

  • User needs to create a reusable UI component (button, card, modal, table)
  • User wants to implement a design system with consistent variants
  • User needs data tables with pagination and sorting
  • User wants loading skeletons, error states, or empty states
  • User needs accessible components with ARIA labels and keyboard navigation

Available Operations

  1. Create variant-based components (Button, Badge, Input)
  2. Build compound components (Card with Header/Content/Footer)
  3. Implement data tables with TanStack Table
  4. Create async content wrappers (loading/error/empty states)
  5. Add Shadcn/UI components to the project

Multi-Step Workflow

Step 1: Set Up Shadcn/UI (If Not Already Installed)

npx shadcn@latest init
npx shadcn@latest add button card table badge input dialog
npm install @tanstack/react-table clsx tailwind-merge

Create a utility for merging Tailwind classes:

// src/lib/utils.ts
import { clsx, type ClassValue } from 'clsx';
import { twMerge } from 'tailwind-merge';

export function cn(...inputs: ClassValue[]) {
  return twMerge(clsx(inputs));
}

Step 2: Create a Variant-Based Button Component

// src/components/ui/Button.tsx
import { cn } from '@/lib/utils';

const variants = {
  primary: 'bg-blue-600 text-white hover:bg-blue-700',
  secondary: 'bg-gray-100 text-gray-700 hover:bg-gray-200',
  danger: 'bg-red-600 text-white hover:bg-red-700',
  ghost: 'bg-transparent hover:bg-gray-100',
} as const;

const sizes = {
  sm: 'px-3 py-1.5 text-sm',
  md: 'px-4 py-2 text-base',
  lg: 'px-6 py-3 text-lg',
} as const;

interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
  variant?: keyof typeof variants;
  size?: keyof typeof sizes;
  loading?: boolean;
}

export function Button({
  variant = 'primary',
  size = 'md',
  loading = false,
  children,
  disabled,
  className,
  ...props
}: ButtonProps) {
  return (
    <button
      className={cn(
        'rounded font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-offset-2',
        variants[variant],
        sizes[size],
        (disabled || loading) && 'opacity-50 cursor-not-allowed',
        className
      )}
      disabled={disabled || loading}
      aria-busy={loading}
      {...props}
    >
      {loading ? <span className="animate-spin inline-block w-4 h-4 border-2 border-current border-t-transparent rounded-full" /> : children}
    </button>
  );
}

Read the full file on GitHub · 266 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 266 lines · 48 tokens per session scan A c9b525056543

Subscribe to this mod's changes

component-design is a skill published in the GitHub repository bdiasti/maestro-bundle-cli (22 stars, last pushed 7mo ago), licensed MIT. It adds 48 tokens to every session and 2,142 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

component-design compared with skills from other repositories

component-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
component-designbdiasti/maestro-bundle-cliSkill227mo agoMITA48Claude Code, Codex
anti-slop-designsickn33/agentic-awesome-skillsSkill50ktodayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41kyesterdayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k2d agoMITA52Codex
open-design-setupcompozy/compozySkill2.9ktodayMITA67Claude Code, Codex
prototype-webnexu-io/html-anythingSkill9.5k2d agoApache-2.0A24Claude Code, Codex
frontend-visual-qadaymade/claude-code-skillsSkill1.5ktodayMITA125Claude Code, Codex