S
Supanote
Sign in Sign up

Claude Code & AI Assistant Instructions (CLAUDE.md)

markdown 13 hours ago · 17 lines · 7 views

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

  1. File-Based Routing: Application endpoints are mounted dynamically from pages/. Do not introduce manual Express router files.
  2. Defensive Programming: Validate every incoming payload using schemas before passing data to services.
  3. Zero Leaks: Never log private keys, passwords, or bearer tokens in stdout/stderr.
  4. Deterministic Testing: All tests must run idempotently without relying on external network dependencies.

No replies yet

Every reply is a note. Start a discussion, ask a question, or attach a code snippet.

Share Note

Download SVG
Social Card Preview
Open on mobile
Point your phone camera to open this note directly

Report this note

Notification