nextjs-shadcn

nextjs-shadcn is a skill for Claude Code from laguagu/claude-code-nextjs-skills. It costs 72 tokens per session (1,204 once invoked), scanned A, original, MIT.

A design and development guide for building web interfaces with Next.js, a React framework, and shadcn/ui, a collection of reusable interface components. It covers pages, components, styling, accessibility checks, and browser verification.

In plain words
What is it for?
Use it when creating or updating React web pages, components, or applications with Next.js, shadcn/ui, or Tailwind CSS. It helps establish a project, build the interface, and inspect the finished view in a browser.
Why use it?
It provides consistent decisions for typography, colors, layout, and interaction instead of leaving each interface to ad-hoc choices. It also catches problems that are not visible in a screenshot, such as poor contrast or content overflow.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the nextjs-ai-skills plugin — 24 skills, 2 agents shipped together

Good fit Use it when creating or updating React web pages, components, or applications with Next.js, shadcn/ui, or Tailwind CSS. It helps establish a project, build the interface, and inspect the finished view in a browser.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/laguagu/claude-code-nextjs-skills/nextjs-shadcn
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add laguagu/claude-code-nextjs-skills --skill nextjs-shadcn
Clone the repo
git clone --depth 1 https://github.com/laguagu/claude-code-nextjs-skills

Made for: Claude Code.

Or install nextjs-ai-skills, the plugin that ships this one along with the rest of its 24 skills, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nextjs-shadcn

README.md
[![agentmods](https://agentmods.dev/badge/skills/laguagu/claude-code-nextjs-skills/nextjs-shadcn/github.svg)](https://agentmods.dev/skills/laguagu/claude-code-nextjs-skills/nextjs-shadcn)
Your own site
<a href="https://agentmods.dev/skills/laguagu/claude-code-nextjs-skills/nextjs-shadcn"><img src="https://agentmods.dev/badge/skills/laguagu/claude-code-nextjs-skills/nextjs-shadcn/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for nextjs-shadcn

Your own site · 80×15
<a href="https://agentmods.dev/skills/laguagu/claude-code-nextjs-skills/nextjs-shadcn"><img src="https://agentmods.dev/badge/skills/laguagu/claude-code-nextjs-skills/nextjs-shadcn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,204 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 2 Oct 2026
  • Snyk pass 2 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.01204
Opus 5.5 $0.00029 $0.00482
Sonnet 5.5 $0.00014 $0.00241
Haiku 4.5 $0.00007 $0.00120

Measured 21d ago against content hash b4e712d38896, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nextjs-shadcn scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/nextjs-shadcn/SKILL.md · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Next.js + shadcn/ui

Build an interface with a visual identity that fits its content, audience and task. These are design defaults, not a fixed page recipe; the user's direction and an established design system take precedence.

Choose the visual direction

For a new view or substantial redesign, use frontend-design to choose the typography, palette and composition before building. Preserve a working visual system during smaller edits.

Choose fonts for the product's tone, reading density and language support. Use shadcn/create to choose the component style, body and heading fonts, icon family and theme together. Compare the preview with representative content, then make deliberate choices about type scale, spacing and hierarchy. Neither the default preset nor an unusual font guarantees a good design.

Record the chosen preset, theme, fonts and icon family in the project's design notes; preserve that direction unless the brief changes. References and images are project-specific. Component style and icon family are separate choices; styling.md covers them.

Keep the user's task clear:

  • Cut decorative badges, repeated headings, empty marketing claims and helper text that explains the obvious.
  • Keep useful status, navigation, explanations and disclosures.
  • Use cards, sections and CTAs because the content needs them, rather than filling a template.
  • Use brief motion to connect an action with its result, expanded details or active navigation. Reuse existing interaction components; styling.md covers Motion, GSAP and vercel-react-view-transitions for different animation needs.
  • Reuse the project's icon family. Use icons when sourcing new UI icons, file-type icons or official brand assets; an icon does not automatically replace a clear label.

Use atmosphere when it helps

Grid and dot patterns, soft background lights, gradients, custom shapes, textures, illustrations and video are available design tools. Use them when they suit the brief, strengthen the product's identity or clarify a section. A distinctive background can be the right choice; a quiet page can be too.

Read the full file on GitHub · 62 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 21d ago Changed · +2 lines b4e712d38896
  2. 24d ago Changed 83ef716a8304
  3. 25d ago Changed · -188 lines · -8 tokens per session 1f070c80b7d9
  4. 1mo ago Changed · +14 lines 84712d4ad7ca
  5. 1mo ago Changed · -79 lines a65e82321465
  6. 1mo ago First seen · 313 lines · 80 tokens per session scan A 9b7cfda7a84e

Subscribe to this mod's changes

nextjs-shadcn is a skill published in the GitHub repository laguagu/claude-code-nextjs-skills (70 stars, last pushed yesterday), licensed MIT. It adds 72 tokens to every session and 1,204 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI).…

mastra-ai/mastra · 77 tokens

modern-site-engineering

Integrate systems after frontend direction.

TheGoat395/Codex-Skills · 12 tokens

frontend-design

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

krivoox/agent-stack-template · 40 tokens

salgadoia-web-design-engineer-pro

Skill end-to-end para construir webs y landings profesionales con Next.js 16, React 19, Tailwind CSS v4, shadcn/ui y Framer Motion. Pensada para que un usuario sin conocimientos técnicos pueda PREVISUALIZAR estilos en su navegador antes de elegir, y completar la página de principio a fin (intake, brief, diseño, build…

Luispitik/salgadoia-web-design-engineer-pro · 299 tokens

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

magic-ui

Use this skill when users want to add, customize, or troubleshoot Magic UI components in React/Next.js projects. It covers component selection, shadcn registry installation (@magicui/), integration patterns, and practical quality checks for accessibility and maintainability.

magicuidesign/magicui · 56 tokens