一键导入
ce-setup
Check Compound Engineering health and workspace-local config.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Check Compound Engineering health and workspace-local config.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Babysits or watches an open GitHub PR until merge-ready, continuously reacting to new review comments and CI failures throughout the PR's life. Use when asked to 'babysit the PR', 'watch the PR', monitor, or keep an eye on a PR over time — not a one-shot request to resolve review comments or debug one CI failure (those are separate skills). GitHub only, including GitHub Enterprise.
Explore vague or ambitious ideas into a right-sized requirements-only unified plan. Use when the user wants to brainstorm, think through scope, decide what to build, or needs collaborative product framing before planning. Also use when the user must scope work in territory they say they do not know ("I know nothing about X but need to...") or asks for a blindspot pass — mapping the decision surface before questions begin. Not for executing already-specified work — direct implementation, debugging, or code review where no product scope is left to decide. Not for a decisive verdict on whether to adopt or switch to a specific external technology, library, or platform — brainstorming scopes what to build, not whether to commit to an outside option.
Structured code review for bugs, regressions, tests, and standards. Use before PRs or when asked for review; interactive mode can fix locally, while mode:agent reports only for pipeline callers.
Commit with JJ, push through `jj git` interoperability, and open or update a GitHub PR. Use when asked to ship/open a PR or only write, rewrite, or apply a PR description.
Create a JJ commit with a clear, repository-appropriate message. Use when the user asks to commit or save current working-copy changes.
Diagnosis loop for bugs and failing behavior. Use for errors, stack traces, regressions, failed tests, issue-tracker bugs, stuck investigations after failed fixes, or asks to debug/fix a bug.
| name | ce-setup |
| description | Check plugin health and workspace-local config. |
| disable-model-invocation | true |
Ask each question below using the platform's blocking question tool: AskUserQuestion in Claude Code (call ToolSearch with select:AskUserQuestion first if its schema isn't loaded), request_user_input in Codex, ask_question in Antigravity CLI (agy), ask_user in Pi (requires the pi-ask-user extension). Fall back to a numbered list in chat only when no blocking tool exists in the harness or the call errors. Never silently skip or auto-configure.
ce-setup is a lightweight health check and workspace-local config helper. It does not bulk-install every optional dependency. Missing tools are reported as optional capabilities so the user can install only the workflows they use.
Detect the installed plugin version by reading the plugin metadata or manifest when the platform exposes it. If the version cannot be determined, skip this step.
If a version is found, pass it to the check script via --version. Otherwise omit the flag.
Before running the script, display:
Checking your environment...
Run the bundled check script. Set SKILL_DIR to the absolute directory you loaded this ce-setup SKILL.md from — the Bash tool's CWD is the user's project, not the skill dir, so a bare scripts/ path will not resolve:
SKILL_DIR="<absolute path of the directory containing this SKILL.md>";
if [ -f "$SKILL_DIR/scripts/check-health" ]; then bash "$SKILL_DIR/scripts/check-health" --version VERSION; else echo "Bundled health script not found at $SKILL_DIR/scripts/check-health; run the inline checks from ce-setup instead."; fi
Use the same command without --version VERSION if Step 1 could not determine a version.
If the script is unavailable, perform the inline equivalent:
command -v: agent-browser, gh, jq, ast-grep, ffmpeg.jj --ignore-working-copy workspace root; if there is no JJ workspace, use the current directory as the project root so filesystem checks still run..rocketclaw/config.local.yaml exists and, if it does in a JJ workspace, whether JJ already tracks it with jj --ignore-working-copy file list. For an untracked file, atomically create a unique disposable inspection repository under <workspace-root>/.tmp/rocketclaw/ce-setup/ without reusing an existing path; outside a JJ workspace, use the current project directory's .tmp/rocketclaw/ce-setup/ as the matching local fallback. Copy only the config plus applicable root and .rocketclaw/ .gitignore files, initialize the disposable directory with jj git init --no-colocate, and use jj file list there to determine whether JJ ignores the config. Remove the disposable directory afterward. Do not snapshot or otherwise mutate the real workspace, and do not use raw Git..rocketclaw/config.local.example.yaml with references/config-template.yaml when the template is readable; otherwise report that the example refresh must be done manually.Display the diagnostic output to the user. Missing optional tools are not setup failures.
Proceed to Phase 2 only if one or more workspace-local project issues exist:
.rocketclaw/config.local.yaml exists but is not safely ignored.rocketclaw/config.local.example.yaml is missing or outdatedIf no project issues exist, report:
✅ Setup complete
Project config: ✅
Optional capabilities: see diagnostic report above
Run /ce-setup anytime to re-check.
If optional tools are missing, do not offer a bulk install. The diagnostic already printed the relevant install command or project URL. Say: "Install optional tools only for the workflows you use."
Resolve the JJ workspace root (jj --ignore-working-copy workspace root). All paths below are relative to the workspace root, not the current working directory.
Copy references/config-template.yaml to <workspace-root>/.rocketclaw/config.local.example.yaml, creating the directory if needed. This file is repository-tracked and should always reflect the latest available settings.
If the bundled template cannot be located by the current platform, print the source template path that failed and tell the user the example config could not be refreshed automatically.
If .rocketclaw/config.local.yaml does not exist, ask:
Set up a local config file for this project?
This saves optional plugin preferences such as output formats and product pulse settings.
Everything starts commented out -- you only enable what you need.
1. Yes, create it
2. No thanks
If the user approves, copy references/config-template.yaml to <workspace-root>/.rocketclaw/config.local.yaml.
If .rocketclaw/config.local.yaml exists and is not covered by JJ's .gitignore rules, offer to add:
.rocketclaw/*.local.yaml
Append the entry to the workspace-root .gitignore only if the user approves. Do not overwrite unrelated .gitignore content. If the file is already tracked, explain that adding an ignore rule does not untrack it and offer jj file untrack .rocketclaw/config.local.yaml separately.
Display a brief summary:
✅ Setup complete
Fixed: <workspace-local fixes applied, or none>
Skipped: <workspace-local fixes declined, or none>
Optional: <missing optional tools, or all available>
Run /ce-setup anytime to re-check.