一键导入
conductor-setup
Configure .conductor/settings.toml, migrate legacy conductor.json, and set up Conductor workspace scripts, env vars, files, and caches.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Configure .conductor/settings.toml, migrate legacy conductor.json, and set up Conductor workspace scripts, env vars, files, and caches.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Close GitHub PR review-bot feedback loops for Claude, Devin, and similar AI reviewers after a push.
Design durable, queryable operation outcome events for HTTP, IPC, tRPC, jobs, startup flows, and queues so failures and latency are easy to investigate.
Write or update GitHub PR descriptions with self-contained change context, gotchas, follow-up work, code snippets, and test coverage assessment.
Integrate the PR base, run persistent read-only reviewers, fix and re-review findings, validate with repo-native commands, address review bots, and compare model quality.
基于 SOC 职业分类
| name | conductor-setup |
| description | Configure .conductor/settings.toml, migrate legacy conductor.json, and set up Conductor workspace scripts, env vars, files, and caches. |
| metadata | {"source":"biw/skills","homepage":"https://github.com/biw/skills"} |
When this skill is invoked directly, proactively audit the repository's Conductor setup and either apply the needed configuration changes or report that no changes are needed.
Use this skill when configuring a repository for Conductor workspaces. Focus first on .conductor/settings.toml; treat root-level conductor.json as legacy input to migrate.
.conductor/settings.toml, .conductor/settings.local.toml, legacy conductor.json, .worktreeinclude, existing conductor-setup.sh, conductor-run.sh, conductor-shutdown.sh, conductor-archive.sh, package scripts, and repo docs.references/conductor-docs.md before changing script fields or environment variable usage..conductor/settings.toml for shared team defaults..conductor/settings.local.toml for machine-local project overrides, and keep it gitignored.~/.conductor/settings.toml only for user-wide preferences outside the repository.conductor.json exists, migrate supported fields into .conductor/settings.toml and remove conductor.json unless the user asks to keep the legacy file.scripts.setup: prepare a new workspace.scripts.run.<id>.command: start long-running app/server/test processes from the Run button.scripts.archive: run shutdown cleanup before a workspace is archived.scripts.run_mode: decide whether run scripts can overlap.$CONDUCTOR_WORKSPACE_PATH for the active workspace.$CONDUCTOR_ROOT_PATH for shared root-level resources and caches.$CONDUCTOR_WORKSPACE_NAME for workspace-specific names.$CONDUCTOR_PORT for server ports.$CONDUCTOR_IS_LOCAL to branch between local Mac and cloud workspace behavior./add-dir, or per-repository run scripts over hard-coded sibling checkout paths..conductor/settings.toml with the repository schema URL. Do not create new conductor.json files.[scripts.run.<id>] with command, default, and icon. scripts.run = "..." is still read as a legacy single run script, but new shared config should use named run scripts.cp -c; on Linux prefer cp --reflink=auto. If clone/reflink is unavailable, prefer a symlink or shared cache under $CONDUCTOR_ROOT_PATH unless the repo needs a true copy.conductor-setup.sh run to conductor-setup.log so setup failures are easy to debug in loops. Preserve exit codes with pipefail when piping through tee..worktreeinclude or file_include_globs in .conductor/settings.toml for static gitignored files that should be copied into every workspace. Keep setup scripts for commands, generated files, symlinks, and workspace-specific resources.$CONDUCTOR_ROOT_PATH, and use the archive/shutdown script to flush, update, compact, or clean those shared caches.&. Use concurrently, a supervisor, or a single foreground process group so Conductor can stop everything cleanly.scripts.run_mode = "nonconcurrent" only when the project cannot safely run multiple workspace instances because of a single fixed port, database, or shared local resource..conductor/settings.toml. Put machine-local values in .conductor/settings.local.toml, local shell config, or gitignored files copied into workspaces. Only change .mcp.json or enterprise_data_privacy when the user asks or the repository policy requires it.Use this as a starting point and adapt command names to the repository:
"$schema" = "https://conductor.build/schemas/settings.repo.schema.json"
[scripts]
setup = "bash -lc 'set -o pipefail; ./conductor-setup.sh 2>&1 | tee conductor-setup.log'"
archive = "./conductor-shutdown.sh"
run_mode = "concurrent"
[scripts.run.dev]
command = "./conductor-run.sh"
default = true
icon = "play"
Inside conductor-setup.sh, make large-file copies explicit:
copy_large_file() {
src="$1"
dest="$2"
size="$(wc -c < "$src" | tr -d ' ')"
if [ "$size" -gt 104857600 ]; then
cp -c "$src" "$dest" 2>/dev/null || cp --reflink=auto "$src" "$dest" 2>/dev/null || ln -s "$src" "$dest"
else
cp "$src" "$dest"
fi
}
.conductor/settings.toml has a repository schema URL and uses only documented repository fields.conductor.json has been migrated or intentionally left in place with a clear reason.[scripts.run.<id>]; one script is marked default = true when there are multiple commands..worktreeinclude for team-shared file-copy patterns.conductor-setup.log.$CONDUCTOR_PORT or scripts.run_mode = "nonconcurrent" when needed.$CONDUCTOR_ROOT_PATH, not inside transient workspace directories.nonconcurrent, not brittle workspace path hacks./add-dir, or separate per-repository scripts.