workspace-setup

SKILL.md

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:

## 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.
Weekly Installs
1
GitHub Stars
7
First Seen
8 days ago
Installed on
amp1
cline1
opencode1
cursor1
kimi-cli1
warp1