Ospecのロゴ

Ospec

コミュニティ
henrydiaosi
ospec

Document-driven OSpec workflow for AI-assisted development with change-ready initialization, execution, validation, and archive readiness.

概要

公開者henrydiaosi
リポジトリdorado
スキル名ospec
スター
79
フォーク
13
同梱ファイル
48
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 48個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    henrydiaosiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Ospec」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/henrydiaosi/dorado/tree/main
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/henrydiaosi/dorado.git \
  .claude/skills/ospec
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでOspecを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にOspecを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Ospecは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

OSpec CLI

Document-driven OSpec workflow for AI-assisted development with change-ready initialization, execution, validation, archiving, and docs maintenance.

Default Entry

When the user says something short like:

  • 使用 ospec 初始化项目
  • 使用 ospec 初始化这个目录
  • use ospec to initialize this directory
  • use ospec to initialize this repo

expand it internally as:

  1. initialize the repository with ospec init so it ends in a change-ready state
  2. if project context is missing and the AI can ask follow-up questions, ask one concise question for project summary or tech stack
  3. if the user declines or the flow is CLI-only, continue with placeholder project docs
  4. create the first change only when explicitly requested

Do not force the user to repeat those steps manually when the request is already clear.

Treat plain project-init intent as enough to trigger this flow. Do not require the user to restate the guardrails in a longer prompt.

Mandatory Init Execution

When the user asks to initialize a directory, do not freehand the initialization flow.

If the user intent is simply to initialize the project or current directory, treat that as a request for this mandatory flow.

Use this exact behavior:

  1. run ospec init [path] when the directory is uninitialized or not yet change-ready
  2. if AI assistance is available and the repository lacks usable project context, ask one concise follow-up for summary or tech stack before init when helpful
  3. verify the actual filesystem result before claiming initialization is complete
  4. stop before ospec new unless the user explicitly asks to create a change

Never replace ospec init with manual directory creation or a hand-written approximation.

Do not say initialization is complete unless the managed protocol-shell assets and baseline project knowledge docs actually exist on disk.

Required checks after ospec init:

  • .skillrc
  • .ospec/
  • changes/active/
  • changes/archived/
  • SKILL.md
  • SKILL.index.json
  • build-index-auto.cjs
  • for-ai/ai-guide.md
  • for-ai/execution-protocol.md
  • for-ai/naming-conventions.md
  • for-ai/skill-conventions.md
  • for-ai/workflow-conventions.md
  • for-ai/development-guide.md
  • docs/project/overview.md
  • docs/project/tech-stack.md
  • docs/project/architecture.md
  • docs/project/module-map.md
  • docs/project/api-overview.md

During plain init, do not report docs/SKILL.md, src/SKILL.md, tests/SKILL.md, or business scaffold as if they were part of change-ready completion.

Prompt Profiles

Use these prompt styles as the preferred mental model.

1. Minimal Prompt

Use when the user already trusts OSpec defaults.

text
Use ospec to initialize this project.

2. Standard Prompt

Use when you want short prompts and still want OSpec to finish initialization properly.

text
Use ospec to initialize this project according to current OSpec rules.

3. Guided Init Prompt

Use when you want the AI to gather missing context before initialization if needed.

text
Use ospec to initialize this project. If project context is missing, ask me for a short summary or tech stack first. If I skip it, continue with placeholder docs.

4. Docs Maintenance Prompt

Use when the repository is already initialized and the project knowledge layer needs a refresh or repair pass.

text
Use ospec to refresh or repair the project knowledge layer for this directory. Do not create a change yet.

5. Change-Creation Prompt

Use when the user is explicitly ready to move into execution.

text
Use ospec to create and advance a change for this requirement. Respect the current project state and do not create queue work unless I ask for it.

6. Queue Prompt

Use when the user explicitly wants multiple changes queued instead of one normal active change.

text
Use ospec to break this TODO into multiple changes, create a queue, show the queue first, and do not run it yet.

7. Queue-Run Prompt

Use when the user explicitly wants queue execution, not the normal single-change flow.

text
Use ospec to create a change queue and execute it explicitly with ospec run manual-safe.

Anti-Drift Rules

