verify
运行项目验证检查(类型检查、代码风格检查、测试)。当用户请求验证项目、运行检查或验证代码质量时使用。
📖 中文导读:运行项目验证检查(类型检查、代码风格检查、测试)。当用户请求验证项目、运行检查或验证代码质量时使用。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: verify description: Run project verification checks (type-check, lint, unit tests, e2e tests, build). Use this skill when the user asks to verify the project, run checks, or validate code quality.
Verify Project Skill
Purpose
Run comprehensive project verification checks including type-checking, linting, unit tests, e2e tests, and build validation.
When to Use
- User asks to verify project
- User asks to run checks/tests
- Before committing/pushing changes
- After code changes
- Before creating a PR
Steps
Run unit tests & build verification
npm run verifyThis runs:
type-check,lint,test, andbuildRun e2e tests (optional, recommended before release)
npm run test:e2eReport results
- ✅ All passed
- ❌ Show failures and fix them
Available Scripts
Core Verification
npm run verify- runs type-check + lint + test + buildnpm run type-check- TypeScript validationnpm run lint- ESLint checknpm run lint:fix- Auto-fix linting issuesnpm run test- Run Jest unit testsnpm run test:e2e- Run Playwright e2e testsnpm run build- Build all packages
Quality Gates
- ✅ Type check must pass
- ✅ Linting must pass (no warnings)
- ✅ All unit tests must pass
- ✅ Build must succeed
- ✅ E2E tests should pass (before release)