Agent skill
validate
Run validation checks - determines whether to use fast (validate) or full (validate:full) based on changed files
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/validate-gricha-perry
SKILL.md
Validate Skill
Run the appropriate validation for your changes.
Commands
| Command | What it does | When to use |
|---|---|---|
bun run check |
lint + format + typecheck | Quick syntax check |
bun run validate |
check + build TS/worker + unit tests | Default for most changes |
bun run validate:core |
validate + integration tests | Core behavior changes |
Decision Logic
-
Check what files changed using
git statusorgit diff --name-only -
Use
bun run validate:coreif changes touch:src/agent/(core agent behavior)src/workspace/(workspace lifecycle)src/terminal/(terminal/WebSocket)
-
Use
bun run validatefor everything else -
Run specific tests relevant to your changes instead of full suites:
bashbun test test/unit/relevant.test.ts bun test test/integration/relevant.test.ts bun test web/e2e/relevant.spec.ts
Steps
-
Check changed files:
bashgit diff --name-only HEAD -
Run validation + relevant tests:
bashbun run validate # Then run specific tests for your changes bun test test/unit/relevant.test.ts -
If validation fails, fix issues and re-run
-
Run warden to get code review feedback locally (security, react best practices, code simplification):
bashwarden -vThe
-vflag streams findings in real-time. Fix any issues warden finds before creating a PR.
Notes
validateis fast (~30s),validate:coreadds integration tests (~1-2min)- CI runs full validation on PRs, so targeted tests are usually sufficient locally
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?