auto-setup — Claude Code command: setup and install
auto-setup detects a project’s stack and configures quality gates, permission rules, and hooks. Useful when bringing a new codebase into Claude Code.
MIT ★ 2,966 updated 2026-09-29
/plugin marketplace add rohitg00/pro-workflow
/plugin install pro-workflow@pro-workflowWhat auto-setup does
The command inspects a codebase and identifies Node.js/TypeScript, Python, Rust, Go, or a mixed repository. It then sets commands for linting, type checks, and tests, while adding permission rules and hooks for the detected setup.
For Node.js/TypeScript, it accounts for npm, pnpm, yarn, ESLint, TypeScript, Jest, and Vitest. Python projects can use pip or poetry, ruff or flake8, mypy, and pytest. Rust and Go setups use cargo, clippy, go vet, golangci-lint, and their test commands.
It also checks whether the required tooling is installed. In a monorepo, auto-setup can detect several project types and configure their separate parts.
What it helps with
- identify a new project’s stack
- configure lint and type-check commands
- add tests to quality gates
- set Claude Code permission rules
- check whether project tooling is installed
Example prompts for the agent
- Run
/auto-setupin this repository and configure its detected stack. - Set up quality gates for the Node.js project in this folder.
- Use
/auto-setupto inspect hooks and tools across this monorepo.
How to install auto-setup
1Plugin marketplace
/plugin marketplace add rohitg00/pro-workflow/plugin install pro-workflow@pro-workflow2Manually: put the files in place
.claude/commands/auto-setup.mdCall it with /auto-setup. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/auto-setup.mdCall it with /prompts:auto-setup. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/auto-setup.prompt.mdManually: put the files in place
.gemini/commands/auto-setup.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about auto-setup
How do I install auto-setup in Claude Code?
Add the marketplace with /plugin marketplace add rohitg00/pro-workflow, install it with /plugin install pro-workflow@pro-workflow, then use .claude/commands/auto-setup.md.
What does auto-setup do?
It detects the project type, configures linting, type checks, tests, permission rules, and hooks, then checks for the tools those checks need.
Which project types does auto-setup support?
It supports Node.js/TypeScript, Python, Rust, and Go. Mixed projects and monorepos are supported too.
Source text
auto-setup.md · MIT
--- description: Auto-detect project type and configure quality gates, permissions, and hooks for a new codebase --- # /auto-setup - Project Configuration Automatically detect your project type and set up pro-workflow quality gates. ## Quick Start Run in any project to: 1. Detect project type (Node.js, Python, Rust, Go) 2. Configure lint/typecheck/test commands 3. Set up safe permission rules 4. Verify tooling is installed ## Supported Project Types - **Node.js/TypeScript** — npm/pnpm/yarn, ESLint, TypeScript, Jest/Vitest - **Python** — pip/poetry, ruff/flake8, mypy, pytest - **Rust** — cargo, clippy, cargo test - **Go** — go vet, golangci-lint, go test - **Mixed/Monorepo** — detects multiple types ## Usage ``` /auto-setup ```
© Rohit Ghumare · MIT · rohitg00/pro-workflow