Communitygithub.com

执行

将一个已批准的任务推进到可运行且经过验证的代码阶段。

执行 是什么?

“执行”技能旨在将已明确理解的任务转化为实际可运行的代码,并提供相应的验证证据。它代表了一种规范化的执行工作流程,被诸如 `autopilot`、`ralph`、`ultragoal` 等高级编排系统所调用。该工作流强调先确认任务清晰度,然后将工作分解为独立单元进行并行实施,并在过程中持续验证,而非仅在最后。其关键规则包括优先删除而非添加、保持差异最小化、不自我批准,并最终输出文件变更、实现内容、验证证据及未决事项。该技能支持从单次实施到协调多个 `executor` 代理或使用 `team` 进行大规模并行协作等多种规模的任务,但明确反对为一次专注即可完成的工作引入不必要的协调开销。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Yeachan-Heo/oh-my-claudecode/tree/main/skills/execute

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

执行 是做什么的?

当工作内容已明确,任务仅为构建时,使用此技能。

这是规范化的执行工作流。autopilot、ralph、ultragoal、ultrapilot、pipeline 和 swarm 均会路由至此。

目标

将任务从已达成一致的意图,推进到可运行的代码并提供其可行的证据。

工作流

  1. 确认任务足够清晰,可以开始构建。如果不清晰,则先进行计划。
  2. 将工作分解为独立的单元;真正独立的单元可并行执行。
  3. 每个单元实现最小且正确的变更,复用现有的工具和模式。
  4. 边进行边验证,而不是只在最后才验证。
  5. 报告哪些内容已变更、哪些已验证以及哪些尚未完成。

规模

使执行机制匹配具体任务:

  • 单个单元 — 直接实现、验证后即完成。
  • 多个独立单元 — 并行委派给 executor 代理。
  • 长时间运行或无界任务 — 维护一个持久化的任务列表,并持续执行直至列表为空。
  • 需要协调的并行工作者 — 使用 team。

不要为一次专注即可完成的工作启动协调过程。

规则

  • 在行为不变的情况下,优先考虑删除而非添加。
  • 未经明确请求,不得添加依赖项。
  • 保持差异小巧且可逆。
  • 占位性的 TODO、test.skip 和桩测试是阻碍,而非进展。
  • 编写和批准是独立的步骤 — 不要自我批准;应移交给 review 或 verify。

完成标准

在声称完成之前,需确保:

  • 无待办任务
  • 测试通过,或失败已明确报告
  • 已收集验证证据

输出

  • 已变更的文件
  • 已实现的内容
  • 可行的证据
  • 仍未关闭的事项

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

agent-doc-discipline

Writing-time discipline for documents agents consume (the five surfaces, specs, tickets, .omc/skills/) — every rule checkable and carrying a why, steps before reference, one meaning in one home, no restating what the environment already says. Mandatory at drydock seed generation and the launch C5 sediment pass; opt-in for any other agent-facing doc edit. The companion of minimal-code-discipline: that one disciplines code, this one disciplines papers.

ai-slop-cleaner

Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode

ask

Process-first advisor routing for Claude, Codex, Gemini, Antigravity, Grok, or Cursor via `omc ask`, with artifact capture and no raw CLI assembly

ask-navigator

Shipyard

autopilot

Full autonomous execution from idea to working code

autoresearch

Stateful single-mission improvement loop with strict evaluator contract, markdown decision logs, and max-runtime stop behavior

cancel

Cancel any active OMC mode (autopilot, ralph, ultragoal, swarm, ultrapilot, pipeline, team) and clean up retired legacy state

configure-notifications

Configure notification integrations (Telegram, Discord, Slack) via natural language

debug

Diagnose the current OMC session or repo state using logs, traces, state, and focused reproduction

deepinit

Deep codebase initialization with hierarchical AGENTS.md documentation

deep-interview

Socratic deep interview with mathematical ambiguity gating before explicit execution approval

drydock

Lay the keel of the shipyard harness in any repo — the 4-pillar shared environment (Context, Rules, Tools, Standards) across 5 surfaces (CLAUDE.md, skills, design-system, mcp/cli, shared context) so that every human and agent inherits the same design language and anyone can ship. Run once per repo; re-run with --check to audit drift.

external-context

Invoke parallel document-specialist agents for external web searches and documentation lookup

graph

Deterministic orchestration graph runtime - declarative DAG pipelines with journal-based crash recovery

harbor

Harbor intake for external work — the captain only handles unresolved decisions. Sweeps incoming issues and PRs, verifies every claim before disposition, reuses every decision already made, and hands the maintainer a docket whose pending items each carry one question with options, recommendation, impact and evidence. Agent-autonomous for facts and for actions covered by standing authorization; signed for every new judgment. Never merges.

hud

Configure HUD display options (layout, presets, display elements)

launch

Shipyard

loft

Loft the shape before cutting steel — answer a design question that prose cannot settle by building a throwaway artifact: a pure logic module in a clickable shell, or structurally different UI variants behind one route. The captain reacts to the artifact; the answer folds into the decision; the artifact never docks. Use when a design question stalls in words, when a navigator map carries a loft ticket, or when a spec discussion reaches

minimal-code-discipline

YAGNI-ladder coding discipline for writing changes — existence-first, reuse before writing, dependency ladder, shortest correct diff, with non-negotiables that must never be minimized away

omc-doctor

Diagnose and fix oh-my-claudecode installation issues

相关技能