Agent skill

auto-setup

Auto-configure quality gates, hooks, and settings for a new project. Detects project type and sets up appropriate tooling. Use when onboarding a new codebase.

Stars 1,865
Forks 170

Install this agent skill to your Project

npx add-skill https://github.com/rohitg00/pro-workflow/tree/main/skills/auto-setup

SKILL.md

Auto Setup

Detect project type and configure pro-workflow quality gates automatically.

Trigger

Use when:

  • Starting work on a new project
  • Onboarding to an unfamiliar codebase
  • Setting up CI integration

Detection

Step 1: Identify Project Type

bash
ls package.json pyproject.toml Cargo.toml go.mod Gemfile pom.xml build.gradle 2>/dev/null

Step 2: Configure Quality Gates

Node.js/TypeScript:

json
{
  "lint": "npm run lint",
  "typecheck": "npx tsc --noEmit",
  "test": "npm test -- --changed --passWithNoTests",
  "format": "npx prettier --check ."
}

Python:

json
{
  "lint": "ruff check .",
  "typecheck": "mypy .",
  "test": "pytest --tb=short -q",
  "format": "ruff format --check ."
}

Rust:

json
{
  "lint": "cargo clippy -- -D warnings",
  "typecheck": "cargo check",
  "test": "cargo test --quiet",
  "format": "cargo fmt --check"
}

Go:

json
{
  "lint": "golangci-lint run",
  "typecheck": "go vet ./...",
  "test": "go test ./... -count=1",
  "format": "gofmt -l ."
}

Step 3: Verify Tools Are Installed

Run each command with --version or --help to confirm availability. Report missing tools.

Step 4: Create Configuration

Generate a .claude/settings.json with:

  • Quality gate commands for the detected project type
  • Safe permission rules (read-only tools auto-approved)
  • Hook configuration for the project

Output

text
AUTO SETUP
  Project type: [Node.js/Python/Rust/Go/Mixed]
  Package manager: [npm/pnpm/yarn/pip/cargo]

  Quality gates configured:
    lint:      [command] ✓
    typecheck: [command] ✓
    test:      [command] ✓
    format:    [command] ✓

  Missing tools:
    - [tool] — install with: [command]

  Settings written to: .claude/settings.json

Rules

  • Never overwrite existing settings without asking
  • Detect, don't assume — check for tool presence
  • Support monorepos (check for workspaces config)
  • Report missing tools with install commands

Expand your agent's capabilities with these related and highly-rated skills.

rohitg00/pro-workflow

agent-teams

Coordinate multiple Claude Code sessions as a team — lead + teammates with shared task lists, mailbox messaging, and file-lock claiming. Patterns for team sizing, task decomposition, and when to use teams vs sub-agents vs worktrees.

1,865 170
Explore
rohitg00/pro-workflow

permission-tuner

Analyze permission denial patterns and generate optimized alwaysAllow and alwaysDeny rules. Use when permission prompts are slowing you down or after sessions with many denials.

1,865 170
Explore
rohitg00/pro-workflow

wrap-up

End-of-session ritual that audits changes, runs quality checks, captures learnings, and produces a session summary. Use when saying "wrap up", "done for the day", "finish coding", or ending a coding session.

1,865 170
Explore
rohitg00/pro-workflow

file-watcher

Configure file watching hooks to auto-react to config changes, env file updates, and dependency modifications. Use to set up reactive workflows.

1,865 170
Explore
rohitg00/pro-workflow

compact-guard

Smart context compaction with state preservation. Saves critical files, task progress, and working state before compaction, restores after. Use before manual compact or when auto-compact triggers.

1,865 170
Explore
rohitg00/pro-workflow

safe-mode

Prevent destructive operations using Claude Code hooks. Three modes — cautious (warn on dangerous commands), lockdown (restrict edits to one directory), and clear (remove restrictions). Uses PreToolUse matchers for Bash, Edit, and Write.

1,865 170
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results