workspace-setup

Run setup scripts for workspace projects including dependency installation, migrations, and environment configuration. Use when user says "setup projects", "install dependencies", or "run setup".

patricio0312rev/workspaces2 installsMITSynced Aug 26

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI

Agent Skills format with YAML frontmatter. Claude Code reads it as-is.

---
name: "workspace-setup"
description: "Run setup scripts for workspace projects including dependency installation, migrations, and environment configuration. Use when user says \"setup projects\", \"install dependencies\", or \"run setup\"."
license: "MIT"
---

# Skill: Workspace Setup

## Description

Run setup scripts for one or all projects in the workspace, including dependency installation, environment configuration, and database migrations.

## Arguments

- `[project]` - Name of a specific project to set up
- `all` - Set up all projects (default)

## Instructions

When the user wants to set up projects:

### Step 1: Detect Workspace

Identify the current workspace and load the configuration.

### Step 2: Parse Setup Scripts

Read the `## Setup Scripts` section from WORKSPACE.md:

```markdown
## Setup Scripts
api: npm install && cp .env.example .env && npm run db:migrate
admin: npm install && cp .env.example .env
homepage: npm install
mobile: npm install && cd ios && pod install
```

### Step 3: Run Setup for Each Project

For each project (or the specified one):

1. **Check if project is cloned** - Skip if not
2. **Run setup script** in the project directory
3. **Report progress**

### Output Format

```
πŸ”§ Setting up workspace projects...

Setting up api...
  β†’ npm install
    Installing dependencies... done
  β†’ cp .env.example .env
    βœ“ Environment file created
  β†’ npm run db:migrate
    Running migrations... done
  βœ“ api setup complete

Setting up admin...
  β†’ npm install
    Installing dependencies... done
  βœ“ admin setup complete

Summary:
  β€’ Set up: api, admin
  β€’ Skipped: homepage (no setup script)
  β€’ Failed: 0
```

### Post-Setup

After successful setup, suggest:
```
Run '/workspaces:start all' to start the services.
```

More General & Other skills

← All General & Other skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free Β· No signup Β· No trial clock

SEE THE DIRECTORY