Loading...
Loading...
Comprehensive coding standards, verification protocols, and templates for Next.js App Router projects. Auto-loads on Next.js detection.
npx skill4agent add jstarfilms/vibecode-protocol-suite nextjs-standardsAuto-Load Trigger: Presence ofornext.config.*in"next"package.json
/agent_reset/vibe-primeAgentnpx tsc --noEmitpython scripts/vibe-verify.pydocs/features/docs/features/FeatureName.mddocs/issues/tsc --noEmitvibe-verify.py'use client'useEffectapp/api/.../route.ts{ cache: 'no-store' }revalidate = Nsrc/
├── app/ # Next.js App Router pages
├── features/ # Business domains
│ └── [FeatureName]/
│ ├── components/ # Feature-specific components
│ ├── hooks/ # Feature-specific hooks
│ └── *.service.ts # Business logic
├── components/
│ ├── ui/ # Reusable UI (Button, Card)
│ └── layout/ # Layout components
├── lib/ # Utilities, clients
└── scripts/ # Automation (vibe-verify.py)use*Why Tailwind for AI Reliability: Tailwind colocates styles with UI in a single file. Unlike separatefiles, AI agents see the complete context (logic + styles + structure) without jumping between files. This dramatically reduces hallucinations and context fragmentation..css
@import "tailwindcss";
@theme {
--color-background: #ffffff;
--color-foreground: #0b1221;
--color-border: #e5e7eb;
}
@theme .dark {
--color-background: #0b1221;
--color-foreground: #e5e7eb;
}@themetailwind.config.dark<html>import { z } from 'zod';
const schema = z.object({
email: z.string().email(),
password: z.string().min(8),
});templates/docs/Coding_Guidelines.md| Command | When |
|---|---|
| After every TS/TSX edit |
| Before handoff |
| Check code style |
| Verify production build |
git status # See changed files
git diff # See what changed
git checkout -- <file> # Revert specific file
git stash # Save and revert all