11 lines
563 B
Markdown
11 lines
563 B
Markdown
---
|
|
name: build-after-changes
|
|
description: 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.
|