howard36/probase / .claude/skills/verify
verify
UnverifiedVerify 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-promisesis an error: add.catch(...)orvoidto un-awaited promises rather than disabling the rule. npm run test:dbneeds 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: 318k | Updated | Claude CodeCodex | Unverified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 318k | Updated | Claude CodeCodex | Unverified | 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: 196k | Updated | Claude CodeCodex | Verified | Install |