
Component driven UI
Guides agents to build UI components in isolation, with stories and tokens before wiring
Component driven UI is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 6
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Component driven UI
This reference rulebook teaches an agent how to structure frontend views so presentational components stay pure: they receive props and emit events, with no fetching, store access or routing. Containers are the thin layer that connects those components to app state and data. The rulebook lays out an atoms, molecules, organisms, layouts and pages ladder for building up a interface from the bottom.
It also sets a build order for new UI work: decompose the feature, build each component in isolation, write Storybook stories covering empty, loading, error, populated and edge states, test it, assemble upward, and only then integrate it with the app. Components are expected to consume design tokens rather than raw colour or spacing values, and the rulebook describes how strictness scales across its maturity levels.
The skill is written to be loaded as context by other FFFlow commands rather than invoked directly. It assumes a component-model frontend, offers React and Web Components lanes, and notes that server-rendered approaches such as htmx use pure templates and contract tests instead of Storybook.
When your agent uses it
View-layer purity — presentational vs. connected components, the atoms→molecules→organisms→layouts ladder, story-as-vignette doctrine, design tokens, and the decompose→story→test→integrate ordering. The frontend sibling of hexagonal-architecture. L1+ reference rulebook.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (13 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the fff plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add zerotechdebt/ffflow
/plugin install fff@ffflowOr copy only this skill to ~/.claude/skills/component-driven-ui:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/component-driven-ui &&
cp -R "$tmp/plugin/skills/component-driven-ui" ~/.claude/skills/component-driven-ui &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/component-driven-ui inside it instead.
Copy the skill folder to ~/.agents/skills/component-driven-ui to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/component-driven-ui &&
cp -R "$tmp/plugin/skills/component-driven-ui" ~/.agents/skills/component-driven-ui &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/component-driven-ui inside it instead.
Copy the skill folder to ~/.cursor/skills/component-driven-ui to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/component-driven-ui &&
cp -R "$tmp/plugin/skills/component-driven-ui" ~/.cursor/skills/component-driven-ui &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/component-driven-ui inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/zerotechdebt/ffflow.git --path plugin/skills/component-driven-uiOr copy the folder to ~/.gemini/skills/component-driven-ui yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/component-driven-ui:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/zerotechdebt/ffflow.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/component-driven-ui &&
cp -R "$tmp/plugin/skills/component-driven-ui" ~/.copilot/skills/component-driven-ui &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/component-driven-ui inside it instead.
Get the folder:
git clone --depth 1 https://github.com/zerotechdebt/ffflow.gitThen copy ffflow/plugin/skills/component-driven-ui into your agent's skills folder as component-driven-ui. Agents that support SKILL.md read one folder per skill.
What it does
- Pure presentational components
- Defines the rule that view components take props and emit events without touching data sources.
- Atomic composition ladder
- Describes building from atoms and molecules up through organisms, layouts and pages.
- State-based story coverage
- Lists the reasonable states, such as empty, error and overflow, that each component's stories should show.
- Design token discipline
- Requires components to use shared tokens instead of hard-coded colours and pixel values.
- Build ordering gate
- Enforces decompose, story, test and only then integrate before components join app code.
- Maturity level expectations
- Explains how view-layer enforcement scales from optional guidance to blocking gates.
Good for
- Plan a new settings page built from isolated components
- Review a component for missing loading and error stories
- Refactor a component that fetches its own data into a container
- Set up a design token layer for a React component library
- Audit a frontend codebase for raw colour or spacing literals
Component driven UI FAQ
Does Component driven UI run any scripts or tools?
No. It is a reference rulebook that is loaded as context by other commands and is not invoked as a tool. It has no scripts.
Which frontend frameworks does Component driven UI assume?
It assumes a client component model and describes two baseline lanes: React with Radix and shadcn-style components, and Web Components with the Web Awesome kit. Server-rendered approaches like htmx are described as a different paradigm.
What should a component's stories cover?
Reasonable states such as empty, loading, error, populated and dense variants, edge cases like overflow, interactive states, and theme or locale variants where supported.
Is Component driven UI tied to a specific tool or repository setup?
It refers to FFFlow commands, a stack configuration file and a Storybook toolchain, so it fits projects using that workflow.
How do I install Component driven UI in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/component-driven-ui to use it in all your projects, or to .claude/skills/component-driven-ui in one project. Or install the fff plugin, which includes it: /plugin marketplace add zerotechdebt/ffflow, then /plugin install fff@ffflow.
Does Component driven UI run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Component driven UI?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Component driven UI?
The closest alternatives to Component driven UI are Component design, UI component builder, Frontend UI engineering, Frontend UI engineering and Build component.
Where this comes from
- Description: from the skill's own SKILL.md.
More from zerotechdebt/ffflow

Onboards a project onto FFFlow: config, stack setup, then a phased roadmap
- Open source
- 6 GitHub stars
- Developer tools

Runs keep-honest audits on a project and reports drift, stale docs and tech debt
- Open source
- 6 GitHub stars
- Developer tools

Runs another interactive skill unattended, making routine choices from project context
- Open source
- 6 GitHub stars
- Developer tools

Lists and validates the adapter cartridges that FFFlow ports load in a project
- Open source
- 6 GitHub stars
- Developer tools

Extracts a behavioral spec from an unspecified codebase and plans characterization tests
- Open source
- 6 GitHub stars
- Developer tools

Adds GitHub Actions workflows that run FFFlow quality gates on pull requests
- Open source
- 6 GitHub stars
- Developer tools




