Add build verification rule to CLAUDE.md

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
EOF
)
This commit is contained in:
Manohar Gupta 2026-05-10 05:17:44 +05:30
parent fa657a4ba9
commit 13042f6e68

View file

@ -6,6 +6,10 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
**Tia** is a baby tracking app built with Next.js 15/16, designed for a Mama to track her baby's feeds, sleep, diapers, vaccinations, growth, and memories. The app features offline-first logging, AI-powered Q&A, and a Telegram alert system.
## Build Verification Rule
**ALWAYS verify the build passes locally BEFORE asking user to deploy.** Run `pnpm build` (or `npm run build`) and confirm it succeeds with no errors. Do not ask the user to trigger a deployment until you've confirmed the build works.
## Common Commands
```bash