원클릭으로
sounio-lint
Scan a .sio file for Rust-isms and suggest Sounio-native fixes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Scan a .sio file for Rust-isms and suggest Sounio-native fixes
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
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