You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -247,20 +245,23 @@ GRANT USAGE, SELECT ON ALL SEQUENCES IN SCHEMA public TO service_role;
247
245
248
246
**CRITICAL**: Never proceed with git add/commit/push unless ALL tests pass 100%. There is no "mostly passed" - either all tests pass or the task is incomplete.
249
247
248
+
**CRITICAL**: Fix ALL errors and warnings before proceeding to the next step. Do not continue running commands if there are errors or warnings - fix them first. Moving on without fixing is a waste of time.
249
+
250
250
**EXCEPTION**: For blog-only changes (adding/editing blog posts in `app/blog/posts/`), tests can be skipped since blog content doesn't affect application functionality.
251
251
252
252
When the user says "LGTM", execute these commands in order:
253
253
254
254
1.`npm run types:generate` - Generate TypeScript types
255
-
2.`npm run lint` - Run linting
256
-
3.`npx tsc --noEmit` - Type-check ALL files including tests (use this to catch TypeScript errors)
257
-
4.`npm test` - Run unit tests (must pass 100%, skip for blog-only changes)
258
-
5.`npm run build` - Build the project
259
-
6.**STOP if any test fails** - Fix all failures before proceeding (unless blog-only)
260
-
7.`git fetch origin main && git merge origin/main` - Pull and merge latest main branch changes
261
-
8.`git add <specific-file-paths>` - Stage specific changed files (NEVER use `git add .`, always specify exact file paths)
262
-
9. Create a descriptive commit message based on changes (do NOT include Claude Code attribution)
263
-
10.`git push` - Push to remote
255
+
2.`npm run lint` - Run linting. **Fix any errors/warnings before proceeding.**
256
+
3.`npx markdownlint-cli2 "**/*.md" "#node_modules"` - Lint markdown files. **Fix any errors before proceeding.**
257
+
4.`npx tsc --noEmit` - Type-check ALL files including tests. **Fix any errors before proceeding.**
258
+
5.`npm test` - Run unit tests (must pass 100%, skip for blog-only changes). **Fix any failures before proceeding.**
259
+
6.`npm run build` - Build the project
260
+
7.**STOP if any step fails** - Fix all failures before proceeding (unless blog-only)
261
+
8.`git fetch origin main && git merge origin/main` - Pull and merge latest main branch changes
262
+
9.`git add <specific-file-paths>` - Stage specific changed files including updated/created test files (NEVER use `git add .`, always specify exact file paths)
263
+
10. Create a descriptive commit message based on changes (do NOT include Claude Code attribution)
264
+
11.`git push` - Push to remote
264
265
265
266
**Note**: E2E tests (`npx playwright test`) are skipped during LGTM to save time. Run them manually when needed.
0 commit comments