AI skills
Flx blocks are copied into your repo and owned by you. The Flx skill is a short guide so assistants use the right props, *-example.tsx files, and @flx installs—without reinventing markup.
With the skill installed, you can ask for things like:
- “Add
GridTwoColumnswith this Unsplash URL as the image and a CTA to/pricing.” - “Why doesn’t my CTA show?” (hint:
ctaEnabled) - “Run
npx shadcn@latest add @flx/primary-item-gridand show usage from the example file.” - “Match
registryDependenciesfor this block so nothing is missing.”
The skill does not replace the shadcn CLI. Use npx shadcn@latest for adds; use the Flx skill so the model respects Flx-specific shapes (e.g. image: { src, alt } vs media: { url, title }).
Install
From any project where you want the skill available (your app repo, a monorepo package, etc.):
To install straight from the skill folder URL:
Pick your agent when prompted (Cursor, Claude Code, Codex, and others are supported by the Skills CLI).
Learn more about the open ecosystem at skills.sh.
What’s included
Registry and shadcn CLI
How @flx/<block> maps to the registry URL, what goes in components.json, and that npx shadcn@latest add is how blocks land in your tree.
Small, real examples
The skill includes concrete prompts and tiny TSX snippets (e.g. GridTwoColumns with a real image URL, Cta with ctaEnabled) so the model doesn’t guess.
Example files
Many blocks ship *-example.tsx. The skill tells assistants to treat that file as the prop shape reference and to swap demo copy/URLs for your production content.
Shared pieces
Cta, ctaEnabled, image field shapes, and registryDependencies so installs stay complete.
Anti-patterns
Brief list: wrong aliases, invented props, skipping dependencies, replacing blocks with ad-hoc divs.
How it works
- Discovery — Standard Agent Skill:
SKILL.mdin.agents/skills/ui-flx/. - Install —
npx skillslinks or copies into your agent’s skills directory (e.g..agents/skills/for Cursor). - Activation — Metadata loads first; full instructions when the task matches Flx /
@flx/ blocks. - Together with shadcn — Optional: shadcn/ui skill for primitives, themes, and
components.json.
Learn more
- Introduction — Registry URL and first
@flxadd - Blocks — Browse all blocks
- skills.sh — Discover other skills
- Skills CLI —
add,list,remove, agents