fix: simplify prompt subcommands, framework-agnostic bootstrap #100
Reference in New Issue
Block a user
Delete Branch "fix/99-prompt-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Simplify
uwf promptsubcommands and make bootstrap framework-agnostic.Changes
uwf prompt usage— now outputs only the usage skillBefore: 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— replacessetup, framework-agnosticBefore:
setupreferenced~/.hermes/skills/paths and> filepiping.After:
bootstraptells the AI to run each prompt command and create skills using its own framework's API. No Hermes-specific paths.Removed subcommands
setup— replaced bybootstrapusage-reference— redundant,usagenow does whatusage-referencedidDeleted
packages/util/src/bootstrap-reference.ts— old bootstrap content, now lives in cli'sprompt.tsRef
Fixes #99
— 小橘 🍊(NEKO Team)
LGTM ✅
简化得干净:
usage不再把三份 reference 糊成一坨,各司其职bootstrap替掉setup,去掉了~/.hermes/skills/硬编码路径,让各 agent 框架用自己的 skill API 存储bootstrap-reference.ts和冗余的usage-reference子命令,减少 surface areacmdPromptList不再包含 bootstrap(meta 指令,不是 reference),语义正确