跳到正文
Skillpedia
智能体10k · #12014

deepwork

它能做什么

这个技能为大型、多阶段的软件工作设置结构化工作流,例如整个产品或风险较高的架构变更。适合由多个专业角色进行长期项目的团队。

适用场景

  • ✓项目规模大、风险高,无法一步安全上线的时候。
  • ✓变更涉及系统的多个部分,需要在各阶段之间设置审查关卡的时候。
  • ✓你希望分阶段构建工作,从粗略版本逐步过渡到强化版本的时候。

技能链接

https://github.com/alvinunreal/oh-my-opencode-slim/blob/master/src/skills/deepwork/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/alvinunreal/oh-my-opencode-slim/blob/master/src/skills/deepwork/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我们正在分阶段重建整个计费系统。请规划工作,使每个阶段都交付可用的内容并经过审查。”

每周 5 个新技能,1 分钟读完。

工作原理

这个技能分轮进行:先为每个主要流程做一个精简版本,然后建立真正的结构,最后进行强化。每一轮都以一个可用的结果和已知问题清单结束。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Deepwork

Deepwork is an orchestrator workflow for heavy coding sessions: a whole product or subsystem, cross-cutting architectural change, unsafe-to-partially- ship migration, or sustained coordination across specialist lanes. Never infer it merely because a task touches multiple files; skip it for trivial edits, quick docs changes, simple bug fixes, or routine bounded features.

Work Like a Painter

A painter does not finish one finger before sketching the hand. Build the whole picture in passes, each at a higher fidelity, keeping it easy to adjust:

  1. Sketch — every major flow works end to end, thinly. Rough is fine; faked or hidden is not.
  2. Structure — real data model, real module boundaries, the main failure paths.
  3. Detail — hardening, crash recovery, edge cases, polish. Repeat as needed.

Every pass ends with a committed, usable product and a ranked known-issues list. Work is never finished: there will always be more to harden and more bugs to fix. Stop when the task's goal is met at a fidelity that serves it, and hand the remaining known issues over — leftovers are expected, not failure.

Two things are never deferred to a later pass: security and money/data correctness. Everything else is judged against the current pass.

Autonomy

Run autonomously to the end by default. Make reasonable decisions yourself, record them in the progress file, and keep moving. Ask the user only when truly blocked: credentials, paid commitments, irreversible or public external actions, or a decision with no safe default. If the task asks for check-ins (for example, after each pass), honor that.

Role

Act as scheduler and integrator, not the default implementation worker. Make small integration and remediation edits yourself when you already hold the context. Value productivity: a working whole picture beats a perfect corner.

Planning a Pass

  • Define the pass goal in one or two lines: what the whole product does at this fidelity.
  • Split the pass into a few coherent lanes (about four or fewer) with disjoint write scopes. Agree the interfaces between lanes before dispatching them — only as firmly as this pass needs; expect them to move later.
  • Plan @designer and @fixer as separate lanes from the start: @designer owns visuals; @fixer owns wiring, types, and tests.
  • If the pass has lanes that touch persistent state, money, concurrency, crash recovery, or destructive operations, get one short @oracle design review of the pass plan covering all of them before dispatch. Design flaws are cheap to fix before implementation.
  • Record the pass plan in the progress file; give the user a compact version.

Running a Pass

  • Every delegation states scope, interfaces it relies on, and acceptance evidence. Every lane report must list changed files, the exact commands run with their exit codes, and what remains unverified.
  • Accept a lane after checking one decisive artifact — source for interfaces, real output for runtime, opened screenshots for UI. A build passing proves neither behavior nor visual quality.
  • After two misses from a lane, change the boundary or the specialist instead of sending a longer version of the same prompt.
  • Lanes run focused checks for their own scope. Run the broad suite once per pass, after reconciling all writers; reuse evidence while it stays valid.
  • If the pass runs about twice its expected effort, step back and re-plan instead of pushing on.

Gate and Step Back

At the end of each pass:

  1. Run the broad validation once on the reconciled state.
  2. Request one @oracle gate scoped to this pass: is the whole picture right at this fidelity? Findings that belong to a later pass go to the known-issues list, not into a fix loop. Fix blockers in one bounded pass; at most two re-reviews, each only for materially changed risks. State the attempt in every gate prompt, e.g. Pass 2 gate — attempt 2 of 3.
  3. Commit the pass.
  4. Step back: run the product as a whole, look at it, and re-plan the next pass from what you see rather than from the original plan. Review the code organization too — if files grew huge or module boundaries blurred, make reorganization part of the next pass before it becomes unmaintainable. Likewise, if slow tests or builds noticeably dragged this pass, make speeding them up part of the next pass — without dropping essential state, security, or real-service evidence.

State

.slim/deepwork/

常见问题

什么时候不应使用它?

这个技能指出,对于小的修改、快速的文档更新、简单的缺陷修复和常规功能,应跳过它。

产品完成后工作就结束了吗?

这个技能指出,工作从来不会完全结束,因此在达成目标时停止,并移交已知问题。

什么是绝不推迟处理的?

安全以及金钱或数据的正确性,绝不留到后续阶段再处理。

详情

作者的原始描述

High-cost orchestrator workflow for large, high-risk, multi-phase coding efforts with meaningful dependencies and review gates. Do not activate for routine multi-file changes.

repo: alvinunreal/oh-my-opencode-slim

热度

GitHub 星标
10k
排名
#12014
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能