Agent skill
verify-corbat-tech-coco
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/verify-corbat-tech-coco
SKILL.md
Verify
Run all quality gates and produce a comprehensive pass/fail report.
Full Verification Sequence
Execute in this order (stop at first critical failure):
1. TypeScript Check
pnpm typecheck 2>&1
Reports type errors without building.
2. Lint
pnpm lint 2>&1
oxlint checks for code quality and potential bugs.
3. Format Check
pnpm format 2>&1
oxfmt verifies formatting is consistent.
4. Tests
pnpm test 2>&1
Runs all Vitest tests.
5. Coverage
pnpm test:coverage 2>&1 | tail -20
Checks coverage thresholds (80%+ lines, functions, branches, statements).
6. Build
pnpm build 2>&1
Verifies tsup produces valid output.
7. Git Status
git status --short
git diff --stat HEAD
Shows what changed and what's uncommitted.
Quick Modes
# Quick check — typecheck + lint only (fast, ~5s)
pnpm typecheck && pnpm lint
# Pre-commit — typecheck + lint + tests (no coverage, ~15s)
pnpm check
# Full — everything including coverage + build (~45s)
pnpm check && pnpm test:coverage && pnpm build
Output Report Format
## Verification Report
| Check | Status | Details |
|-------|--------|---------|
| TypeScript | ✅ PASS / ❌ FAIL | [error count or "no errors"] |
| Lint (oxlint) | ✅ PASS / ❌ FAIL | [warnings/errors] |
| Format (oxfmt) | ✅ PASS / ❌ FAIL | [files needing format] |
| Tests | ✅ PASS / ❌ FAIL | [X passed, Y failed] |
| Coverage | ✅ PASS / ❌ FAIL | [lines: X%, functions: X%] |
| Build | ✅ PASS / ❌ FAIL | [output size] |
**Overall**: ✅ ALL PASSING — Ready for PR / ❌ BLOCKED — Fix issues above
### Issues Found
- [TypeScript] `src/path/file.ts:L42` — [error message]
- [Tests] `src/path/test.ts` — [failure reason]
### Uncommitted Changes
- M src/path/file.ts
- A src/path/new-file.ts
### PR Readiness
[READY / NOT READY — [blocking reason]]
Thresholds (corbat-coco)
| Metric | Threshold |
|---|---|
| Lines coverage | ≥80% |
| Functions coverage | ≥80% |
| Branches coverage | ≥80% |
| TypeScript errors | 0 |
| Lint errors | 0 |
| Test failures | 0 |
Usage
/verify # full suite
/verify quick # typecheck + lint only
/verify pre-pr # everything + security scan
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?