Sponsor Suno AI Music arrow_forward
Slash Command

Setup

Interactive project onboarding - creates project-goals.md and project-map.md

Type
Slash Command
GitHub stars
2.8k
License
MIT
Repo last updated
Sep 27, 2026

What Setup is

Setup is a slash command published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”

A slash command is a reusable prompt saved as a markdown file and run by typing its name after a slash. In Claude Code, custom commands have been merged into skills: a file in .claude/commands/ and a skill folder in .claude/skills/ both create the same kind of command, and existing command files keep working.

Setup gives you a repeatable way to run the same instructions without retyping them, optionally with arguments.

How to install Setup

Claude Code

  1. Download setup.md from the repository.
  2. Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md.
  3. Run it by typing / followed by its name.

Claude Cowork

  1. Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it.
  2. In Customize → Skills, click +, then upload the ZIP.
  3. Run it from any task with / and the skill name.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/community/sprint/commands/setup.md, shared under the repository's MIT license. Read the full file on GitHub.

Initialize a project for use with Sprint by creating the two "Second Brain" documents that guide all sprint work.

Overview

This command interactively creates:

  1. .claude/project-goals.md - Business vision and objectives (user-maintained)
  2. .claude/project-map.md - Technical architecture (architect-maintained)

Workflow

Step 1: Check Existing Files

Check if either file already exists:

test -f .claude/project-goals.md && echo "GOALS_EXISTS" || echo "NO_GOALS"
test -f .claude/project-map.md && echo "MAP_EXISTS" || echo "NO_MAP"

If files exist, ask the user:

  • Overwrite existing files?
  • Skip existing and create only missing?
  • Abort setup?

Step 2: Create .claude Directory

Ensure the directory exists:

mkdir -p .claude

Step 3: Gather Project Goals (Interactive)

Use AskUserQuestion to gather business context:

Question 1: Product Vision

  • "What is this project? Describe it in 1-2 sentences."

Question 2: Target Users

  • "Who are the target users?"
  • Options: "Developers", "End consumers", "Internal team", "Other"

Question 3: Key Features

  • "What are the 3-5 most important features or capabilities?"

Question 4: Success Metrics

  • "How will you measure success?"
  • Options: "User adoption", "Revenue", "Performance metrics", "Other"

Question 5: Constraints

  • "Any important constraints or requirements?"
  • Examples: compliance, performance, technology restrictions

Step 4: Generate project-goals.md

Write the gathered information to .claude/project-goals.md:

# Project Goals

## Vision
[User's product vision]

## Target Users
[Target audience description]

## Key Features
- [Feature 1]
- [Feature 2]
- [Feature 3]

## Success Metrics
[How success is measured]

## Constraints
[Important constraints and requirements]
…

Step 5: Scan Codebase

Analyze the project structure:

# List top-level structure
ls -la

# Find key configuration files
find . -maxdepth 2 -name "package.json" -o -name "pyproject.toml" -o -name "Cargo.toml" -o -name "go.mod" -o -name "*.csproj" 2>/dev/null

# Check for common frameworks
test -f next.config.js -o -f next.config.ts && echo "NEXTJS"
test -f nuxt.config.ts && echo "NUXT"
test -f angular.json && echo "ANGULAR"
test -f vite.config.ts && echo "VITE"
test -d backend -o -f requirements.txt -o -f pyproject.toml && echo "PYTHON"
test -f go.mod && echo "GO"
test -f Cargo.toml && echo "RUST"

Read key files to understand the project:

  • README.md (if exists)
  • package.json / pyproject.toml / etc.
  • Docker configuration
  • CI/CD files

Step 6: Gather Technical Context (Interactive)

Ask clarifying questions based on scan results:

Question: Tech Stack Confirmation

  • "I detected [frameworks]. Is this correct?"
  • Allow corrections

Question: Architecture Style

  • Options: "Monolith", "Microservices", "Serverless", "Monorepo", "Other"

Question: Database

  • Options: "PostgreSQL", "MySQL", "MongoDB", "SQLite", "None/Other"

Question: Deployment

  • Options: "Docker", "Kubernetes", "Serverless", "Traditional hosting", "Not yet decided"

Step 7: Generate project-map.md

Create .claude/project-map.md with discovered and confirmed information:

# Project Map

## Tech Stack

### Backend
- Language: [detected/confirmed]
- Framework: [detected/confirmed]
- Database: [confirmed]

### Frontend
- Framework: [detected/confirmed]
- Styling: [detected]

### Infrastructure
- Deployment: [confirmed]
- CI/CD: [detected]

## Project Structure
…

[directory tree of main folders]


## Key Components

### [Component 1]
- Location: [path]
- Purpose: [description]

### [Component 2]
- Location: [path]
- Purpose: [description]

## Development Workflow

### Running Locally
[commands to start the project]

### Running Tests
[test commands]
…

Step 8: Offer First Sprint

Ask the user:

  • "Would you like to create your first sprint now?"

If yes, prompt for sprint goal and run /sprint:new logic.

If no, provide next steps:

Setup complete!

Next steps:
1. Review .claude/project-goals.md and adjust as needed
2. Review .claude/project-map.md for accuracy
3. Run /sprint:new to start your first sprint

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Setup?

Setup is a slash command for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Interactive project onboarding - creates project-goals.md and project-map.md

How do I install Setup in Claude Code?

Download setup.md from the repository. Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md. Run it by typing / followed by its name.

Can I use Setup in Claude Cowork?

Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it. In Customize → Skills, click +, then upload the ZIP. Run it from any task with / and the skill name.

Is Setup safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.