BMAD-METHOD/tools/cli/installers/lib/utils
Jonah Schulte 0efbea9136 feat(installer): auto-detect git repo and pre-fill bootstrap prompts
During installation, the Claude Code installer now:

1. Detects the git remote URL (supports GitHub.com and Enterprise)
2. Generates a pre-filled bootstrap prompt at _bmad/claude-desktop-bootstrap.md
3. Replaces YOUR-ORG/YOUR-REPO placeholders in all installed docs

This enables seamless Claude Desktop usage - users just copy the
generated bootstrap prompt which has their repo details already filled in.

Supports all git URL formats:
- SSH: git@github.com:owner/repo.git
- SSH Enterprise: git@ghe.company.com:owner/repo.git
- HTTPS: https://github.com/owner/repo.git
- HTTP Enterprise: http://ghe.company.com/owner/repo
2026-01-08 20:51:55 -05:00
..
git-repo-detector.js feat(installer): auto-detect git repo and pre-fill bootstrap prompts 2026-01-08 20:51:55 -05:00