jsturtevant/compilers-course/validation-scripts
Claude Code and agent skill by jsturtevant/compilers-course
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install jsturtevant/compilers-course/validation-scriptsSKILL.md
Skill: Validation Scripts
Confidence: high Domain: compiler phases, testing, CI
Pattern
Every compiler phase MUST have a corresponding validation script in scripts/ that:
- Runs the phase against ALL sample files in
cool-support/examples/ - Requires any external validation tools (exits with error if missing)
- Reports pass/fail counts with colored output
- Exits with non-zero status if any sample fails
Script Naming Convention
Examples:
scripts/run-lexer-all.shscripts/run-parser-all.shscripts/run-semant-all.shscripts/run-codegen-all.sh
Required Script Structure
When to Create
Create a validation script when:
- Implementing a new compiler phase
- Adding a new crate that processes COOL source files
- Before marking a phase as "complete"
When to Run
- After implementing changes to a phase
- Before committing code
- In CI pipelines
Current Scripts
| Phase | Script | External Tool | Validates | |
|---|---|---|---|---|
| Lexer | run-lexer-all.sh | — | Token output | |
| Parser | run-parser-all.sh | — | AST structure | |
| Semantic | run-semant-all.sh | — | Type checking | |
| Codegen | run-codegen-all.sh | wasm-tools | WASM structure | |
| Runtime | run-wasmtime-all.sh | wasmtime | WASM execution |
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.squad/skills/validation-scripts/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jsturtevant/compilers-course/validation-scripts)