원클릭으로
mojo-lint-syntax
Validate Mojo syntax against current v0.26.1+ standards. Use to catch syntax errors before compilation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Validate Mojo syntax against current v0.26.1+ standards. Use to catch syntax errors before compilation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Run section orchestrators to coordinate multi-component workflows. Use when starting work on a section.
Validate agent YAML frontmatter and configuration. Use before committing agent changes or in CI.
Reply to PR review comments using the correct GitHub API endpoint. Use when responding to inline code review feedback (not gh pr comment).
Run Mojo tests using mojo test command. Use when executing tests or verifying test coverage.
Track implementation progress against plan. Use to monitor component delivery and identify blockers.
Check agent configuration coverage across hierarchy levels and phases. Use to ensure complete agent system coverage.
| name | mojo-lint-syntax |
| description | Validate Mojo syntax against current v0.26.1+ standards. Use to catch syntax errors before compilation. |
| category | mojo |
| mcp_fallback | none |
Validate Mojo code against v0.26.1+ syntax standards.
# Validate single executable file (with main())
mojo build -I . file.mojo
# Build entire package (for library files)
mojo package shared
# Format code (fixes many syntax issues)
pixi run mojo format .
# Check for deprecated patterns
grep -r "inout self\|@value\|DynamicVector\|->" *.mojo | grep -v "result\|fn"
IMPORTANT: Library files with relative imports CANNOT be validated using mojo build - use mojo package instead.
Deprecated Patterns:
inout self → ✅ out self in __init__, ✅ mut self in methods@value → ✅ @fieldwise_init with trait listDynamicVector → ✅ List-> (T1, T2) → ✅ -> Tuple[T1, T2]Constructor Issues:
__init__ (must be out self)Copyable, Movable)Type Issues:
Ownership Issues:
^ for non-copyable typesvar parameter incorrectlymojo build -I . file.mojopixi run mojo format to auto-fix stylemojo package shared for library filesReport syntax issues with:
| Problem | Solution |
|---|---|
| Compiler not found | Verify mojo is installed and in PATH |
| Module not found | Add -I . flag to include current directory |
| Encoding issues | Convert file to UTF-8 |
| Version mismatch | Check mojo version against v0.26.1+ |
| Large files | Process one file at a time |
Before committing Mojo code:
mojo build__init__ use out self (not mut self)^ operator