Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

ui-component

Skill by hiroppy

Guides an AI assistant through creating new UI components under apps/web/src/components/. It covers the checklist, file patterns, Storybook stories and semantic colors for monetary values.

  • Score 76
  • 432 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install ui-component

Built from the published package, never by AI.

git clone --depth 1 https://github.com/hiroppy/mf-dashboard /tmp/mf-dashboard && mkdir -p ~/.claude/skills && cp -r /tmp/mf-dashboard/.agents/skills/ui-component ~/.claude/skills/ui-component

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install ui-component in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The UI Component skill gives an AI assistant a checklist and conventions for creating new UI components under apps/web/src/components/. It describes three locations: pure chart and UI components in charts/ and ui/, and data-fetching components in info/. Each type has its own file pattern and template.

For data-fetching components, the skill explains when to split a Server Component from a client file. It says to create a .client.tsx file only when interactivity is needed. It also includes a Storybook template with mock data and a table of semantic color classes for monetary values. The source is written for the mf-dashboard project and is aimed at developers working in that codebase.

Written from the project's SKILL.md and checked against it.

What it can do

  • Component checklistLists the steps to create a component file, a stories file, semantic colors and a Storybook check.
  • Pure UI componentsDescribes data-agnostic components in components/charts/ or components/ui/ that receive all data via props.
  • Data-fetching componentsDescribes Server Components in components/info/ that fetch data via lib/queries.
  • Client component splitExplains when to add a .client.tsx file for interactivity such as useState or event handlers.
  • Storybook templateProvides a stories file template that uses mock data for a component.
  • Semantic color classesLists text-income, text-expense, text-balance-positive and text-balance-negative for monetary values.

What you need

  • pnpm
  • Storybook with the @mf-dashboard/web test:storybook script

Try asking

  • Create a new pure chart component in components/charts/ with a Storybook story
  • Create an info component that fetches data via lib/queries and add its stories
  • Make a UI component for monetary values using the semantic income and expense colors

Good to know

  • Only create .client.tsx files when interactivity is required
  • Monetary values must use the semantic color classes listed in the skill
  • Written for the mf-dashboard project file layout

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/ui-component/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md3 KB

Alternatives to ui-component

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

ui-component: common questions

What does the ui-component skill do?

It guides an assistant through creating new UI components under apps/web/src/components/, with a checklist, file templates and a Storybook story template.

When should a component use a client file?

The source says to create a .client.tsx file only when interactivity is required, such as useState, useEffect or event handlers. Components that only display data stay as Server Components.

Which colors should monetary values use?

The source says to use text-income for income, text-expense for expenses, and text-balance-positive or text-balance-negative for balances.

How do I install ui-component?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is ui-component free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is ui-component safe to use?

It scores 76 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to ui-component?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

ui-component Install

Add to stack

Loading.