Verify Command
Run verification loop to validate the implementation: $ARGUMENTS
Your Task
Execute comprehensive verification:
- Type Check:
npx tsc --noEmit - Lint:
npm run lint - Unit Tests:
npm test - Integration Tests:
npm run test:integration(if available) - Build:
npm run build - Coverage Check: Verify 80%+ coverage
Verification Checklist
Code Quality
- [ ] No TypeScript errors
- [ ] No lint warnings
- [ ] No console.log statements
- [ ] Functions < 50 lines
- [ ] Files < 800 lines
Tests
- [ ] All tests passing
- [ ] Coverage >= 80%
- [ ] Edge cases covered
- [ ] Error conditions tested
Security
- [ ] No hardcoded secrets
- [ ] Input validation present
- [ ] No SQL injection risks
- [ ] No XSS vulnerabilities
Build
- [ ] Build succeeds
- [ ] No warnings
- [ ] Bundle size acceptable
Verification Report
Summary
- Status: PASS: PASS / FAIL: FAIL
- Score: X/Y checks passed
Details
| Check | Status | Notes |
|---|---|---|
| TypeScript | PASS:/FAIL: | [details] |
| Lint | PASS:/FAIL: | [details] |
| Tests | PASS:/FAIL: | [details] |
| Coverage | PASS:/FAIL: | XX% (target: 80%) |
| Build | PASS:/FAIL: | [details] |
Action Items
[If FAIL, list what needs to be fixed]
NOTE: Verification loop should be run before every commit and PR.