一键导入
jdi-bootstrap
Creates per-project doer + reviewer specialists. Runs after /jdi-new, before /jdi-discuss.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Creates per-project doer + reviewer specialists. Runs after /jdi-new, before /jdi-discuss.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Registers a new phase in ROADMAP.md. Slug-as-ID — multi-developer safe. Validates slug uniqueness and shape. Append at end (default), or position via --before/--after. Atomic commit.
Adopt mode for brownfield projects. Scans existing repo (manifests, layout, git, docs), infers stack/code-design, confirms with user, generates PROJECT.md + ROADMAP.md with adopted=true flag. Replaces /jdi-new for projects with code already written.
Removes a phase from ROADMAP.md. Accepts slug OR position. Refuses to remove done/current/past phases. Archives any existing phase artifacts. Atomic commit.
Upfront pre-roadmap research. Reads user idea, asks key questions, captures project-wide Definition of Done baseline, researches stack/domain, generates initial PROJECT.md + ROADMAP.md. Single agent instead of multiple parallel researchers to save tokens.
Prints a compact summary of where the project is — current phase, what the last action did, and the exact next command to run. --stats adds outcome metrics derived from artifacts (first-pass rate, loop iterations, lead time). Read-only. No agent invoked.
Adaptive question loop to capture locked decisions before planning the phase. Accepts slug or position.
| name | jdi-bootstrap |
| description | Creates per-project doer + reviewer specialists. Runs after /jdi-new, before /jdi-discuss. |
| argument_hint | |
| runtime_intent | {"invokes_agent":"jdi-bootstrap"} |
| runtime_overrides | {"claude":{"allowed-tools":["Read","Write","Edit","Bash","Grep","Glob","AskUserQuestion","Agent"]},"copilot":{"tools":["read","write","edit","terminal"]},"opencode":{"agent":"jdi-bootstrap","subtask":true},"antigravity":{"triggers":["/jdi-bootstrap","prepare specialists","project setup"]}} |
test -f .jdi/PROJECT.md || { echo "PROJECT.md missing. Run /jdi-new first."; exit 1; }
test -f .jdi/ROADMAP.md || { echo "ROADMAP.md missing. Run /jdi-new first."; exit 1; }
# Clean working tree preferred (changes confined to .jdi/ tolerated)
DIRTY=$(git status --porcelain 2>/dev/null | grep -vE '^.. \.jdi/' || true)
[ -z "$DIRTY" ] || echo "warn: working tree has changes outside .jdi/ — commit or stash first for clean atomic commits."
Invoke agent. Wait.
Determine first phase identifier from .jdi/ROADMAP.md — extract the first - **Slug:** value under the phases section. Fall back to integer 1 only on legacy schema v1 projects that lack slugs.
FIRST_SLUG=$(awk '/^- \*\*Slug:\*\*/{print $NF; exit}' .jdi/ROADMAP.md 2>/dev/null)
NEXT_ID="${FIRST_SLUG:-1}"
/jdi-discuss $NEXT_ID/jdi-discuss $NEXT_IDApplicable to runtimes with MCP (Claude Code, OpenCode). Prints checklist after Step 3 confirmation:
MCP audit (token budget):
Every enabled MCP injects tool schema in EVERY turn — heavyweight (browser/playwright,
mac-tools, win-tools) costs 20k+ tokens/turn each. Before starting /jdi-discuss:
[ ] Browser/playwright enabled? Disable if current phases have no UI work
[ ] Platform-specific (mac-tools/win-tools)? Disable if unused
[ ] Cross-project MCPs still on from another project?
[ ] Duplicate MCPs (2 filesystem helpers, 2 search providers)?
Toggle (Claude Code): .claude/settings.json -> enabledMcpjsonServers / disabledMcpjsonServers
Toggle (OpenCode): .opencode/opencode.jsonc -> mcp.<name>.enabled
Toggle (Copilot): n/a (no granular MCP toggle support)
Skip if recently audited.
Does not block. Just reminds. JDI does not manage .claude/settings.json or .opencode/opencode.jsonc — those belong to runtime, not project state.