| name | handbook-validator |
| description | Validate cursor-handbook structure, config, and component integrity. Use when the user asks to validate the setup, check for issues, or verify the handbook installation. |
Skill: Handbook Validator
Validate that the cursor-handbook structure is correct, configuration is present, and components are well-formed.
Trigger
When the user asks to validate the handbook, check the setup, verify configuration, or troubleshoot missing components.
Prerequisites
Usage
Run the bundled script from the project root:
scripts/validate.sh
Steps
Step 1: Run Basic Validation
Step 2: Extended Validation (if basic passes)
Step 3: Report Results
| Check | Status | Details |
|---|
.cursor/ exists | PASS/FAIL | โ |
project.json configured | PASS/WARN | Placeholder count |
| Rules present | PASS/FAIL | Count of .mdc files |
| Skills valid | PASS/WARN | Count with/without SKILL.md |
| Hooks wired | PASS/WARN | Missing scripts |
Step 4: Suggest Fixes
Rules
- NEVER modify files without user confirmation
- Report all issues, don't stop at the first failure
- Distinguish between FAIL (blocking) and WARN (advisory)
Completion
Validation report with clear pass/fail status for each check and actionable fix suggestions for any issues found.
If a Step Fails
.cursor/ not found: Suggest running the cursor-setup skill to bootstrap
- No rules found: Suggest copying from examples or running setup
- Permission errors: Check file permissions with
ls -la