Install
$ agentstack add skill-nbialk-quiver-cli-repo-init-next-js ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Next.js Project Setup
Bootstrap a Next.js App Router project with the full stack: Prisma + PostgreSQL, tRPC + React Query, optional Clerk auth, next-themes, sonner toasts, Tailwind v4 with shadcn/ui theme, and Prettier.
Prerequisites
- A Next.js project already created (
pnpm create next-app) - pnpm as package manager
Workflow
0. Ask the User
Before creating any files, ask the user for:
- Project name — used in
README.mdtitle andpackage.jsonname. - Project description — used in
CLAUDE.md,README.md, andpackage.json. - Node.js version — default
24. Used in.nvmrc. - PostgreSQL version — default
16. Used indocker-compose.yml. - With Clerk auth? — default: yes. If no, skip all Clerk-related files and packages.
- If the user chose Clerk, also ask for:
- Clerk Publishable Key (
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY) — from https://dashboard.clerk.com - Clerk Secret Key (
CLERK_SECRET_KEY) — from https://dashboard.clerk.com
1. Create folder structure
Create these directories (skip any that already exist):
src/server/routers/
src/lib/trpc/
src/providers/
src/components/ui/
src/app/api/trpc/[trpc]/
prisma/
If using Clerk, also create:
src/app/main/
src/app/sign-in/[[...sign-in]]/
src/app/sign-up/[[...sign-up]]/
2. Clean public folder
Remove Next.js boilerplate assets:
rm -rf public/*.svg public/*.ico
3. Create all template files
Read [references/file-contents.md](references/file-contents.md) and create every file listed there at its specified path. Replace {{PROJECT_NAME}}, {{DESCRIPTION}}, {{NODE_VERSION}}, and {{PG_VERSION}} with the user's answers from Step 0.
Important — existing files: Before overwriting any file that already exists from create-next-app (e.g. layout.tsx, page.tsx, next.config.ts, tsconfig.json, README.md), you must read it first using the Read tool. The Write tool will reject writes to unread existing files, and if one write fails in a parallel batch, all sibling writes in that batch fail too. To avoid this, split file creation into two batches:
- First batch: all new files (files that don't exist yet).
- Second batch: read all existing files, then overwrite them.
Replace existing Next.js defaults for layout.tsx, next.config.ts, and tsconfig.json. Note: src/proxy.ts is the Next.js 16 equivalent of middleware.ts (only created with Clerk).
If the user chose no Clerk, skip these files and use the alternative templates marked with "(without Clerk)" in file-contents.md:
src/providers/clerk-provider.tsx— skip entirelysrc/proxy.ts— skip entirelysrc/app/main/— skip entirelysrc/app/sign-in/andsrc/app/sign-up/— skip entirelysrc/providers/index.tsx— use the "without Clerk" variantsrc/server/trpc.ts— use the "without Clerk" variant.env.example— use the "without Clerk" variantsrc/app/page.tsx— use the "without Clerk" variant
4. Install dependencies
Run the setup script:
bash /scripts/setup.sh
If the user chose no Clerk, pass the --no-clerk flag:
bash /scripts/setup.sh --no-clerk
5. Initialize shadcn/ui
npx shadcn@latest init --defaults
npx shadcn@latest add sonner button card avatar
This generates globals.css, components.json, lib/utils.ts, and postcss.config.mjs automatically.
6. Set up environment
Copy .env.example to .env. If using Clerk, replace the empty NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY and CLERK_SECRET_KEY values with the credentials the user provided in Step 0:
cp .env.example .env
Then update the Clerk key lines in .env with the user's provided values.
7. Push database schema
docker compose up -d
npx prisma generate
npx prisma db push
8. Verify
Run pnpm dev and confirm the app starts without errors.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: nbialk
- Source: nbialk/quiver-cli
- License: MIT
- Homepage: https://www.npmjs.com/package/quiver-cli
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.