<< All versions
Skill v1.0.0
currentAutomated scan100/100nirusan/claude-config/validate
──Details
PublishedOctober 5, 2026 at 02:52 AM
Content Hashsha256:dae26c8943905d9c...
Git SHA
──Files
Files (1 file, 1.4 KB)
SKILL.md1.4 KBactive
SKILL.md · 61 lines · 1.4 KB
version: "1.0.0" name: validate description: Run lint, build, and E2E tests in sequence. Use when the user wants to validate their code, run tests, or check if everything works before committing. triggers:
- "/validate"
- "validate"
- "valider"
- "run tests"
- "lancer les tests"
- "vérifier le build"
allowed-tools: Bash(pnpm:), Bash(grep:), Bash(cat:*), Read user-invocable: true disable-model-invocation: true
Full Project Validation
Run all validation steps in order. Stop immediately if any step fails.
Step 0: Detect Available Scripts
Check package.json to see which scripts are available:
- Look for
lint,build,test:e2e,testscripts - Adapt the workflow based on what exists
Step 1: Lint (if available)
bash
pnpm lint
- If script doesn't exist: skip with note
- If errors: display them and offer to fix
- If ok: proceed to next step
Step 2: Build (if available)
bash
pnpm build
- If script doesn't exist: skip with note
- If type errors: display them and offer to fix
- If ok: proceed to next step
Step 3: Tests (if available)
Check which test script exists and run it:
pnpm test:e2e(E2E tests)pnpm test(unit tests fallback)- If neither exists: skip with note
Final Summary
Lint: [OK / X errors / Not configured]Build: [OK / X errors / Not configured]Tests: [OK (X passed) / X failed / Not configured]
Adapt to what's actually available in the project.