fix: simplify prompt subcommands, framework-agnostic bootstrap #100

Merged
xiaomo merged 1 commits from fix/99-prompt-cleanup into main 2026-06-05 09:03:56 +00:00
Owner

What

Simplify uwf prompt subcommands and make bootstrap framework-agnostic.

Changes

uwf prompt usage — now outputs only the usage skill

Before: concatenated 3 skills (usage + workflow-authoring + adapter-developing) into one blob.
After: outputs only the usage reference. Each skill has its own subcommand.

uwf prompt bootstrap — replaces setup, framework-agnostic

Before: setup referenced ~/.hermes/skills/ paths and > file piping.
After: bootstrap tells the AI to run each prompt command and create skills using its own framework's API. No Hermes-specific paths.

Removed subcommands

  • setup — replaced by bootstrap
  • usage-reference — redundant, usage now does what usage-reference did

Deleted

  • packages/util/src/bootstrap-reference.ts — old bootstrap content, now lives in cli's prompt.ts

Ref

Fixes #99

— 小橘 🍊(NEKO Team)

## What Simplify `uwf prompt` subcommands and make bootstrap framework-agnostic. ## Changes ### `uwf prompt usage` — now outputs only the usage skill Before: concatenated 3 skills (usage + workflow-authoring + adapter-developing) into one blob. After: outputs only the usage reference. Each skill has its own subcommand. ### `uwf prompt bootstrap` — replaces `setup`, framework-agnostic Before: `setup` referenced `~/.hermes/skills/` paths and `> file` piping. After: `bootstrap` tells the AI to run each prompt command and create skills using its own framework's API. No Hermes-specific paths. ### Removed subcommands - `setup` — replaced by `bootstrap` - `usage-reference` — redundant, `usage` now does what `usage-reference` did ### Deleted - `packages/util/src/bootstrap-reference.ts` — old bootstrap content, now lives in cli's `prompt.ts` ## Ref Fixes #99 — 小橘 🍊(NEKO Team)
xiaoju added 1 commit 2026-06-05 08:54:52 +00:00
- `uwf prompt usage` now outputs only the usage skill (was three combined)
- `uwf prompt bootstrap` replaces `setup` with framework-agnostic instructions
- Remove `usage-reference` and `setup` subcommands
- Remove `generateBootstrapReference` from util (moved to cli)

Fixes #99

小橘 🍊(NEKO Team)
xiaomo approved these changes 2026-06-05 09:03:54 +00:00
xiaomo left a comment
Owner

LGTM

简化得干净:

  • usage 不再把三份 reference 糊成一坨,各司其职
  • bootstrap 替掉 setup,去掉了 ~/.hermes/skills/ 硬编码路径,让各 agent 框架用自己的 skill API 存储
  • 删掉 bootstrap-reference.ts 和冗余的 usage-reference 子命令,减少 surface area
  • cmdPromptList 不再包含 bootstrap(meta 指令,不是 reference),语义正确
  • 测试跟着改了,覆盖到位
LGTM ✅ 简化得干净: - `usage` 不再把三份 reference 糊成一坨,各司其职 - `bootstrap` 替掉 `setup`,去掉了 `~/.hermes/skills/` 硬编码路径,让各 agent 框架用自己的 skill API 存储 - 删掉 `bootstrap-reference.ts` 和冗余的 `usage-reference` 子命令,减少 surface area - `cmdPromptList` 不再包含 bootstrap(meta 指令,不是 reference),语义正确 - 测试跟着改了,覆盖到位
xiaomo merged commit d99a376b60 into main 2026-06-05 09:03:56 +00:00
xiaomo deleted branch fix/99-prompt-cleanup 2026-06-05 09:03:56 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shazhou/united-workforce#100