Communitygithub.com

技能化(skillify)

將當前會話中的可重複工作流程轉換為可重複使用的 OMC 技能草稿。

技能化(skillify) 是什麼?

「技能化」(skillify)是一種專為AI代理(如 Claude Code、Cursor、Codex)設計的技能,用於從當前工作會話中提煉出可重複使用的工作流程,並將其結構化為 OMC 兼容的技能草稿。它的核心價值在於捕捉那些需要真正除錯、設計或運維努力才能發現的、專屬於特定程式碼庫或專案的啟發式決策、約束條件、常見陷阱及驗證步驟,而非一般的片段或樣板。該技能支援生成 YAML 前置元數據的完整技能檔案,並可儲存在 `omc-learned` 目錄或專案的 `.omc/skills/` 路徑下,以實現工作樹本地或使用者級別的可攜帶性。通過嚴格定義的品質閘門和工作流程,它確保只有真正有價值的重複性任務才會被提取,避免產生不必要的冗餘內容。

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

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Skillify(技能化)

在當前會話中發現了可重複的工作流程時,使用此技能將其轉換為可重複使用的 OMC 技能草稿。

目標

捕捉一個成功的多步驟工作流程,將其具體化為技能草稿,而不是日後重新摸索。

品質閘門

在提取技能前,以下三個條件須同時成立:

  • 「這個問題別人花 5 分鐘 Google 就能找到答案嗎?」→ 否。
  • 「這個流程是專屬於此程式碼庫、專案或工作流程的嗎?」→ 是。
  • 「發現這個流程需要耗費真正的除錯、設計或運維努力嗎?」→ 是。

優先選擇那些編碼了決策啟發法、約束條件、常見陷阱及驗證步驟的技能。避免收錄屬於一般文件的通用片段、樣板程式碼或函式庫使用範例。

工作流程

  1. 辨識此次會話中完成的可重複任務。
  2. 提取以下要素:
    • 輸入
    • 有序步驟
    • 成功標準
    • 約束條件/常見陷阱
    • 驗證證據
    • 技能的最佳存放位置
  3. 決定該工作流程應歸屬於:
    • 倉庫內建技能
    • 使用者/專案學習型技能
    • 僅作為文件
  4. 在草擬學習型技能檔案時,輸出一個完整的技能檔案,並以 YAML 前置元數據開頭。
    • 切勿輸出純文字 Markdown 格式的技能檔案。
    • 不得在無前置元數據的情況下撰寫純 Markdown。
    • 最低要求的前置元數據:
      ---
      name: <skill-name>
      description: <one-line description>
      triggers:
        - <trigger-1>
        - <trigger-2>
      ---
      
    • 將學習型/使用者/專案技能寫入平面檔案儲存路徑:
      • ${CLAUDE_CONFIG_DIR:-~/.claude}/skills/omc-learned/<skill-name>.md
      • .omc/skills/<skill-name>.md
    • 請記住,未提交的技能仍屬於工作樹本地,直到提交或複製到使用者級別目錄為止。
  5. 使用清晰的觸發條件、步驟、成功標準與常見陷阱,草擬技能檔案的其餘部分。
  6. 指出任何仍過於模糊而無法安全編碼的內容。

規則

  • 僅捕捉實際可重複的工作流程。
  • 保持技能的實用性與範圍明確。
  • 優先使用明確的成功標準,而非模糊的描述。
  • 若工作流程仍存在未解決的分支決策,在草擬前先加以說明。
  • 保留 omc-learned 作為儲存目錄名稱以確保相容性;不要將其作為公開調用名稱使用。

輸出

  • 建議的技能名稱
  • 目標存放位置
  • 草稿工作流程結構或完整的技能檔案
  • 驗證或品質閘門備註
  • 未解決的問題(若有)

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.

execute

Carry an approved task through to working, verified code

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

相關技能