Repository navigation
feat(skills)!: Agent Skill 以仓库目录分发,移除 skills 子命令 - #35
Conversation
… buf.yaml sync story
|
追加提交 |
|
追加提交 |
…way ships linter rules
- grpc-gateway template: openapiv2 plugin sets skip_base (protoc-gen-openapiv2 has no paths/module flags; protoc failed atomically and blocked all gen outputs) - verify: dep-less projects with empty vendor dir pass (empty set); stray vendor content without manifest still fails - parseConfig: reset globalCfg before unmarshal so fields absent from the document cannot leak across in-process re-parses (doctor) - commands.md: verify/init rows match shipped behavior
|
追加 init 默认体验重做(be4a135..7fc154e,设计与计划见 docs/superpowers/):
|
|
Post-merge acceptance closed: |
变更说明
protobuild 的对外 Agent Skill 从 CLI 内联模板(
protobuild skills)迁移为仓库真实目录skills/protobuild/,经npx skills add pubgo/protobuild(支持-g)分发;删除skills子命令并加防漂移守卫测试。skills/protobuild/:SKILL.md(渐进披露主入口,覆盖 init/vendor/gen/检查/诊断全流程)+ references/(commands.md 16 命令速查、config.md 配置要点、troubleshooting.md 故障修法)+ agents/openai.yamlTestCommandsDocumentedInSkillRefs:遍历Main().Children断言每个子命令名出现于 commands.md,漏同步文档时 CI 红(已负向验证非摆设)newSkillsCommand/defaultSkillContent/defaultOpenAIContent及辅助函数;README 移除skills行style:提交(golangci-lint issues.fix 对无关文件的自动修复)设计:
docs/superpowers/specs/2026-11-03-skill-directory-design.md;计划:docs/superpowers/plans/2026-11-03-skill-directory.md变更类型
protobuild skills子命令移除,spec 决策:纯删除、无 tombstone)关联问题
无(技能模板漂移治理,源自本轮 agents/skills 完善工作)
提交前检查清单
关键项
REQ)—— 对照已批准 spec 逐条验收LOGI)—— 整分支 fresh-eyes 评审:0 Critical;2 Important 已修(init 模板大小写、doctor --fix 不代跑 vendor,均有源码/复现证据)SEC)AUTH)高优先级项
DSN)—— 单一真源,双源漂移病根已机制性封堵RBST)/ 事务(TRANS)/ 并发(CONC)/ 性能(PERF)—— 本次为删除+文档,无新执行路径质量项
测试项
文档项
补充说明
npx skills add pubgo/protobuild真实安装依赖默认分支,合并后需补跑一次并在本 PR 备注留痕(本地已用 skills-ref validate 验证结构)。protobuild skills生成.agents/skills/protobuild/的用户:旧文件与新技能同名可能遮蔽新内容,删除指引见 AGENT_SKILL.md 迁移提示。