VibeHarness: Skill for Claude Code

.agent/skills/frontend-nextjs/SKILL.md

frontend-nextjs is a skill for Claude Code, Codex from ccivlcid/VibeHarness. It costs 67 tokens per session (638 once invoked), scanned A, original, MIT.

A set of patterns for building web applications with Next.js, TypeScript, Tailwind CSS, and shadcn/ui. Next.js is a React framework; Tailwind and shadcn/ui provide ways to style and assemble interfaces.

In plain words
What is it for?
Use it when creating or changing a Next.js App Router project, especially its folders, reusable interface components, styling, state management, and built-in fetch requests.
Why use it?
It gives a consistent project structure and practical rules for components, state, requests, responsive layouts, and setup.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is ccivlcid/VibeHarness's own configuration. It tells Claude Code and Codex how to work on VibeHarness itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything VibeHarness configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ccivlcid/VibeHarness. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ccivlcid/VibeHarness/main/.agent/skills/frontend-nextjs/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ccivlcid/VibeHarness

Made for: Claude Code, Codex.

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 frontend-nextjs

README.md
[![agentmods](https://agentmods.dev/badge/skills/ccivlcid/vibeharness/frontend-nextjs/github.svg)](https://agentmods.dev/skills/ccivlcid/vibeharness/frontend-nextjs)
Your own site
<a href="https://agentmods.dev/skills/ccivlcid/vibeharness/frontend-nextjs"><img src="https://agentmods.dev/badge/skills/ccivlcid/vibeharness/frontend-nextjs/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 frontend-nextjs

Your own site · 80×15
<a href="https://agentmods.dev/skills/ccivlcid/vibeharness/frontend-nextjs"><img src="https://agentmods.dev/badge/skills/ccivlcid/vibeharness/frontend-nextjs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 638 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.
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.00067 $0.00638
Opus 5.5 $0.00027 $0.00255
Sonnet 5.5 $0.00013 $0.00128
Haiku 4.5 $0.00007 $0.00064

Measured 2mo ago against content hash 52a2dd0442b7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

frontend-nextjs 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 2mo 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.

.agent/skills/frontend-nextjs/SKILL.md · 85 lines

What it actually says

Frontend — Next.js + Tailwind + shadcn/ui

Web app/service only. Do not apply to Python-only projects. Verify stack matches PROJECT_RULES.md. Record architecture decisions in docs/ai-dev/.

Initial Setup

npx create-next-app@latest my-app --typescript --tailwind --eslint --app --src-dir
cd my-app
npx shadcn@latest init
npx shadcn@latest add button card input dialog toast

Directory Structure

src/
├── app/
│   ├── layout.tsx          # Root layout
│   ├── page.tsx            # Home page
│   ├── globals.css         # Tailwind + custom styles
│   └── {feature}/
│       └── page.tsx        # Feature pages
├── components/
│   ├── ui/                 # shadcn/ui (auto-generated)
│   └── {feature}/          # Feature-specific components
├── lib/
│   └── utils.ts            # Utilities (cn function, etc.)
└── types/
    └── index.ts            # Shared types

Key Patterns

  • One component = max 150 lines. Split if exceeded
  • Check shadcn/ui first, build custom only if needed
  • Props: define with TypeScript interfaces
  • State: useState first, Zustand if complex
  • HTTP requests: use built-in fetch only. Do NOT install Axios

Tailwind Patterns

// Responsive
<div className="px-4 md:px-8 lg:px-16">
  <h1 className="text-2xl md:text-4xl font-bold">Title</h1>
</div>

// Dark mode
<div className="bg-white dark:bg-gray-900">

// Card grid
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
  {items.map(item => <Card key={item.id}>...</Card>)}
</div>

ESLint

Next.js includes ESLint by default. After each feature:

npx eslint .

Fix all errors before committing. Never use // eslint-disable without a documented reason.

Building Pages

  1. Create src/app/{path}/page.tsx
  2. Install needed shadcn/ui components
  3. Build in order: layout -> components -> data connection
  4. Mobile first, expand with md: lg: prefixes
  5. ESLint pass (npx eslint . — zero errors)
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. 2mo ago First seen · 85 lines · 67 tokens per session scan A 52a2dd0442b7

Subscribe to this mod's changes

frontend-nextjs is a skill published in the GitHub repository ccivlcid/VibeHarness (4 stars, last pushed 6mo ago), licensed MIT. It adds 67 tokens to every session and 638 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-31.

Related

Other skills, from other repositories

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

ui-checkstyle

Run the exact ESLint + Prettier + organize-imports sequence that CI's UI Checkstyle workflow runs — on just the files the PR changed — and fail the task if any file ends up with a diff. Invoke after authoring or modifying any .ts, .tsx, .js, .jsx, or .json file under openmetadata-ui/src/main/resources/ui/src/…

open-metadata/OpenMetadata · 122 tokens

tamagui-v6-config

Tamagui v6 theme system: the light/dark/accent/brand/inverse/level/active theme family, the background-active one-off key, and recipe-tree authoring with createV6Config. Use when choosing a theme for a surface, building a selected/emphasis state, or authoring a custom v6 colors pack.

tamagui/tamagui · 0 tokens

tamagui-theme-generator

Generate custom Tamagui themes, color palettes, and preview URLs. Use when creating or refining a color scheme, authoring light/dark palettes with brand accents, or previewing generated themes in the browser.

tamagui/tamagui · 48 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

building-landing-home

Compose a product or documentation home page from the @lobehub/ui/awesome landing components: LandingHero, AgentSkillCard, LogoMarquee, LandingSection, BentoGrid/BentoCard, CodeShowcase, FeatureGrid, InstallBanner and FluidGradient. Covers page structure, the lobedocs homePage hook, router links, theming the accent…

lobehub/lobe-icons · 121 tokens