/opc-develop:harness-retrofitfrom opc-develop
Guides incremental migration of existing codebases to the Harness system: gap analysis, question-driven decisions, step-by-step retrofit of operations, environment, docs, and decision records.
Ships in opc-develop. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
目标与 harness-init 相同(以 ${CLAUDE_PLUGIN_ROOT}/docs/harness.zh-CN.md 为权威),
路径相反:从存量出发,改与迁移,不推倒重来。改造由真实需要拉动——
下一个 feature 用不到的能力,这一轮不建。
先自行考察,代码里能查到的不许问人:服务怎么启动?日志什么形态?本地环境与生产差在哪 (伪平替清单:SQLite 顶 MySQL、内存 mock 顶对象存储、latest 镜像、跳过的鉴权)? 有没有 Migration,还是手工改库?测试怎么跑、绿灯信不信得过? 盘点结果做成差距表:现状 → harness 要求 → 差距 → 风险。 然后按轮次向架构师提问确认迁移决策(每轮 5-10 问,附推荐方案与理由); 难以回头的决策记入 ADR。
每一步都必须回答"缩短了哪条反馈回路",答不上来就跳过;
每步完成即用对应验证用例证明(同 harness-init 的用例集,逐步点亮),
不憋大招一次性切换。
差距表、迁移决策(含 ADR 与立项决策补课产物)、逐步点亮的验证用例证据、 改造后的 harness 能力。
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub wallkop/opc-develop --plugin opc-develop12 skills in this plugin
/brainstorm需求进入开发前的价值拷问环节:用第一性原理和反常识视角发散讨论、击穿需求本质,逼提需者把价值想透、想清楚,平衡复杂度与 ROI;产出 brief.md(原话愿景),按项目标准拉 feature 分支并自动推送。产品意图已经清晰时可跳过。/builddefinition.md 定案后的自主开发环节:AC 展开为机器可读 Case 并锁死 Oracle,先跑 RED 再实现(TDD,模型自主规划路线),harness drive 全量裁决转 GREEN,仅一次现实评审,最终以 Core-Case 冒烟投影在真实环境收口。裁决全部由项目 Harness 执行,本 skill 不携带任何裁决脚本。/demobrief.md 就绪后的纯 vibe-coding 原型环节:基于 Harness 的 Mock 能力,在真实项目前端里用捏泥人的方式快速构建可交互、可体验、功能完整模拟闭环的 Demo,支持独立部署;不做任何门禁与测试,完全由人体感验收。产出是确认的产品决策,代码随缘。/deployUse when one or more human-accepted Lite or Build increments are merged to trunk and should release to production safely. Build uses fresh acceptance receipts; Lite uses test acceptance, focused evidence, matching risk checks, and the project's complete release gate. Performs fail-closed preflight, backups/rollback, runbook deployment, prod-safe regression, and a watch window. Every destructive step requires explicit human confirmation.Other plugins' skills for the same job