Communitygithub.com

執行

將已同意的任務完成為可運作、經過驗證的程式碼。

執行 是什麼?

此技能(Execute)是標準的實作工作流程,適用於當工作內容已完全理解、只需動手建置的情況。它能將已達成共識的開發意圖轉化為可運作的程式碼,並附上驗證證據。技能支援多種執行規模:單一單元可直接實作驗證;多個獨立單元可平行委派給 executor 代理;長期或無限任務則需維護持久化任務清單直至完成;需要協調的平行工作者可使用 team 模式。其關鍵規則包括:偏好刪除而非新增以保持行為不變、不擅自添加依賴、保持 diff 小而可逆、禁止遺留佔位 TODOs 或跳過的測試。完成前必須確認無待辦事項、測試通過(或明確報告失敗)、並收集驗證證據。最終輸出應包含變更的檔案列表、實作內容摘要、運作證據以及仍需處理的問題。

相容平台~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。

不需要為一次專注執行就能完成的工作啟動協調機制。

規則

  • 在行為不變的前提下,偏好刪除而非新增。
  • 未經明確要求,不得添加依賴。
  • 保持 diff 小而可逆。
  • 佔位 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

相關技能