Production-ready Next.js 16 template optimized for AI-assisted development with 29 specialized skills.
This project is a demo/template specifically designed for Kimi k2.5, showcasing:
- π€ Optimal integration with Kimi k2.5 via a structured skill system
- ποΈ A modern tech stack (Next.js 16, React 19, Tailwind CSS 4)
- π 29 specialized skills to accelerate development
- π― Patterns and best practices validated for React 19 and Next.js App Router
| Technology | Version | Description |
|---|---|---|
| Next.js | 16.1.6 | React framework with App Router |
| React | 19.2.4 | UI library with Server Components |
| TypeScript | 5.9.3 | Strict type safety |
| Tailwind CSS | 4.1.18 | Utility-first CSS with @theme |
| Geist Font | latest | Vercel font family (Sans + Mono) |
| pnpm | - | Fast package manager |
- shadcn/ui β Radix UI components + Tailwind
- TanStack Query β Data fetching and caching
- Motion (Framer Motion) β React animations
- Zustand β Lightweight state management
- Recharts β Data visualization
- Zod β TypeScript schema validation
The project includes 29 specialized skills in .agents/skills/ to guide Kimi k2.5:
| Skill | Description |
|---|---|
plan-master |
Systematic planning methodology |
subagent-tasker |
Best practices for parallel tasks |
post-review |
Systematic post-implementation code review |
| Skill | Description |
|---|---|
nextjs-16-tailwind-4 |
Next.js 16 + Tailwind 4 + React 19 patterns |
shadcn-ui |
shadcn/ui components and Charts |
frontend-design |
Distinctive, production-grade UI design |
motion-animations |
Motion (Framer Motion) animations |
component-generator |
React component generator |
next-intl-i18n |
Internationalization (i18n) |
forms-master |
Forms with React 19 + Zod + Server Actions |
| Skill | Description |
|---|---|
tanstack-query |
Data fetching with TanStack Query |
zustand-state |
State management with Zustand |
drizzle-orm |
Drizzle ORM + Neon PostgreSQL |
neon-postgresql |
Neon PostgreSQL serverless database |
react-custom-hooks |
Custom React hooks |
| Skill | Description |
|---|---|
next-api-routes |
API Routes & Server Actions |
better-auth |
Authentication with Better Auth |
| Skill | Description |
|---|---|
testing-vitest |
Testing with Vitest + React Testing Library |
accessibility-a11y |
Web accessibility (a11y) |
security-best-practices |
Security best practices |
git-workflow |
Git best practices (commits, branches, PRs) |
source-of-truth |
Official documentation reference |
migration-refactor |
Refactoring and migrations |
deployment-vercel |
Vercel deployment |
docker-deployment |
Docker containerization |
nextjs-seo |
SEO optimization (metadata, OG, sitemap) |
performance-optimization |
Performance & Core Web Vitals |
vercel-react-best-practices |
React & Next.js best practices (Vercel) |
kimi-template/
βββ .agents/
β βββ skills/ # π Kimi Skills (29 specializations)
β βββ SKILL_AUDIT_MASTER.md
β βββ plan-master/
β βββ nextjs-16-tailwind-4/
β βββ shadcn-ui/
β βββ tanstack-query/
β βββ motion-animations/
β βββ ...
β
βββ src/
β βββ app/ # π± Next.js App Router
β β βββ layout.tsx # Root layout with fonts & metadata
β β βββ page.tsx # Home page
β β βββ dashboard/ # Example: Dashboard page
β β β βββ page.tsx
β β βββ globals.css # Global styles + Tailwind theme
β β βββ favicon.ico
β β
β βββ components/ # π§© React Components
β β βββ ui/ # shadcn/ui components
β β β βββ button.tsx
β β β βββ card.tsx
β β β βββ chart.tsx
β β β βββ ...
β β βββ animations/ # Motion animation components
β β β βββ fade-in.tsx
β β β βββ card-hover.tsx
β β β βββ ...
β β βββ dashboard/ # Dashboard business components
β β β βββ stats-grid.tsx
β β β βββ revenue-chart.tsx
β β β βββ ...
β β βββ providers/ # React Providers
β β βββ query-provider.tsx
β β
β βββ hooks/ # π£ Custom hooks
β β βββ use-dashboard.ts
β β
β βββ lib/ # π Utilities and config
β βββ utils.ts # Utility functions (cn, etc.)
β βββ query-client.ts # TanStack Query config
β βββ query-keys.ts # Query keys
β βββ api/ # API clients
β β βββ dashboard.ts
β βββ types/ # TypeScript types
β βββ dashboard.ts
β
βββ public/ # π¦ Static assets
βββ package.json # Dependencies
βββ next.config.ts # Next.js config
βββ tsconfig.json # TypeScript config
βββ eslint.config.mjs # ESLint config
βββ AGENTS.md # π Complete agent documentation
Click the green "Use this template" button at the top of this page, or:
# Create a new repo from this template
git clone --depth 1 https://github.com/CaseReed/kimi-template.git my-app
cd my-app
rm -rf .git
git initgit clone https://github.com/CaseReed/kimi-template.git
cd kimi-template- Node.js 20+
- pnpm (recommended)
# Install dependencies
pnpm install
# Set up environment variables
cp .env.example .env.local
# Edit .env.local with your values
# Start the development server
pnpm devOpen http://localhost:3000 to see the result.
See it in action: kimi-template.vercel.app
pnpm dev # Development server
pnpm build # Production build
pnpm start # Start production server
pnpm lint # ESLint
pnpm clean # Full cleanup (node_modules, .next, etc.)The project includes a complete authentication system powered by Better Auth:
- π Email/Password authentication with secure session management
- π OAuth providers (GitHub, Google) - configurable
- π‘οΈ Protected routes with Server Components
- π§ Session management with HTTP-only cookies
- π i18n support for login/register pages
# 1. Start PostgreSQL database
docker-compose -f docker-compose.db.yml up -d
# 2. Configure environment
cp .env.example .env.local
# Edit .env.local with your values
# 3. Run migrations
pnpm db:push
# 4. Create admin user
pnpm db:seed:admin
# 5. Start the app
pnpm devSee Better Auth Documentation for detailed instructions on configuring GitHub and Google OAuth.
The project includes a complete Dashboard page (/dashboard) demonstrating:
- π Charts with Recharts (revenue, categories)
- π Statistics with Motion animations
- π Transaction table with pagination
- π Data fetching with TanStack Query
- π― Optimistic UI with React 19
Perfect for understanding how skills integrate in a real-world case!
In Kimi k2.5, use skills with the /skill:skill-name syntax:
# Examples:
/skill:plan-master # To plan a complex feature
/skill:component-generator # To generate a new component
/skill:shadcn-ui # To add UI components
/skill:tanstack-query # To implement data fetching
/skill:forms-master # To create a form
/skill:post-review # To review code after implementation
π‘ Golden Rule: Always end with
/skill:post-reviewbefore marking a feature as complete!
- AGENTS.md β Complete project documentation for agents
- SKILL_AUDIT_MASTER.md β Skills audit and status
- Individual skills β See
.agents/skills/<skill-name>/SKILL.md
- Environment variables: use
.env.local(never committed) - Only
NEXT_PUBLIC_*variables are exposed to the client - ESLint includes React and Next.js security rules
MIT β Free to use for your own projects.
Built with β€οΈ for Kimi k2.5