From repo-setup
Set up a new or cloned repository for local development. Use when the user asks to scaffold a new project, bootstrap a repo, set up local dev environment, configure local domains/proxy, or get a project running locally.
How this skill is triggered — by the user, by Claude, or both
Slash command
/repo-setup:repo-setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Determine whether this is a **new repo** (scaffold from scratch) or an **existing repo** (bootstrap for local dev) based on the user's request and the current directory state.
Determine whether this is a new repo (scaffold from scratch) or an existing repo (bootstrap for local dev) based on the user's request and the current directory state.
package.json, Gemfile, go.mod, etc.When creating a new project, ask the user for:
Then scaffold based on the stack:
git init (if not already a repo).gitignore appropriate for the stackREADME.md with project name and setup instructionsproxy add <project-name> <port>
Node / TypeScript:
npm init -y or pnpm initpnpm add -D typescript @types/node tsxtsconfig.json with strict modepackage.json: dev, build, start, test.nvmrc or .mise.toml with the Node versionRuby / Rails:
bundle init or rails new as appropriate.ruby-version or .mise.tomlGo:
go mod init with the module pathcmd/ and internal/ directory structureMakefile with build, run, test targetsPython:
pyproject.toml or requirements.txt.python-version or .mise.tomlSwift / iOS:
.mise.toml for tool versions if neededWhen setting up an existing project for local development:
README.md, CONTRIBUTING.md, docs/ for setup instructionspackage.json → Node (check for pnpm-lock.yaml, yarn.lock, or package-lock.json to pick the right package manager)Gemfile → Rubygo.mod → Gopyproject.toml / requirements.txt → Python*.xcodeproj / Package.swift → Swift.env.example, .env.sample, or .env.templatedocker-compose.ymlMakefile, Procfile, or bin/setupRun the appropriate install command:
pnpm install, npm install, or yarn install (match the lockfile)bundle installgo mod downloadpip install -r requirements.txt or pip install -e .swift package resolveIf a bin/setup or make setup script exists, prefer running that.
.env.example exists and .env does not, copy it: cp .env.example .env.envIf the project uses a database:
rails db:setup, npx prisma migrate dev, make db-setup, etc.If the project serves HTTP (has a dev server), set up a local domain:
proxy add <project-name> <port>
Detect the port from:
package.json scripts (look for --port, -p, or common defaults)config/puma.rb, Procfile, docker-compose.ymlTell the user:
https://<project-name>.localproxy trust if they haven't already (one-time setup for local HTTPS)curl -sk https://<project-name>.local or open in browser).env, config files, databases)bin/setup exists, read it first to understand what it does before running.mise.toml, .nvmrc, .ruby-version) over system-wide installsProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub mikesilvis/ai-skills --plugin repo-setup