bootstrap-monorepo

Original🇺🇸 English
Translated

Autonomous polyglot monorepo bootstrap meta-prompt. TRIGGERS - new monorepo, polyglot setup, scaffold Python+Rust+Bun, monorepo from scratch.

10installs
Added on

NPX Install

npx skill4agent add terrylica/cc-skills bootstrap-monorepo

Bootstrap Polyglot Monorepo

This skill redirects to the canonical reference in mise-tasks.
See: mise-tasks/references/bootstrap-monorepo.md

When to Use This Skill

Use this skill when:
  • Starting a new polyglot monorepo from scratch
  • Setting up Python + Rust + Bun/TypeScript project structure
  • Need autonomous 9-phase bootstrap workflow (includes release setup)
  • Want Pants + mise integration for affected detection

Stack

ToolResponsibility
miseRuntime versions (Python, Node, Rust) + environment variables
PantsBuild orchestration + native affected detection + dependency inference

Quick Commands

bash
# After bootstrap, use these Pants commands:
pants --changed-since=origin/main test    # Test affected
pants --changed-since=origin/main lint    # Lint affected
pants tailor                               # Generate BUILD files
pants list ::                              # List all targets

Related Skills

  • itp:mise-tasks
    - Task orchestration and affected detection (Level 11)
  • itp:mise-configuration
    - Environment and tool version management
  • itp:semantic-release
    - Release automation (Phase 8 reference)

Troubleshooting

IssueCauseSolution
Pants not foundNot installedInstall via
brew install pantsbuild/tap/pants
mise not loadingShell hook not configuredConfigure mise shell hook in ~/.zshrc
BUILD files not generatedMissing
pants tailor
Run
pants tailor
to generate BUILD files
Affected detection emptyNo base branch setEnsure
origin/main
exists and is up to date
Python version mismatchmise vs Pants conflictAlign Python version in mise.toml and pants.toml
Rust targets not foundPants Rust backend missingEnable Rust backend in pants.toml
Node/Bun not detectedNot in mise toolsAdd to mise.toml:
node = "latest"
or
bun
Dependency inference failsMissing imports in sourceEnsure explicit imports, run
pants tailor
again