mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-26 12:35:35 +02:00
Implemented three-layer defense mechanism to prevent AI-generated code from breaking the codebase: - Layer 1: AGENTS.md with universal AI agent instructions - Layer 2: Husky pre-commit hooks with test file checking - Layer 3: GitHub Actions CI with TypeScript, ESLint, tests, and coverage Includes design document, test infrastructure, and coverage thresholds. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
900 B
900 B
Claude Code Instructions
This file contains instructions for Claude Code when working on this repository.
Important: Read AGENTS.md First
Before making any code changes, read and follow the guidelines in AGENTS.md.
Key Requirements
- Always write tests - Every code change must include corresponding unit tests
- Run checks before committing - Use
pnpm typecheck && pnpm lint && pnpm test:run - Follow test conventions - See AGENTS.md for test file location patterns
Quick Reference
# Development
pnpm dev # Start development server
pnpm build # Build for production
# Quality checks
pnpm typecheck # TypeScript compilation check
pnpm lint # ESLint check
pnpm format:check # Prettier format check
pnpm test:run # Run all tests
pnpm test:coverage # Run tests with coverage report