Terminal
Terminal/Skill
Sets up quality gates, hooks and settings for a new project by detecting its type and configuring suitable tooling.
By Rohit Ghumare
Works with
npx skills add rohitg00/pro-workflow --skill auto-setupDetect project type and configure pro-workflow quality gates automatically.
Use when:
ls package.json pyproject.toml Cargo.toml go.mod Gemfile pom.xml build.gradle 2>/dev/null
Node.js/TypeScript:
{
"lint": "npm run lint",
"typecheck": "npx tsc --noEmit",
"test": "npm test -- --changed --passWithNoTests",
"format": "npx prettier --check ."
}
Python:
{
"lint": "ruff check .",
"typecheck": "mypy .",
"test": "pytest --tb=short -q",
"format": "ruff format --check ."
}
Rust:
{
"lint": "cargo clippy -- -D warnings",
"typecheck": "cargo check",
"test": "cargo test --quiet",
"format": "cargo fmt --check"
}
Go:
{
"lint": "golangci-lint run",
"typecheck": "go vet ./...",
"test": "go test ./... -count=1",
"format": "gofmt -l ."
}
Run each command with --version or --help to confirm availability. Report missing tools.
Generate a .claude/settings.json with:
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