krishna_sales/.agents/rules/build_on_change.md

563 B

name description
build-after-changes Always run the build command and verify it passes after making any code changes.

Build on Change

Whenever you finish making code changes to the project:

  1. You MUST automatically run the build command (e.g., npm run build or npm run typecheck depending on the project configuration) to verify that the changes do not introduce any compilation or type errors.
  2. If the build command fails, you MUST investigate and fix those build errors before concluding your task or presenting the final code to the user.