一键导入
build-run-local
Run local builds with proper environment setup. Use when building code locally to verify changes before pushing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run local builds with proper environment setup. Use when building code locally to verify changes before pushing.
用 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 | build-run-local |
| description | Run local builds with proper environment setup. Use when building code locally to verify changes before pushing. |
| category | ci |
| mcp_fallback | none |
Execute local builds with environment setup matching CI pipeline.
# Activate environment
eval "$(pixi shell-hook)"
pixi run mojo --version
# Build project
pixi run mojo build -I . shared/core/extensor.mojo
# Run tests
pixi run mojo test -I . tests/shared/core/
# Run specific test
pixi run mojo test -I . tests/shared/core/test_extensor.mojo
# Format code
pixi run mojo format .
Environment Setup:
pixi shell-hook activates the pixi environmentBuild Flags:
-I . includes current directory in path-O enables optimizations for release builds--no-warn-unused suppresses specific warnings (use sparingly)Test Flags:
-I . for module resolution-v for verbose output-k "pattern" to run specific testsReport build results with:
| Problem | Solution |
|---|---|
| Environment not found | Run pixi shell-hook to activate |
| Module not found | Verify -I . flag and correct paths |
| Permission denied | Check file permissions and ownership |
| Out of memory | Reduce parallel jobs or simplify test |
| Timeout | Check for infinite loops or long operations |