AgentSkillsCN

verify

运行完整的验证流水线(类型检查、Lint 检查、测试)

SKILL.md
--- frontmatter
name: verify
description: Run full verification pipeline (types, lint, tests)
user-invocable: true
allowed-tools: Bash, Read, Glob

Run the full verification pipeline for the Sword Art Online project.

Pipeline

Execute each stage sequentially. Continue through all stages even if one fails.

Stage 1: TypeScript Type Check

Run bun tsc --noEmit and capture the output.

  • PASS: exit code 0
  • FAIL: report the first 10 errors with file paths

Stage 2: Lint

Run oxlint . and capture the output.

  • PASS: no errors (warnings are OK)
  • FAIL: report error count and first 5 errors

Stage 3: Tests

Run bun test and capture the output.

  • PASS: all tests pass
  • FAIL: report failing test names and error messages

Output

Present a summary table:

StageStatusDetails
TypesPASS/FAILError count or "clean"
LintPASS/FAILError/warning count
TestsPASS/FAILX passed, Y failed

Overall: PASS/FAIL

If any stage failed, list actionable next steps.