Lab Notes

Project Templates

How templates turn good practices into reproducible project starts for agents.

The Project Starter Stack turns accumulated learning into reproducible starts. A new project should not begin from zero; it should begin from a base that already includes stack decisions, rules, skills, and documentation.

Next.js Template

The main reviewed template targets modern frontend work:

TechnologyUse
Next.js 15App Router and modern structure.
React 19UI and components.
TypeScriptStrict typing.
Tailwind CSS v4Styling.
shadcn/ui + RadixAccessible components.
ZustandClient state.
Vitest + Testing LibraryTests.
SupabaseOptional backend when needed.

Included Skills

The template includes skills to guide the agent:

  • next-best-practices;
  • react-best-practices;
  • shadcn-ui;
  • vitest-testing;
  • frontend-design;
  • project-conventions;
  • supabase-postgres-best-practices.

Required Documentation

Each generated project should include:

FilePurpose
docs/README.mdProject introduction, routes, and stack.
docs/code-reference.mdLiving reference for interfaces, functions, and flows.
docs/architecture.mdTechnical decisions and structure.
AGENTS.mdRules for agents working in the repository.

Expected Flow

Loading diagram…
Template flow: start from structure, load context, work with the agent, and keep documentation current.

Learning

Templates are packaged operational memory. Whenever the system learns a good practice, it can become a rule, skill, script, or base file so future projects start in a better state.