Manusで任意のスキルを実行
ワンクリックで
ワンクリックで
ワンクリックでManusで任意のスキルを実行
始める$pwd:
test
// Run the optimal set of vitest tests and typecheck based on changed files or arguments
$ git log --oneline --stat
stars:412
forks:41
updated:2026年3月13日 11:54
SKILL.md
// Run the optimal set of vitest tests and typecheck based on changed files or arguments
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.