本文へ移動
cccskills
無料GitHub で公開日本語紹介

omos-apply

OpenSpecの変更仕様に沿って実装を依存関係順の波に分け、シナリオ検証と差分レビューまで進めるスキルです。

原文原文の説明を見る

Apply an OpenSpec change via $oh-my-openspec:omos-apply — implement task groups in parallel waves, verify scenarios, review the diff. Never commits. Invoke via $oh-my-openspec:omos-apply.

hashgraph-online/awesome-codex-pluginsスター 1,422(GitHub 1,422 + cccskills 0)

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • OpenSpecの変更を仕様に沿って実装したいとき
  • 複数の実装タスクを順序立てて進めたいとき
  • 変更シナリオの検証と差分レビューをしたいとき

日本語での紹介

できること

openspec/changes/<change-id>/ にある仕様変更を読み、タスク間の依存関係や編集ファイルの重なりを考慮して実装順を組み立てます。同じ波に属するタスク群は並行して進め、各実装後に仕様のシナリオを検証します。検証に失敗した場合は、失敗した機能に絞って修正と再検証を行います。最後に差分をレビューし、変更内容や検証結果、判断事項、未対応タスクを報告します。

こんなときに便利

OpenSpecで計画した変更を仕様の範囲内で実装したいときや、複数の独立したタスクを順序立てて進めたいときに向いています。仕様にない変更が必要になった場合や、検証の前提を満たさない場合は作業を止め、計画の見直しを促します。

使い方の例

  • 「OpenSpecの変更 add-search を実装して、シナリオ検証と差分レビューまで進めてください」
  • 「この変更のタスクを依存関係ごとに分けて実装してください」

注意点

実行前に変更仕様の検証が必要です。仕様の検証に使うOpenSpecの仕組みが利用できない場合は、CLIの導入を提案し、了承がなければ停止します。コミットやステージング、アーカイブは行いません。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(1)

  • SKILL.md7.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Codex host adaptation (generated from skills/omos-apply/SKILL.md — source of truth stays there):

  • Dispatch roles with spawn_agent / send_input / wait_agent / close_agent. Subagents are asynchronous (default up to 6 concurrent threads), so a wave is one batch of spawn_agent calls followed by wait_agent collection — never poll.
  • openspec_validate is provided by this plugin's bundled MCP server as mcp__openspec__openspec_validate — call it with cwd set to your session's project directory (the change filter optional); the VALID/INVALID/UNAVAILABLE/ERROR one-look report format is identical to OpenCode.
  • This skill is invoked as a $oh-my-openspec:omos-apply mention (or picked from /skills). There is no argument substitution: arguments arrive as plain text in the user's message after the mention — read them from there; when absent, follow this skill's elicitation steps.
  • Roles run from ~/.codex/agents/omos-*.toml. If spawn_agent reports an unknown agent, stop and tell the user to run $oh-my-openspec:omos-setup once.

omos-apply

Implement openspec/changes/<change-id>/ through dependency-ordered parallel subagent waves with verification and review. The OpenSpec artifacts are the contract. You never run git write commands — the user reviews and commits.

Flow

1. Select the change

  • Change: <id> given → use it.
  • Otherwise run openspec list --json (or read openspec/changes/). Exactly one active change → confirm it. Several → ask, one per run. None → tell the user to run $oh-my-openspec:omos-plan and stop.

2. Mechanical gate

Run openspec_validate with the change id.

  • UNAVAILABLE → offer to install the CLI now (npm install -g @fission-ai/openspec, or brew install openspec on macOS; explicit yes required). Declined → stop — unlike plan, apply cannot verify without the gate.
  • Not VALID → stop, report the numbered violations, suggest a $oh-my-openspec:omos-plan fix round. Do not proceed.

3. Wave plan

Dispatch omos-planner with MODE: waves over tasks.md + design.md. It returns ordered waves of task groups (groups run in parallel within a wave; overlapping files serialize groups into later waves; conservative choices on uncertainty). Each wave-table row lists its groups' exact file paths, and the planner's MODE: waves rules are the source of truth for how waves are formed. Record the wave table in the session before dispatching.

4. Execute waves

For each wave, in order:

  • Dispatch one omos-implementer per group in the wave, all in a single parallel batch. On Codex the batch is one set of spawn_agent calls that return immediately — collect each report with wait_agent, relay follow-ups with send_input, and release threads with close_agent; never poll.
  • Each implementer prompt carries verbatim: the group's tasks, the spec requirement/scenario sections they implement, design.md decisions touching the group, and the full wave table, including each group's assigned files.
  • Implementers tick their own - [ ] → - [x] in tasks.md.
  • A user request arriving mid-wave is first checked against the wave table — the single source of execution order (Guardrails) — and the remaining tasks.md items; a covering task is cited, never duplicated by a new dispatch.

5. Blockage and conflict

An implementer BLOCKED: answer stops the run's dispatch loop for the affected wave:

  • file conflict → re-dispatch the blocked group alone in a follow-up mini-wave after its conflicting sibling completes.
  • Guardrail or plan defect → halt and ask the user (irreversible action, security change, external side effect, broken plan are always user decisions). Never lower the bar to get green. Exception: a prompt-truncation BLOCKED: is the orchestrator's defect, not the plan's — re-dispatch the group with a numbered edit list of ≤150 lines referencing file:line, not inlined spec or transcript text.

6. Verify

Before §7 Review, the orchestrator's ordering gate: every manual/eyeball acceptance group in tasks.md is executed with the user and its confirmation recorded — no change enters Review with any such group unticked. DEFERRED: is inadmissible for tasks in those groups — they end ticked or the run halts. This gate is ordering only; the verifier's tasks.md consistency check stays a separate mechanical audit.

