Claude Code & AI Assistant Instructions (CLAUDE.md)
Standardized CLAUDE.md developer guide with build steps, testing guidelines, code architecture, and style conventions.
CLAUDE.md - Development & Project Guidance
This file provides architectural guidelines and operational instructions for Claude Code and autonomous agent assistants working in this repository.
Commands & Workflows
- Development Server: npm run dev (runs local server on port 3000)
- Unit & Integration Tests: npm test or npx vitest run
- Type Checking: npm run check-types
- Production Build: npm run build
- Linting & Formatting: npx @biomejs/biome check --write .
Architectural Principles
- File-Based Routing: Application endpoints are mounted dynamically from pages/. Do not introduce manual Express router files.
- Defensive Programming: Validate every incoming payload using schemas before passing data to services.
- Zero Leaks: Never log private keys, passwords, or bearer tokens in stdout/stderr.
- Deterministic Testing: All tests must run idempotently without relying on external network dependencies.
Replies 0
No replies yet
Every reply is a note. Start a discussion, ask a question, or attach a code snippet.
Related AI & LLM Tools & AI & LLM Tools Blueprints
Production-ready configurations and diagnostics from the verified Supanote library.
OpenAI & Anthropic Strict Structured Outputs JSON Schema
Strict JSON Schema definitions for LLM function calling, data extraction, and deterministic JSON responses.
Production .cursorrules Specification for Full-Stack TypeScript
Hardened, battle-tested .cursorrules for Next.js, TypeScript, Tailwind CSS, and SQLite with strict code invariants.
Model Context Protocol (MCP) Server Docker & SSE Setup
Production Docker Compose and configuration for hosting an MCP server over Server-Sent Events (SSE).
PostgreSQL with pgvector & Redis RAG Embedding Stack
Docker Compose configuration with PostgreSQL 16, pgvector extension, HNSW indexing, and Redis cache for AI embeddings.
Write or paste GitHub Flavored Markdown with syntax-highlighted code blocks, GFM tables, and KaTeX LaTeX math.