一键导入
mojo-build-package
Build Mojo packages (.mojopkg files) for distribution. Use when creating distributable libraries or during packaging phase.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build Mojo packages (.mojopkg files) for distribution. Use when creating distributable libraries or during packaging phase.
用 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-build-package |
| description | Build Mojo packages (.mojopkg files) for distribution. Use when creating distributable libraries or during packaging phase. |
| mcp_fallback | none |
| category | mojo |
Build compiled Mojo packages for distribution and reuse.
# Build single package
mojo package scylla/tensor -o packages/tensor.mojopkg
# Build and test
./scripts/build_package.sh tensor --test
# Build all packages
./scripts/build_all_packages.sh
__init__.mojo existsmojo package or script__all__ in __init__.mojo__init__.mojo entry point__all__ list.mojopkg binary format| Error | Cause | Solution |
|---|---|---|
Missing __init__.mojo | No package entry point | Add __init__.mojo to package dir |
Circular dependency | Modules depend on each other | Refactor to break cycle |
Export not found | Missing from __all__ | Add name to __all__ list |
Build failed | Syntax errors in module | Fix syntax before building |
.claude/shared/mojo-guidelines.md - Function definition patternstemplates/package_toml.toml