Skip to content

About

Claude Code skills for motion-primitives and Watermelon UI — catalogs, install procedures, and the failure modes you only find by shipping

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

35 Commits

Folders and files

Repository files navigation

claude-ui-skills

claude-ui-skills

License: MIT Skills Claude Code PRs Welcome

Six Claude Code skills for building UI with motion-primitives and Watermelon UI — component catalogs, install procedures, and the failure modes you only find by shipping.

Both libraries are excellent and both are MIT. Neither is mine. What's mine is the part that's tedious to rediscover: which component actually does what, which slug is dead, which class silently does nothing on Tailwind 3, and which "working" component will cost you thirty frames a second.

git clone https://github.com/Saikushal185/claude-ui-skills
cd claude-ui-skills && ./install.sh

Then restart Claude Code. Skills load themselves when a task matches their description — you don't invoke them by hand.


📦 What's inside

Skill Covers
motion-primitives 33 animation components. Full props for the 9 text effects, install for Tailwind 3 and 4, and 12 component sources vendored so it works offline.
watermelon-ui Setup hub for the Watermelon registry — requirements, the shadcn install path, cross-cutting traps. Routes to the four below.
watermelon-components 470 styled variants across 28 shadcn primitives.
watermelon-blocks 189 page sections in 22 categories — 43 heroes, 31 footers, 13 auth screens.
watermelon-animated 130 motion-led components in 26 categories.
watermelon-dashboards 22 dashboard applications and the landing template.

Referenced, not copied

Skill Why
make-interfaces-feel-better Watermelon's own guide to UI polish. Entirely their work, so install.sh fetches it from upstream rather than vendoring a copy — it stays current and it stays theirs. Install it; it's the best short statement of this material I've read.

🚀 Getting started

Everything, including the upstream skill:

./install.sh

Only the skills in this repo — no network needed:

./install.sh --skills

Somewhere other than ~/.claude/skills:

CLAUDE_SKILLS_DIR=/path/to/skills ./install.sh

Or copy any single skill folder into ~/.claude/skills/ by hand — there's nothing to build.

🔍 Why these exist

A model reading a component library's docs gets the happy path. It doesn't get told the slug in the docs 404s, or that a component's manifest disagrees with its own imports. Everything below was hit while building a real site, and lives in the skill that covers it.

Registry traps — dead slugs, wrong manifests, undocumented components
  • bento-01 and bento-02 are listed in Watermelon's block metadata, but the registry holds bento-1 … bento-17. The padded names return HTTP 200 with the site's HTML shell, not a 404 — so shadcn add fails on unparseable JSON rather than telling you it doesn't exist. Zero-padding is inconsistent registry-wide: alert-01 and accordion-03 are padded, button-4 and badge-6 are not. Never construct a slug.
  • minimal-carousel's manifest declares motion, but its source imports framer-motion. Install it via the CLI and the build fails to resolve.
  • Six dashboards are documented on the site with install commands that don't work, while 17 dashboards in the registry aren't documented at all — including sales, e-commerce, ERP and mail. The gallery is the wrong place to shop.
  • 370 registry items depend on motion, 29 on framer-motion. Mix them and you ship two animation runtimes, which breaks layoutId handoff across the boundary — and shared-layout is where the library is strongest.
  • ~49 blocks share boilerplate descriptions ("Footers are foundational UI components…"), so grepping descriptions can't tell them apart.
Component traps — things invisible in the JSX you write
  • AnimatedGroup wraps every child in its own element. A col-span on a child never reaches the grid, and grid children stop stretching to equal height. Both look like Tailwind bugs until you read the component source.
  • minimal-carousel uses layoutId={card.id}, unscoped. Two instances on one page and a tile in one animates into a tile in the other. Scope with useId().
  • Several components ship Tailwind v4-only classes — rounded-4xl, max-w-105, min-h-42.5, backdrop-blur-xs — which silently no-op on v3, so the layout looks subtly wrong rather than broken.
  • spinning-text.tsx doesn't typecheck against motion 13: its base transition widens ease: 'linear' to string.
  • AnimatedNumber formats with toLocaleString(), turning a rating of 1800 into "1,800".
  • motion-primitives' MorphingDialog keys its dark backdrop off dark:, which follows the OS rather than your app's theme attribute.
Measured, not guessed — two performance findings with numbers

A full-viewport backdrop-filter: blur() behind a morphing dialog cost 3.3×.

fps worst frame
with blur 17.5 112ms
without 58.3 46ms

Blurring the viewport re-renders everything behind it every frame. The obvious suspect — 382 animated spans from a word-by-word text reveal — turned out to be worth about one frame per second.

A universal :where(*, *::before, *::after) transition for a theme swap ran at ~11fps across 1071 elements. Dropping the expensive properties (box-shadow, fill, stroke) from it bought almost nothing: 13 → 17 frames. Narrowing the selector took it to 55. It was breadth, not properties.

🗂️ Layout

skills/<name>/
├─ SKILL.md              what it does, when it triggers, the traps
├─ references/*.md       catalogs and full API tables, loaded on demand
└─ assets/               vendored source, where offline use needs it

SKILL.md frontmatter carries name and a trigger-rich description. Claude Code reads only the description to decide whether a skill is relevant, then loads the body, then pulls references/ if it needs them — so keeping catalogs out of SKILL.md costs nothing on sessions where the skill doesn't apply.

🙏 Attribution

Project Licence Source
motion-primitives MIT © 2024 ibelick github · site
Watermelon UI MIT © 2025-present Watermelon Contributors registry · platform · site

12 component files from motion-primitives are redistributed here verbatim under MIT, with one documented modification. The Watermelon catalogs are compiled from facts in their repositories — names, categories, dependencies and their own descriptions — with no source code copied.

NOTICE lists every third-party file, who wrote it, and its terms. If you maintain either project and want something changed or removed, open an issue — that takes priority over anything else here.

🤝 Contributing

Corrections are the most valuable contribution: registries change, and a catalog that's confidently out of date is worse than none. See CONTRIBUTING.md — the short version is verify against the source, not the documentation, and back performance claims with a median across runs.

📄 Licence

MIT © 2026 Vittanala Sai Kushal. Third-party content remains under its own terms — see NOTICE.

About

Claude Code skills for motion-primitives and Watermelon UI — catalogs, install procedures, and the failure modes you only find by shipping

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages