一键导入
bootstrap-project
Detect the stack, write the descriptor, materialize recipes and scaffolding
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Detect the stack, write the descriptor, materialize recipes and scaffolding
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review dimension for naming, idiom, comment debt, and AI tells against the codified per-language and prose standards. Invoked by reviewer agents over one module shard.
Recipe for writing C in the runtime, module placement and the ownership and control-flow discipline. Invoked by writer agents when a C unit is dispatched.
Recipe for writing Clojure, Functional Core / Imperative Shell at the function level (namespaces by domain), native wrappers, and the boundary discipline. Invoked when writing Clojure for the project.
Recipe for writing Elixir, pure functions in modules as the core and GenServer plus OTP as the shell, supervision trees, and NIF discipline for the C and Zig edge. Invoked when writing Elixir for the project.
Recipe for any English the agent produces in this project, commits, comments, docstrings, ADRs, design docs, skill bodies, changelog, error messages, project guides. Optimizes for terse, humanized prose with no em dashes and no AI tells. Invoke for any prose-writing activity.
Recipe for writing Zig, native bodies and edge wrappers, the allocator and lifetime discipline, and the hot-path rules. Invoked when writing or editing any Zig source.
| name | bootstrap-project |
| description | Detect the stack, write the descriptor, materialize recipes and scaffolding |
| disable-model-invocation | true |
Role: the one-time setup. Detect the stack, write
~/.agentic-sdk/<project>/project.edn, and hand the mechanical work to
the agentic CLI. The CLI builds the project home, symlinks the
masters from the shared SDK source into .claude/, runs opencode-sync
to generate .opencode/agent/, copies CLAUDE.md, drops three
symlinks in the project root, and writes .git/info/exclude entries so
the project repo stays completely clean.
Run in the project repository root, once per project (or after a stack
change). The SDK source is on PATH at bin/agentic, with
$AGENTIC_SDK_SRC pointing at the shared install.
Follow docs/design.md section 8.2. The descriptor schema is
skills/shared/references/project-descriptor.md; the spine interface is
skills/shared/references/spine.md; the hook templates and their
runtime mapping are documented in hooks/README.md.
deps.edn or
project.clj (Clojure), build.zig or .zig-version (Zig),
mix.exs (Elixir), CMakeLists.txt or Makefile or *.h
alongside *.c (C). Detect the VCS (.jj resolves to :jj, else
.git to :git); jj-first is the default. Detect the UI surface
(frontend markers). Derive the project name from the basename of the
canonical cwd, which selects the home at
~/.agentic-sdk/<project>/.:hooks to arm and whether to confirm both
:runtimes. Apply the descriptor defaults when the author gives no
answer.~/.agentic-sdk/<project>/project.edn with the detected and
elicited fields. Every field has a default; a minimal descriptor is
{}.agentic setup. The CLI does the filesystem work: creates
the project home structure (the state/ and artifacts/ dirs);
writes .claude/ with skill and agent symlinks from
$AGENTIC_SDK_SRC, copies the armed hooks from
$AGENTIC_SDK_SRC/hooks/, and generates .claude/settings.json
from the descriptor; runs opencode-sync to generate
.opencode/agent/; copies CLAUDE.md from $AGENTIC_SDK_SRC/templates/;
creates three symlinks in the project root (.claude, .opencode,
CLAUDE.md) pointing into the project home; and appends the
exclude entries to .git/info/exclude so the symlinks stay invisible
to git.agentic status and confirm the home path, the
descriptor, the linked adapters, and the armed hooks all read green.Run once per project (or after a stack change). Writes only the
descriptor at ~/.agentic-sdk/<project>/project.edn. Dispatches
agentic setup for the mechanical filesystem work and agentic status
for verification. Does not touch the project repo beyond the three
symlinks and the exclude entries the CLI writes. Does not write project
code, pick a feature, or plan. It is the one setup valve; every later
retune goes through the add-* meta-skills, which amend the descriptor.
Atoms dispatched: agentic setup, agentic status. Sources read from:
$AGENTIC_SDK_SRC/skills/, $AGENTIC_SDK_SRC/agents/,
$AGENTIC_SDK_SRC/hooks/, and $AGENTIC_SDK_SRC/templates/.
One line: the project name, the home path, the descriptor path, the
armed hooks, and the verification verdict from agentic status.