Skip to main content
command CX Codex

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add rohitg00/pro-workflow
/plugin install pro-workflow@pro-workflow
Open on GitHub

What 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-setup in this repository and configure its detected stack.
  • Set up quality gates for the Node.js project in this folder.
  • Use /auto-setup to 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-workflow

2Manually: put the files in place

.claude/commands/auto-setup.md

Call it with /auto-setup. For all projects use ~/.claude/commands/

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

Similar slash commands

All slash commands for Agent setup: memory, context, orchestration →

From the same set83

The whole set →
atomic-commits Enforces Git best practices: atomic commits in Conventional Commits format, mandatory feature branches, and selective file staging. CX Codex +1 ★ 2,966repo stars cost-tracker cost-tracker is a Claude Code command that estimates current-session spend, identifies its main cost drivers, and suggests optimizations. Compare the estimate with a task budget. CX Codex +1 ★ 2,966repo stars self-correction self-correction turns a correction into a one-line [LEARN] rule with a category, and saves it only once you approve the wording. CX Codex +1 ★ 2,966repo stars mcp-audit Audits active MCP servers, estimates token overhead from tool schemas, and flags unused integrations to disable. CX Codex +1 ★ 2,966repo stars compact-guard compact-guard is a Claude Code command that saves working state before context compaction and restores critical data afterward. Run it before manual compaction or when auto-compaction warnings appear. CX Codex +1 ★ 2,966repo stars wrap-up wrap-up audits git diffs, runs test suites, records lessons learned, and prepares context before closing a Claude Code session. CX Codex +1 ★ 2,966repo stars planner planner — a read-only subagent turns complex coding work into an implementation plan. Use it when several files, architecture choices, or unclear requirements are involved. CX Codex ★ 2,966repo stars permission-tuner permission-tuner analyzes why Claude Code keeps prompting for permissions or denying operations, then generates rules to reduce confirmation fatigue. CX Codex +1 ★ 2,966repo stars

Project sponsors

Companies that keep this analytics open