AgentSkillsCN

quality-check

运行类型检查、代码风格检查、测试以及构建质量门禁

SKILL.md
--- frontmatter
name: quality-check
description: Run typecheck, lint, test, and build quality gates
user_invocable: true

Quality Check

Run the full quality suite for the RAPID project.

Steps

Run each check sequentially from apps/web/. Report pass/fail for each:

1. TypeScript

bash
cd apps/web && npm run typecheck

2. ESLint

bash
cd apps/web && npm run lint

3. Vitest

bash
cd apps/web && npm run test

4. Build

bash
cd apps/web && npm run build

Report

After all checks complete, output a summary table:

CheckStatus
typecheckPASS/FAIL
lintPASS/FAIL
testPASS/FAIL
buildPASS/FAIL

If any check fails, show the first 20 lines of errors and suggest fixes.

Notes

  • The "close timed out" warning after Vitest is a known nitro issue — ignore it