Skill: Workspace Status
Description
Show the status of all projects in the current workspace, including git status, running services, and last commits.
Instructions
When the user wants to see the workspace status:
Step 1: Detect Current Workspace
First, detect which workspace the user is in by checking:
- Current directory against project paths in
~/.claude/workspaces/*/WORKSPACE.md
- Git remote URL against configured repos
If no workspace is detected, prompt the user to either:
- Run
/workspaces:init to create a new workspace
- Navigate to a project directory that's part of a workspace
Step 2: Display Status
Show a formatted table with information about all projects:
š Workspace: Acme Corp
āāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāā¬āāāāāāāāāāāāāā¬āāāāāāāāāāā¬āāāāāāāāāā
ā Project ā Branch ā Git Status ā Service ā Port ā
āāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāā¼āāāāāāāāāāāāāā¼āāāāāāāāāāā¼āāāāāāāāāā¤
ā api ā main ā clean ā running ā 3000 ā
ā admin ā feature/auth ā dirty (+3) ā stopped ā 3001 ā
ā homepage ā main ā clean, ā2 ā running ā 3002 ā
ā mobile ā main ā not cloned ā - ā 8081 ā
āāāāāāāāāāāāāāā“āāāāāāāāāāāāāāā“āāāāāāāāāāāāāā“āāāāāāāāāāā“āāāāāāāāāā
Status Values
Git Status:
clean - No uncommitted changes
dirty (+N) - N files changed
āN - N commits ahead of remote
āN - N commits behind remote
not cloned - Repository hasn't been cloned yet
Service Status:
running - Port is in use
stopped - Port is not in use
Additional Information
Show recent commits and any warnings:
Recent commits:
⢠api: "fix: resolve auth token issue" (2 hours ago)
⢠admin: "feat: add user dashboard" (1 day ago)
ā Warning: 'admin' has uncommitted changes