一键导入
mojo-format
Format Mojo code using mojo format command. Use when preparing code for commit or when formatting checks fail.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Format Mojo code using mojo format command. Use when preparing code for commit or when formatting checks fail.
用 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-format |
| description | Format Mojo code using mojo format command. Use when preparing code for commit or when formatting checks fail. |
| mcp_fallback | none |
| category | mojo |
Format Mojo code files to ensure consistent style.
# Format single file
pixi run mojo format path/to/file.mojo
# Format directory
pixi run mojo format `find scylla/ -name "*.mojo"`
# Check without modifying
pixi run mojo format --check path/to/file.mojo
pixi run mojo format <path>| Error | Cause | Solution |
|---|---|---|
Syntax error | Invalid Mojo syntax | Fix syntax before formatting |
File not found | Wrong path | Verify file exists |
Permission denied | File permissions | Check chmod settings |
Mojo not installed | Missing Mojo | Install via pixi or Magic |
.claude/shared/mojo-guidelines.md - Mojo syntax standards.pre-commit-config.yaml - Pre-commit hook configuration