feat: Add AI-assisted setup path for complex repos (setup.sh --ai)#2
Draft
mlgitdev wants to merge 1 commit into
Draft
feat: Add AI-assisted setup path for complex repos (setup.sh --ai)#2mlgitdev wants to merge 1 commit into
mlgitdev wants to merge 1 commit into
Conversation
Adds an AI-installer skill that enables intelligent, complexity-aware setup for existing repositories. Users run setup.sh --ai to bootstrap workspace infrastructure and invoke the AI skill which scans repo structure, classifies complexity (Zero/Simple/Multi/Complex), proposes configuration proportional to detected needs, previews as unified diffs, and writes after approval. Key capabilities: - Workspace bootstrapping (dirs, skills, workflows, AGENTS.md inference) - 4 runtime adapters (Claude, Cursor, Cline, Antigravity) - --target for running against external repos - --auto for unattended execution (requires explicit --runtime) - Non-destructive: never modifies user files, companion file pattern - Framework coexistence (defers persona routing when BMAD detected) - Clean uninstall via setup.sh --remove (manifest-tracked) - Test infrastructure: shell + Python tests, 4 UJ-based fixtures Planned using BMad Method. Planning artifacts in _bmad-output/. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
setup.sh --aibootstraps workspace infrastructure and invokes the AI which scans, classifies (Zero/Simple/Multi/Complex), proposes config, and writes after approvalsetup.sh --removeKey Features
--target <path>— run against any repo without cd--auto— unattended execution (requires explicit--runtime)--dry-run— preview without writingVerification Status
.cursor/rules/(806-809), proper numbering, no collisionsTest plan
sh tests/test_setup.sh— all 29 passpytest tests/test_content.py— all 24 pass./setup.sh --ai --target examples/uj-3-flask-simple --runtime claudeand invoke/agentic-os-setupsetup.sh --removecleanly removes all generated filesPlanning Methodology
Planned using BMad Method. Artifacts in
_bmad-output/prd-ai-assisted-setup-2026-06-20/.🤖 Generated with Claude Code