Claude Code toolkit · agents / skills / commands
A personal Claude Code toolkit for shipping fullstack web apps — planning, implementation, data layer, review, tests, and debugging as focused subagents that all follow the same conventions, so nothing they build contradicts anything else.
Next.js App Router · TypeScript strict · PostgreSQL / Drizzle · MongoDB optional · TanStack Query v5 · shadcn/ui · Zod · Vitest
Four advisors that only read, three engineers that write. Every one of them enforces the same rules: services own the database (Postgres via Drizzle by default, MongoDB where the domain fits it), Zod guards every boundary, TanStack Query owns client state, and mutations always reconcile the cache.
Turns a feature request into a buildable plan: data model, API surface, query-key and options factories, UI split, tests, and risks — ordered so the app compiles after every step.
Builds the feature bottom-up: Mongoose schema → Zod → service → server action → query/mutation factories → UI on shadcn/ui. Runs typecheck, lint, and tests before reporting.
Owns TanStack Query: key factories, queryOptions / mutationOptions, SSR prefetch with HydrationBoundary, invalidation, optimistic updates — and hunts down every stale-cache bug.
Schema design for the queries you actually run — Postgres/Drizzle relations and indexes by default, Mongo embed-vs-reference where the project uses it — with migration plans, tradeoffs, and what each design makes expensive.
Strict diff review before every commit: NoSQL injection, missing auth on actions, unbounded queries, query-key mismatches, missing invalidations. Verdicts: ship / fix blockers / rework.
Vitest + Testing Library, services first against in-memory Mongo, per-test QueryClient with retries off, actions mocked at the boundary. Every bug fix ships with a regression test.
Traces a bug through every layer — component → hook → options factory → action → service → Mongoose — and reports root cause at file:line with evidence, a minimal fix, and the test that would have caught it.
The shared rulebook every agent reads before touching code — so the planner's plan, the implementer's code, and the reviewer's checklist all describe the same architecture.
# installs into ~/.claude — available in every project.
# asks which database is your default: PostgreSQL or MongoDB
npx claude-agents-fullstack
Non-interactive: npx claude-agents-fullstack --db postgres or --db mongodb — both
stay installed; the flag only sets the default for new apps. An existing ~/.claude/CLAUDE.md
is backed up to CLAUDE.md.bak first. From a clone instead: ./install.sh
(same prompts and flags). Per-project instead: copy
agents/, skills/, commands/ into the repo's .claude/
directory and drop templates/CLAUDE.md.template in the root as CLAUDE.md.