Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .claude/skills/verify/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ description: Run quality loop (audit + lint + tests) to verify code quality, cor

2. **Lint** — `npm run lint`

3. **Tests** — check if MongoDB is reachable:
- **Infra up** → `npm run test:all` (unit + integration + E2E)
- **Infra down** → `npm test` (unit only) + warn: "Integration/E2E skipped — run `docker compose -f docker-compose.test.yml up -d` for full coverage"
3. **Tests + coverage** — check if MongoDB is reachable:
- **Infra up** → `npm run test:coverage` (all tests + coverage enforcement)
- **Infra down** → `npm run test:coverage -- --testPathPatterns='unit'` (unit only + coverage) + warn: "Integration/E2E skipped — run `docker compose -f docker-compose.test.yml up -d` for full coverage"
- If coverage drops below thresholds (jest.config.js) → fail. Add tests, never lower thresholds.

4. **Summary:** ✅ All passed → ready to commit | ❌ Failed → show failures, fix, re-run
Loading