원클릭으로
test
Run the optimal set of vitest tests and typecheck based on changed files or arguments
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run the optimal set of vitest tests and typecheck based on changed files or arguments
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Check demo site deployment status and troubleshoot build failures
VACUUM the SQLite database to reclaim disk space and consolidate WAL
Build and deploy the demo site to Cloudflare Workers manually
| name | test |
| description | Run the optimal set of vitest tests and typecheck based on changed files or arguments |
| user_invocable | true |
Run the most relevant tests for this project. Automatically determine scope from context.
$ARGUMENTS can be:
git diff and run only affected testsci → run all CI checks: typecheck + lint + all testsall → run all tests (both server and client)server → run server tests onlyclient → run client tests onlytypecheck → run typecheck onlylint → run lint only$ARGUMENTS is ci, run npx tsc --noEmit, npx eslint src/ server/ shared/, and npx vitest run (all three in parallel)$ARGUMENTS is all, run npx vitest run$ARGUMENTS is server, run npx vitest run --project server$ARGUMENTS is client, run npx vitest run --project client$ARGUMENTS is typecheck, run npx tsc --noEmit$ARGUMENTS is lint, run npx eslint src/ server/ shared/$ARGUMENTS is a specific path or pattern, run npx vitest run $ARGUMENTS$ARGUMENTS is empty, detect which files have changed:
git diff --name-only HEAD and git diff --name-only --staged to find changed filesserver/ → run --project serversrc/ → run --project clientserver/**/*.test.ts (environment: node, DATABASE_URL=:memory:)src/**/*.test.{ts,tsx} (environment: jsdom)npx tsc --noEmit (full project)Run via npx vitest run (not npm test, to avoid mise wrapper issues in some environments).
When running ci, typecheck / lint / vitest are independent — run them in parallel.
After completion, summarize: how many tests passed/failed/skipped, and whether typecheck/lint succeeded.