skills-ws
Version:
87 agent skills for AI coding assistants — marketing, growth, web3, dev, design & operations. Built for OpenClaw, Claude Code, Cursor, and Codex.
55 lines (43 loc) • 1.63 kB
Markdown
- Scaffolding
- Folder Structure
```bash
npx create-next-app@latest my-app --ts --tailwind --eslint --app --src-dir --import-alias "@/*"
cd my-app
pnpm add @prisma/client @prisma/adapter-neon @neondatabase/serverless \
stripe @clerk/nextjs zustand next-themes
pnpm add -D prisma
pnpm dlx prisma init
pnpm dlx shadcn@latest init
```
`reactCompiler` may require `babel-plugin-react-compiler` depending on the release — run `next build` once and follow any prompt.
```ts
// next.config.ts — Next.js 16
import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
// Cache Components: enables `'use cache'`, `cacheLife`, `cacheTag`,
// and `'use cache: private'`. Replaces the old experimental.dynamicIO/useCache.
cacheComponents: true,
// React Compiler is top-level in 16 (no longer under experimental).
reactCompiler: true,
};
export default nextConfig;
```
```
src/
├── app/
│ ├── (auth)/
│ ├── (dashboard)/
│ ├── api/
│ └── layout.tsx
├── components/
│ └── ui/
├── lib/
├── server/
├── hooks/
└── types/
```