with one click
sounio-lint
Scan a .sio file for Rust-isms and suggest Sounio-native fixes
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Scan a .sio file for Rust-isms and suggest Sounio-native fixes
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Type-check a Sounio .sio file using the souc compiler
JIT-execute a Sounio .sio file and show output
Type-check a Sounio .sio file using the souc compiler
Compile and run a Sounio .sio file and show output
Work on the self-hosted Sounio compiler bootstrap path: self-hosted/main.sio pipeline modes (--lex, --parse, --check, --ir-dump, --native-compile), frontend corpus gates, and bootstrap binary milestones.
Work on the native x86-64 code generation backend: register allocation, instruction encoding, peephole optimization, frame sizing, ELF output, and the compile_ir_function pipeline; use when editing any sprint 52–65+ native/*.sio files.
| name | sounio-lint |
| description | Scan a .sio file for Rust-isms and suggest Sounio-native fixes |
| user-invocable | true |
| allowed-tools | Bash, Read, Edit, Glob, Grep |
Scan Sounio source files for common Rust syntax that doesn't belong.
If a file argument is given, lint that file. Otherwise, lint all .sio files in the current directory.
Run the lint script:
bash scripts/sounio-lint.sh <file>
If the script is not available, perform manual grep-based detection for these patterns:
| Pattern | Rule | Fix |
|---|---|---|
println! or assert! | rust-macro | Remove ! → println(), assert() |
&mut | rust-borrow | Replace with &! |
let mut | rust-let-mut | Replace with var |
#[ | rust-attr | Remove attribute, use //@ annotation if testing |
Trailing ; on statements | semicolons | Remove the semicolon |
|x| lambda syntax | rust-closure | Extract to named function + fn ref |
Report findings with line numbers in file:line: error: rule: description format
If --fix is requested (or user asks to fix), apply corrections using the Edit tool:
println!(...) → println(...)assert!(...) → assert(...)&mut → &!let mut → var#[...] attribute linesAfter fixing, run /sounio-check to verify the fixes compile