This file provides comprehensive guidance to Claude Code (claude.ai/code) when working with this repository. It emphasizes technical continuity, autonomous development workflows, and architectural understanding.
yarn dev(port 3001) - Development server for human developersyarn dev-ai(port 3002) - Development server for AI developmentyarn build- Create production buildyarn start(port 3001) - Production server for human developersyarn start-ai(port 3002) - Production server for AI developmentyarn lint- Run linting checks
CRITICAL: Always use ONLY these specific log filenames to prevent git pollution:
ai-output.log- For all build, lint, and one-time commandsai-output-start.log- For server commands that need to be killed
DO NOT create descriptive log names like build-dashboard.log or lint-fix.log
# For linting and building (reuses same file)
yarn lint > ai-output.log 2>&1
yarn build > ai-output.log 2>&1
# For dev/start servers (use timeout to prevent hanging)
yarn dev-ai > ai-output.log 2>&1 & sleep 10; kill $!
yarn start-ai > ai-output-start.log 2>&1 & sleep 10; kill $!After running any command:
- Read the output log file
- Parse for errors, warnings, or relevant messages
- Fix any issues found
- Re-run the command to verify fixes (overwrites the same log file)
- Document any new patterns or solutions
Note: The log files are in .gitignore to keep the repository clean
-
yarn lintpasses with no errors -
yarn buildcompletes successfully -
yarn start-aistarts cleanly (after successful build) - All TypeScript errors resolved