一键导入
validate
Run code validation (lint, type-check, test, build) in parallel. Use when developer wants to validate code before committing or after making changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run code validation (lint, type-check, test, build) in parallel. Use when developer wants to validate code before committing or after making changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Feature implementation workflow. Use when developer wants to implement a feature or fix - creates branch, plans, implements, and validates.
Git commands for branching, committing, merging, rebasing, and squashing. Use when developer needs to create branches, commit changes, merge or rebase branches, or squash commits.
GitHub commands (issues, PRs, ship). Use when developer needs to create issues, create/update PRs, address review comments, or ship experimental changes.
Project management commands (init, skill-up, diagram)
Autonomous test writing agent. Use when developer wants tests written for changed files. Analyzes git diff, identifies components needing tests, writes unit tests following project conventions with Vitest.
DeepSource commands (review issues). Use when developer needs to review and fix static analysis issues.
| name | validate |
| description | Run code validation (lint, type-check, test, build) in parallel. Use when developer wants to validate code before committing or after making changes. |
| user-invocable | true |
Run all validation commands in parallel and report results.
Run /validate at the end, right before committing:
During development, use targeted commands instead:
npx vitest run src/path/to/file.test.tsx # Run specific test
npx biome check --write ./src # Lint + auto-fix
npx tsc --noEmit # Type check
npx rspeedy build # Build JS bundle
/validate
Spawn 4 runner agents in parallel using the Task tool with subagent_type: "runner". All 4 MUST be spawned as parallel Task tool calls in a single message.
| Check | Command |
|---|---|
| Lint | npx biome check --write ./src && npx biome check ./src |
| Types | npx tsc --noEmit |
| Tests | npx vitest run |
| Build | npx rspeedy build |
Example Task call:
Task tool:
subagent_type: "runner"
description: "Run lint check"
prompt: "Run command: npx biome check --write ./src && npx biome check ./src"
After all agents complete, present a summary table:
Validation Results:
| Check | Status |
|-------------|--------|
| Lint | PASS / FAIL |
| Types | PASS / FAIL |
| Tests | PASS / FAIL |
| Build | PASS / FAIL |