From zed-workspace
Bootstrap multi-tool workspace support in any project. Generates a .zworkspace.toml manifest, materializes Zed per-root config via the zw CLI, wires the zed-workspace-mcp server into Claude Code, OpenCode, and generic .mcp.json clients, updates AGENTS.md with workspace context, and can scaffold debug launch configs. Use when a user asks to set up a workspace, give AI tools project context, configure multi-root support, wire up MCP for a project, or prepare a repo for Zed plus Claude Code, Cursor, Windsurf, Codex, or OpenCode.
How this skill is triggered — by the user, by Claude, or both
Slash command
/zed-workspace:setup-zed-workspaceThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Bootstrap a project so every AI coding tool sees the same multi-root workspace
Bootstrap a project so every AI coding tool sees the same multi-root workspace
context. This skill is a thin orchestrator: the real work is done by the zw
CLI and zed-workspace-mcp server. The skill never re-implements manifest
logic — it shells out to zw.
| Artifact | Tool that wrote it | For |
|---|---|---|
.zworkspace.toml | zw init (then user edits) | the source of truth |
.zed/settings.json, tasks.json, debug.json | zw open | Zed |
.claude/settings.json MCP entry | scripts/wire-claude.sh | Claude Code |
.opencode/opencode.json MCP entry | scripts/wire-opencode.sh | OpenCode |
.mcp.json | scripts/wire-generic-mcp.sh | Cursor, Windsurf, Codex |
AGENTS.md workspace block | scripts/update-agents-md.sh | any agent at session start |
.mcp.json entry and an AGENTS.md block — not slash commands. There is no
universal slash-command standard; do not promise one.Before doing anything, verify zw is installed:
command -v zw >/dev/null || echo "zw not found"
If absent, tell the user to install it and stop:
git clone https://github.com/GQAdonis/zed-workspace && cd zed-workspace && ./install.sh
Do not proceed without zw — this skill delegates to it.
If no .zworkspace.toml exists in the target directory:
zw init .
Then help the user edit .zworkspace.toml: set workspace.name, add each
project folder as a [[roots]] entry, and add any [zed], [[tasks]],
[env] blocks they want. See references/manifest-quickref.md.
zw check .
Fix any reported error before continuing.
zw open . --dry-run # preview what will be written
zw open . # write .zed/ config and open Zed
zw writes .zed/settings.json (including the context_servers stanza for
zed-workspace-mcp), tasks.json, and debug.json into every root.
Determine the absolute manifest path, then run the wiring scripts for whichever tools the user uses. Each script deep-merges — safe to re-run.
MANIFEST="$(pwd)/.zworkspace.toml"
WS_NAME="$(grep -m1 '^name' .zworkspace.toml | sed 's/.*= *//; s/\"//g')"
bash skills/setup-zed-workspace/scripts/wire-claude.sh "$WS_NAME" "$MANIFEST"
bash skills/setup-zed-workspace/scripts/wire-opencode.sh "$WS_NAME" "$MANIFEST"
bash skills/setup-zed-workspace/scripts/wire-generic-mcp.sh "$WS_NAME" "$MANIFEST"
bash skills/setup-zed-workspace/scripts/update-agents-md.sh "$WS_NAME"
When invoked as a plugin, the scripts live under ${CLAUDE_PLUGIN_ROOT}/skills/setup-zed-workspace/scripts/.
Tell the user which tools were wired and how to verify:
workspace_info./mcp lists zed-workspace-mcp.zw-setup — runs this whole workflow.zw-debug-config — scaffold or edit a [debug] launch config.zw-debug-start — open the workspace and start a configured debug session.zw does — shell out to it.Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub gqadonis/zed-workspace --plugin zed-workspace