howard36/probase / .claude/skills/verify
verify
VerifiedVerify a change is done by running lint, the Prettier check, the test suites, and a production build. Use after finishing any code change and before opening a PR.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.1 KB |
SKILL.md
View on GitHub---
name: verify
description: Verify a change is done by running lint, the Prettier check, the test suites, and a production build. Use after finishing any code change and before opening a PR.
---
Run these checks from the repo root, in order, and stop at the first failure:
```
npm run lint
npx prettier . --check
npm test
npm run test:db && npm run test:integration
npm run build
```
- If Prettier reports unformatted files, run `npx prettier --write <files>` on just those files and re-run the check.
- If lint or build fails, fix the reported issue. `@typescript-eslint/no-floating-promises` is an error: add `.catch(...)` or `void` to un-awaited promises rather than disabling the rule.
- `npm run test:db` needs Docker. If Docker is unavailable, skip the integration step and say so explicitly in the report; do not point the tests at any other database.
- If a test fails, decide whether the test or the code is wrong before changing either, and say which in the report.
- Report the outcome faithfully: which checks passed, and the exact error output for any that failed.
Do not run `npm run dev:prod` or `npm run prod` as part of verification.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |