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

shadcn-ui-conventions

Skill by TheOrcDev

Describes coding conventions for shadcn/ui components and 8-bit retro-styled components in a project. It is for developers who create or change files in the components/ui directory.

  • Score 87
  • 2.1k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install shadcn-ui-conventions

Built from the published package, never by AI.

git clone --depth 1 https://github.com/TheOrcDev/8bitcn-ui /tmp/8bitcn-ui && mkdir -p ~/.claude/skills && cp -r /tmp/8bitcn-ui/.claude/skills/shadcn-ui-conventions ~/.claude/skills/shadcn-ui-conventions

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

Step-by-step: install shadcn-ui-conventions in Claude Code

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

About

This skill sets out the coding conventions used in the components/ui directory of a project. That directory follows shadcn/ui patterns and is excluded from Biome and Ultracite linting, so the skill explains how to run lint checks there manually. It covers import order, prop type definitions, and ref handling for both base components and 8-bit wrapper components.

The skill tells the assistant how base components differ from 8-bit components. Base components use React.forwardRef and inline props types. 8-bit components export a separate interface, pass ref as a prop, import the base component under an alias, and load a retro stylesheet. It also lists reference files such as button.tsx, 8bit/button.tsx and dialog.tsx. It is aimed at developers working with shadcn/ui or building retro-styled interfaces.

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

What it can do

  • Import orderLists the import order for base and 8-bit components, including the retro stylesheet import.
  • Type definitionsShows inline props types for base components and exported interfaces for 8-bit components.
  • Ref handlingExplains forwardRef for base components and the ref prop pattern used in 8-bit components.
  • 8-bit component patternsCovers the required retro CSS import, base component aliasing and minimal variant overrides.
  • Manual lintingNotes that Biome excludes components/ui and gives the command to run lint there manually.

What you need

  • Biome (npx biome check components/ui/) for manual lint runs

Try asking

  • Create a new 8-bit styled button component that wraps the shadcn/ui button
  • Check how forwardRef should be written for a new base component in components/ui
  • Show me the correct import order for an 8bit component that uses retro.css

Good to know

  • The components/ui directory is excluded from Biome and Ultracite linting.
  • Components in this directory do not use Ultracite formatting.
  • Linting must be run manually with npx biome check components/ui/.

Security check

A

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

Checked automatically: .claude/skills/shadcn-ui-conventions/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 shadcn-ui-conventions

All alternatives →
paperbananadwzhu-pku
94

PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.

AAA Skill 7.7k
technical-wireframe-info-layoutMengTo
94

Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.

AAA Skill 8.5k
spline-3d-integrationsickn33
94

Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.

AAA Skill 50k
code-slice-heroheygen-com
94

Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.

AAA Skill 92k
patentfigdavila7
94

Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.

AAA Skill 34k
framed-tech-dark-border-gradientMengTo
94

Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.

AAA Skill 8.5k

Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration

shadcn-ui-conventions: common questions

Does this skill run linting automatically?

No. The source says components/ui is excluded from Biome and Ultracite linting, and lint must be run manually with npx biome check components/ui/.

What is the difference between base and 8-bit components here?

Base components use React.forwardRef and inline props types. 8-bit components export a separate interface, pass ref as a prop, and import the retro stylesheet.

Which files does the skill point to as examples?

It lists components/ui/button.tsx as a base example, components/ui/8bit/button.tsx as an 8-bit wrapper example, and components/ui/dialog.tsx as a complex base component.

How do I install shadcn-ui-conventions?

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

Is shadcn-ui-conventions free?

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

Is shadcn-ui-conventions safe to use?

It scores 87 of 100. Grades: maintenance A, licence A, quality A. 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 shadcn-ui-conventions?

Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.

shadcn-ui-conventions Install

Add to stack

Loading.