Agent skill
validate-all
Run all PRISM documentation quality checks (docs, links, portability). Use before committing to .prism, or to check if anything is broken. Invoked by "validate all", "run all checks", "check prism", or "/validate-all".
Install this agent skill to your Project
npx add-skill https://github.com/resolve-io/.prism/tree/main/plugins/prism-devtools/skills/validate-all
SKILL.md
Validate All
Run every PRISM quality gate in one shot. This is the manual equivalent of the pre-commit hook.
When to Use
- Before committing changes to
.prism - To check if any documentation, links, or portability rules are violated
- When you want a quick "is everything OK?" answer
How to Run
# From the prism-devtools plugin directory
python skills/validate-all/scripts/validate-all.py
# Scan a specific directory
python skills/validate-all/scripts/validate-all.py --root /path/to/scan
Or just tell Claude: "run all validation checks" or "validate all".
What It Runs
| # | Check | Script | Blocks on |
|---|---|---|---|
| 1 | Documentation (6-phase) | scripts/validate-docs.py |
CRITICAL severity |
| 2 | Links (broken refs) | skills/validate-markdown-refs/scripts/validate-refs.py |
Any broken link |
| 3 | Portability (PC001-PC005) | scripts/check-portability.py |
PC001-PC003 errors |
Output
Human-readable summary to stdout:
PRISM Unified Validation
============================================================
Scan root: plugins/prism-devtools
[1/3] Documentation validation (6-phase structural scan)
PASS
[2/3] Link validation (broken reference check)
PASS (127 files scanned)
[3/3] Portability check (PC001-PC005)
PASS (15 advisory warnings)
============================================================
RESULT: ALL CHECKS PASSED
Exit Codes
| Code | Meaning |
|---|---|
| 0 | All checks passed (warnings OK) |
| 1 | One or more blocking issues found |
| 2 | Script error |
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
review-story
Use to perform comprehensive test architecture review with quality gate decision. Creates both story updates and detailed gate files.
create-dev-task
Use to generate development task documents for the Dev agent. Creates specifications describing WHAT needs fixing based on validated issues and investigations.
test-design
Use to design test strategies and create test specifications. Documents testing approaches for stories.
sdlc-handoff
Use for SDLC phase transitions. Ensures proper handoff between development phases with documentation.
qa-gate
Use to create or update quality gate decision files for stories. Provides clear pass/fail decisions with actionable feedback.
document-project
Use to analyze and document any project codebase. Creates comprehensive reference documentation for AI-assisted development including architecture and patterns.
Didn't find tool you were looking for?