Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.83 KB

File metadata and controls

49 lines (34 loc) · 1.83 KB

DevCache

A developer knowledge hub for snippets, commands, prompts, notes, files, images, links, and custom types.

Context Files

Read the following to get the full context of the project:

  • @context/project-overview.md
  • @context/coding-standards.md
  • @context/ai-interaction.md
  • @context/current-feature.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

@AGENTS.md

Commands

npm run dev           # start dev server at localhost:3000
npm run build         # production build
npm run lint          # run ESLint
npm test              # run unit tests (single pass)
npm run test:watch    # run unit tests in watch mode
npm run test:coverage # run unit tests with coverage report

Architecture

This is a Next.js 16 app using the App Router (src/app/). Key version notes:

  • Next.js 16 — may have breaking changes vs. prior versions; check node_modules/next/dist/docs/ before using APIs
  • React 19 with the React Compiler enabled (reactCompiler: true in next.config.ts) — manual useMemo/useCallback are unnecessary
  • Tailwind CSS v4 — uses @import "tailwindcss" in globals.css instead of @tailwind directives; @theme block replaces tailwind.config.js
  • ESLint v9 flat config format (eslint.config.mjs)

Neon Database

  • Project: devcache (ID: royal-wind-26670711)
  • Always use the development branch (ID: br-winter-dust-ao3arl97) for all Neon MCP queries
  • Never touch the production branch (br-polished-heart-aopw2ws9) unless explicitly told to

App Router conventions

  • src/app/layout.tsx — root layout with Geist font variables and global CSS
  • src/app/page.tsx — home route
  • src/app/globals.css — global styles (Tailwind import only; component styles via Tailwind utility classes)