Always keep these rules:

  • ospec init should leave the repository in a change-ready state
  • AI-assisted init may ask one concise follow-up question for missing summary or tech stack; if the user declines, continue with placeholder docs
  • ospec docs generate refreshes, repairs, or backfills project knowledge docs after initialization
  • when the user asks to initialize, execute the CLI init command and verify the protocol-shell files and docs/project/* files on disk before declaring success
  • do not assume the project is a web or Next.js project unless the repository or user makes that explicit
  • do not apply business scaffold during plain init or docs maintenance
  • do not generate docs/project/bootstrap-summary.md
  • do not create the first change automatically unless the user explicitly asks to create a change
  • do not enter queue mode unless the user explicitly asks for queue behavior
  • treat presets as planning defaults, not as init-time templates
  • use the CLI commands for verification, archiving, and targeted inspection instead of ad-hoc filesystem edits

What The CLI Manages

This CLI now covers:

  • change-ready initialization
  • project knowledge maintenance
  • layered skill files
  • execution-layer change workflow
  • preset-based planning defaults
  • explicit business scaffold generation for supported presets
  • Codex and Claude Code skill install and sync checks

Canonical Execution Files

Treat these as the source of truth for active delivery work:

  • .skillrc
  • docs/project/overview.md
  • docs/project/tech-stack.md
  • docs/project/architecture.md
  • changes/active/<change>/proposal.md
  • changes/active/<change>/tasks.md
  • changes/active/<change>/state.json
  • changes/active/<change>/verification.md

Plugin Gates

Before advancing an active change:

  • read .skillrc.plugins to detect enabled blocking plugins
  • if the current change activates stitch_design_review, inspect changes/active/<change>/artifacts/stitch/approval.json
  • when Stitch approval is missing or status != approved, treat the change as blocked and do not claim it is ready to continue or archive

Do not fall back to the old features/... layout unless the target repository really still uses it.

Commands To Prefer

bash
ospec status [path]
ospec init [path]
ospec init [path] --summary "..." --tech-stack node,react
ospec docs generate [path]
ospec new <change-name> [path]
ospec docs status [path]
ospec skills status [path]
ospec changes status [path]
ospec queue status [path]
ospec queue add <change-name> [path]
ospec queue next [path]
ospec run start [path] --profile manual-safe
ospec run status [path]
ospec run step [path]
ospec run resume [path]
ospec run stop [path]
ospec plugins status [path]
ospec plugins approve stitch [changes/active/<change>]
ospec plugins reject stitch [changes/active/<change>]
ospec index check [path]
ospec index build [path]
ospec workflow show
ospec workflow list-flags
ospec progress [changes/active/<change>]
ospec verify [changes/active/<change>]
ospec archive [changes/active/<change>]
ospec archive [changes/active/<change>] --check
ospec finalize [changes/active/<change>]
ospec skill status ospec
ospec skill install ospec
ospec skill status ospec-change
ospec skill install ospec-change
ospec skill status-claude ospec
ospec skill install-claude ospec
ospec skill status-claude ospec-change
ospec skill install-claude ospec-change

Managed auto-sync targets for global install, ospec init, and ospec update are:

  • ospec
  • ospec-change

Additional packaged skills remain available for explicit install, for example:

bash
ospec skill install ospec-init
ospec skill install-claude ospec-init

Preferred execution order for a new directory:

bash
ospec init [path]
ospec new <change-name> [path]
ospec verify [changes/active/<change>]
ospec finalize [changes/active/<change>]

Use ospec docs generate [path] later when you need a docs-only maintenance pass.

Use ospec status [path] separately when you want an explicit troubleshooting snapshot.

For completed changes, archive before commit. Use ospec archive [changes/active/<change>] to execute the archive and --check only when you want a readiness preview without moving files.

For the normal closeout path, prefer ospec finalize [changes/active/<change>]. It should verify completeness, rebuild the index, archive the change, and leave Git commit as a separate manual step.

Project-Type Rules

If the repository type is unclear:

  • inspect the real directory only when needed for troubleshooting or context gathering
  • let initialization stay stack-agnostic
  • allow the project to stay minimal except for OSpec-managed assets and baseline project docs
  • let later skills or explicit project-knowledge steps shape the actual stack

This is important because valid OSpec projects include:

  • web applications
  • CLI tools
  • Unity projects
  • Godot projects
  • desktop apps
  • service backends
  • protocol-only repositories

Verification Discipline

Before saying work is complete:

  1. verify the relevant active change
  2. confirm docs, skills, and index state if project knowledge changed
  3. keep SKILL.index.json current after meaningful skill updates
  4. treat SKILL.index.json section offsets as LF-normalized so Windows CRLF and Linux LF checkouts do not drift

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Ospec」では何ができますか?

Document-driven OSpec workflow for AI-assisted development with change-ready initialization, execution, validation, and archive readiness.

TypingMindでOspecを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Ospecはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにOspecをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/henrydiaosi/dorado/tree/mainを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Ospecを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Ospecで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもOspecを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Ospec」は無料ですか?

はい。henrydiaosiがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