关于 deliver-setup
deliver-setup 是为 deliver 配置代码仓库的技能,面向交付团队。它检查主机前置条件、协调角色配置,并通过隔离的无编辑测试验证所选配置。
主要功能
- 01检测主机并读取对应适配器
- 02检查并报告前置条件
- 03配置规划、实现、评审和 QA 角色
- 04在隔离环境验证角色配置
- 05备份并仅写入获批设置
适用场景
- 01为代码仓库配置 deliver
- 02迁移旧版 Herdr 角色配置
- 03验证所选角色配置是否可用
安装
复制下面的命令,在终端中运行。
npx skills add https:/ / github.com/ flyingnobita/ flyingnobita-deliver --skill deliver-setup安装后在 Claude Code 中输入/deliver-setup确认已加载。
附带文件references/prerequisites.md
README 原文English
来自项目 READMEREADME 暂无中文译文,以下为英文原文;中文介绍见上方。
Set up delivery
Configure the requested repo for deliver (or flyingnobita-deliver). This is an idempotent
setup operation, not a delivery run. Existing valid defaults need no repeated
interview. Inside Deliver, join unresolved choices to its grilling stop.
- Read the repo's rules and the shared configuration. Detect the host using host detection. Read only its adapter: Orca, Herdr, or Paseo.
- Run every check in prerequisites for the selected host and report its table. For each failed required row, give the fix and its link, and apply it only on the user's approval. A blocking row (missing commit capability, helper or host component) stops setup before smoke tests. Then present the optional section separately.
- If legacy configuration or an old run exists, read migration. Preview changes and inventory existing runs before proposing removal. Do not commandeer them.
- Resolve planner, implementer, reviewer and QA settings. Recommend a distinct reviewer model/harness when available. Ask only for missing/unsupported choices and changes in authority. Keep the initiating orchestrator unchanged. Review concurrency, human schedule and landing separately from permissions.
- Validate selected profiles through no-edit smoke tasks in a disposable
workspace under the confirmed host. Ask each to report only its identity and
completion; compare requested/effective settings. Native settlement, release
and cleanup must be verified. Do not mark a failed or unavailable launch
validated or silently broaden its permissions. Use an isolated setup record;
a smoke test grants no delivery brief/plan approval. Use
purpose:"setup"andapproved.setupwith the concrete request/selected profiles as defined in run records. Orca and Herdr smoke jobs use rolesmokewith each selected profile in turn. - Back up any existing project config. Write only approved project values,
preserving unknown keys and unrelated host tables. On Herdr, write role
profiles only as
[hosts.herdr.roles.<role>]tables, and migrate old top-level role tables as described in Herdr role table migration. Paseo profiles remain in Paseo; report required changes there rather than overwriting them. Keep legacy files and migration evidence while old runs may need them. - Add a concise pointer to
docs/agents/delivery.tomlin the repo'sAGENTS.mdonly when requested or approved. The autonomous merge rule still requires the separate explicit consent in Deliver's project rules. Optional tracker setup is not a prerequisite to this skill.
Done when every required prerequisite is ok or named as a blocker, every
optional item was offered, settings are recorded, every selected profile has a
verified result or explicit blocker, and every setup resource is removed or
named as retained. Report the prerequisite table, changes, effective settings,
permissions, smoke evidence and migration decisions. Commit through
repository commit rules (or a configured custom commit skill); publication is separate.
Herdr role table migration
A Herdr project layer lives under [hosts.herdr.roles.<role>]. When
docs/agents/delivery.toml has old top-level [planner], [implementer],
[reviewer] or [qa] tables and no [hosts.herdr.roles.*], offer to move
them:
- Back up the file and read the effective profiles first with
deliver-runtime herdr-project-rolesandprofiles, passing herdr-profiles.toml asdefaults. - Move each of the four role tables under
[hosts.herdr.roles.<role>], keeping every key and value, including unknown keys. - Leave
[delivery],[hosts], other host tables, comments and all unrelated content in place. - Show the proposed file or its diff and get approval before writing it.
- Repeat the profile reads and confirm the effective Herdr profiles are unchanged and no layout warning is reported.
- Confirm no top-level role table remains; keep the backup as migration evidence while old runs may need it.