Analyzes the project repository and guides the user through setting up their local development environment. Use when running /sddp-devsetup.
Read project-level baselines when present:
README.mdproject-instructions.mdspecs/sad.mdspecs/dod.mdSearch for and read standard configuration and dependency files to understand the stack:
package.json, package-lock.json, yarn.lock, pnpm-lock.yamlrequirements.txt, Pipfile, pyproject.tomlGemfilepom.xml, build.gradlego.modDockerfile, docker-compose.yml.nvmrc, .ruby-version, .python-versionSummarize the discovered inputs and determine the exact stack required.
Based on the analysis, create a mental list of the exact tools, programming languages, versions, and frameworks that need to be installed.
Check what is already installed:
For each tool required, run a non-destructive version or help command (e.g., node -v, git --version, docker --version, brew --version) to see if it is already present on the user's system. Do not skip this step.
Present the setup guide to the user one step at a time for each missing tool.
For each step:
Do not present the next step until the current step is resolved. Do not execute any command without explicit confirmation.
Once all steps are completed, verify that the project can be built or started locally (e.g., suggest running npm start, docker-compose up, or the equivalent command) to confirm the setup was successful. Ask the user if they want to test the setup.