| name | check-ushabti-prerequisites |
| description | Verify required Ushabti files exist before proceeding. Use when starting agent work to ensure prerequisites are met. |
| user-invocable | false |
Ushabti Prerequisites
How to Check Prerequisites
Run these commands to verify required files exist:
[ -f .ushabti/laws.md ] && echo "โ laws.md exists" || echo "โ laws.md MISSING (run Lawgiver)"
[ -f .ushabti/style.md ] && echo "โ style.md exists" || echo "โ style.md MISSING (run Artisan)"
[ -f .ushabti/docs/index.md ] && echo "โ docs/index.md exists" || echo "โ docs/index.md MISSING (run Surveyor)"
[ -d .ushabti/phases ] && echo "โ phases/ exists" || echo "โ phases/ MISSING (run Scribe)"
Required Files by Agent
| Agent | laws.md | style.md | docs/ | phases/ |
|---|
| Lawgiver | Creates | โ | Creates scaffold | โ |
| Artisan | Required | Creates | โ | โ |
| Surveyor | โ | โ | Creates comprehensive | โ |
| Scribe | Required | Required | Required (scaffold OK) | Creates |
| Builder | Required | Required | Recommended | Required |
| Overseer | Required | Required | Recommended | Required |
Bootstrap Flow
For a new project (empty directory):
- Lawgiver โ Creates
.ushabti/laws.md and a minimal docs scaffold (.ushabti/docs/index.md)
- Artisan โ Creates
.ushabti/style.md, recommends Surveyor for comprehensive docs
- Surveyor (optional) โ Creates comprehensive documentation in
.ushabti/docs/
- Scribe โ Plans the first Phase (scaffold docs are sufficient to proceed)
- Builder โ Implements the Phase
- Overseer โ Reviews and approves the Phase
For an existing project:
- Surveyor โ Documents the existing codebase
- Lawgiver โ Defines project invariants (docs already exist)
- Artisan โ Defines project style
- Scribe โ Builder โ Overseer โ Normal Phase cycle
Docs Scaffold vs Comprehensive Docs
Scaffold (created by Lawgiver): Minimal index.md with placeholder content. Marked with "Scaffold documentation" text. Sufficient for Scribe to plan, but Surveyor should run for full documentation.
Comprehensive (created by Surveyor): Full project documentation with multiple files covering architecture, systems, and APIs.