After the final wave: dispatch one omos-verifier per capability spec file in parallel. Each runs the mechanical gate, executes every scenario's WHEN/THEN, and checks tasks.md consistency.

  • Any FAIL → one fix round: dispatch omos-implementer per failing capability with the exact scenario lines, then re-run only the failed verifiers.
  • Rejected: verifier reports that repeat the original claim with a weakened bar (skipped test, widened assertion) → treat as FAIL, do not re-dispatch the same implementer unchanged.
  • Relay every implementer DEFERRED: line (DEFERRED: <task-id> — <reason> — <user action>) verbatim to the user before §7 Review starts; a deferral naming a task in a manual/eyeball group halts at the gate above instead of being relayed.
  • After the final wave, before §7 Review, the orchestrator (or a designated dispatch) performs the post-final-wave full check suite run once and cites its output in the reviewer payload; implementer-scoped runs do not replace it.

7. Review

Dispatch omos-reviewer over the cumulative diff (git diff --stat + full diff) with a REVIEW FOCUS: block: the riskiest hunks from the wave table, verifier notes, and the verbatim Choices: report lines of every wave implementer (including Choices: none).

  • CHANGES-REQUESTED → fix round (implementer), then scoped re-review: only the open findings, answered ADDRESSED / NOT-ADDRESSED.
  • On CHANGES-REQUESTED, before dispatching the re-review, run the repo's own markdown/lint check over every openspec/ artifact the fix round touched, when the repo has one, and paste its output into the re-review dispatch.
  • BLOCKING findings left at the user's explicit choice only, recorded as ruling: lines.

8. Done

Final report:

  • Groups completed per wave with evidence one-liners.
  • choice: entries — every implementer Choices: decision worth the user's eye, one line each (none if empty).
  • ruling: entries — user-approved deviations, verbatim.
  • DEFERRED: entries — verbatim, one line each (DEFERRED: <task-id> — <reason> — <user action>).
  • Verification summary: scenarios PASS count / total, gate VALID; PASS (composited) lines count as passes.
  • NO-REGRESSION-TEST: entries — every verifier line relayed verbatim, one line each.
  • git diff --stat of the working tree.
  • Next steps for the user, in their hands: review the diff, commit, then archive with $oh-my-openspec:omos-archive <change-id>. Offered invocations are the plugin's $oh-my-openspec:omos-* skill mentions whenever one exists for the action; the upstream openspec CLI is offered only where the plugin has no equivalent.
  • Branching questions are answered by citing the repo's CONTRIBUTING.md branch-naming convention, e.g. feat/<topic> — branch creation, renaming, and commits stay the user's; the flow performs no git writes.

Guardrails

  • Implementation is bounded by the spec delta: any needed change outside it is a plan defect → stop and ask, do not sneak it in.
  • Never commit, push, or stage; never run openspec archive — archiving is a deliberate user act after review.
  • The wave table is the single source of execution order for this run.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

accelerate-local-work

無料概要あり

複数の独立したローカル作業を安全性と依存関係を確認して実行計画にまとめ、対応環境では並列化やAppleシリコン向け処理の選択を支援します。

  • ビルドやテストの独立した処理を並列化したいとき
  • 複数段階の作業計画を安全に実行したいとき
  • Appleシリコン向け処理の候補を確認したいとき
hashgraph-online/awesome-codex-plugins1,4222026年10月27日 更新

add

無料概要あり

将来の読み手が理由を知りたくなる未決定や暫定対応を、技術的負債として登録し、後から項目ごとに整理できるスキルです。

  • 暫定対応を負債として記録したいとき
  • TODOや未完了作業を管理したいとき
  • 負債の影響箇所や解消条件を残したいとき
hashgraph-online/awesome-codex-plugins1,4222026年10月28日 更新

adk-framework-adapters

無料概要あり

LangChain、EINO、AutoGen、AgentScope、CrewAI向けのコード雛形やAPI対応、プロジェクト構成を参照し、バージョン確認を踏まえてAIエージェント開発を支援します。

  • 指定したフレームワークで雛形を作りたいとき
  • 複数のエージェントフレームワークを比較したいとき
  • ツール定義やメモリ設定の例を参照したいとき
hashgraph-online/awesome-codex-plugins1,4222026年10月26日 更新

agent-debug-fixer

無料概要あり

エラーやテスト失敗、画面の異常などを再現して原因を特定し、テストで確認しながら影響を絞った修正を進めるデバッグ用スキルです。

  • テスト失敗の根本原因を調べたいとき
  • 画面や機能の不具合を小さく修正したいとき
  • 再発防止のテストを先に用意したいとき
hashgraph-online/awesome-codex-plugins1,4222026年10月28日 更新

agent-dev-workshop

無料概要あり

対話を通じてAI Agentの要件整理から設計、ツール定義、コード生成、動作確認まで6段階で進め、実行可能なプロジェクトを作ります。

  • Agentの要件と設計を整理したいとき
  • 実行可能なAgentの試作品を作りたいとき
  • ツールやPromptの構成を決めたいとき
hashgraph-online/awesome-codex-plugins1,4222026年10月26日 更新

agent-drift-auditor

無料概要あり

プロジェクトの範囲拡大や作業の分岐、命名・設計の不整合を読み取り専用で点検し、根拠と深刻度を添えた診断や、続行・分割・一時停止などの判断材料を報告します。

  • 作業が当初の範囲からずれていないか調べたいとき
  • 複数の計画や設計の食い違いを見つけたいとき
  • 変更せずにコードと決定事項を点検したいとき
hashgraph-online/awesome-codex-plugins1,4222026年10月28日 更新

hashgraph-online のスキルをすべて見る

このスキルの問題を報告する