From 13042f6e6885cc28ad95675b4b3444fe856283da Mon Sep 17 00:00:00 2001 From: Mannu Date: Sun, 10 May 2026 05:17:44 +0530 Subject: [PATCH] Add build verification rule to CLAUDE.md Co-Authored-By: Claude Opus 4.7 EOF ) --- CLAUDE.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 2e970df..d280520 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -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