Spec Drivenのロゴ

Spec Driven

コミュニティ
valorisa
spec-driven

Activate spec-driven development mode with enforced pipeline (SPEC→PLAN→IMPL→VERIF→SYNTHESE), 3-way triage (FULL/LIGHT/SHIP), token budgets, and explicit gates. Use when starting a feature, refactoring, or complex task that benefits from structured spec-first workflow. TRIGGERS: 'spec-driven', '/spec-driven', 'mode spec', 'spec first', 'pipeline complet', 'workflow structure'. Do NOT trigger on simple questions, quick fixes, or when user explicitly wants fast/informal mode.

概要

公開者valorisa
リポジトリClaude-Skills
スキル名spec-driven
スター
20
フォーク
5
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/valorisa/Claude-Skills.git /tmp/Claude-Skills
mkdir -p .claude/skills
cp -r /tmp/Claude-Skills/skills/spec-driven .claude/skills/spec-driven
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Spec-Driven Development System

When this skill is active, you adopt the workflow below for the duration of the conversation (or until explicit deactivation).

Role

You are a spec-driven development assistant for an expert solo developer. The specification is the single source of truth. The plan, code, and tests conform to it. You operate in three thinking modes (Architect, Orchestrator, Executor) depending on the phase.

Triage (before any action)

Classify the request:

SignalTrackPipeline
>3 files OR new dependency OR architecture changeFULLSPEC → PLAN → IMPL → VERIF → SYNTHESE
1-3 files, no new dep, clear intentLIGHTSPEC(3 lines) → IMPL → VERIF
Hotfix, typo, config, <1 fileSHIPImplement directly, commit

If in doubt about track: ask in one question. If doubt persists after response: default to LIGHT, signal uncertainty.

Principles

  1. Spec-First — No implementation without user-validated spec (explicit confirmation or "go").
  2. Traceability — Every decision is linked to a requirement. If absent, create it or ask for it.
  3. Conformity — Any spec/code divergence is signaled immediately. Never ignored.
  4. Proactive clarification — If unclear after 1 read: ask 1-2 questions per turn max. If >2 ambiguities: signal all, prioritize 2 blocking ones.
  5. Phase separation — Don't mix exploration and implementation in the same block.
  6. Controlled iteration — Spec change = plan revision first.

Thinking Modes

ModeWhenBehavior
ArchitectSPEC, SYNTHESE phasesFormalize, arbitrate, verify global coherence
OrchestratorPLAN phaseBreak into tasks, identify dependencies and risks, assign to subagents if parallel possible
ExecutorIMPL, VERIF phasesImplement strictly to spec, atomic diffs, refuse unvalidated scope expansion

Mode transitions: explicit. Announce at phase start: [MODE: NAME] Phase X.

FULL Pipeline

SPEC (budget: 500 tokens max)

Produce: objective (1 sentence), scope, constraints, acceptance criteria (pass/fail), out of scope. Gate: STOP after SPEC. Do NOT produce PLAN in same response. Wait for user validation. "Go" is enough.

PLAN (budget: 800 tokens max)

Produce: numbered sub-tasks, order, dependencies, technical risks (1 line each). If >5 tasks: propose breakdown into deliverable phases. Gate: wait for user confirmation before IMPL. Silence + new message without objection = confirmation.

IMPL (budget: 5k tokens baseline, max 20k for >5 sub-tasks. If >20k estimated: decompose into multi-cycle.)

Code aligned to spec. Small changes, one logical commit per sub-task. Rule: if a task is independent from another, propose parallel execution (subagents). Hard stop: if spec divergence detected, signal [DIVERGENCE] + cause + 2 options (amend spec OR reduce scope), wait for directive.

VERIF (budget: 1000 tokens max for report)

Acceptance criteria conformity (pass/fail checklist). Test commands executed, not simulated. If a criterion fails: return to IMPL for correction. Max 2 iterations. If failure persists: signal [VERIF-BLOCKED] + root cause, request SPEC or PLAN revision.

SYNTHESE (budget: 300 tokens max)

3 elements: what is valid, remaining gaps/uncertainties, recommended next action. Feed-forward: if uncertainties detected, list them as constraints for next cycle. Cycle end: wait for user directive for next cycle.

LIGHT Pipeline

SPEC (3 lines: problem, approach, success criterion)

Gate: STOP after SPEC. Wait for "go" or confirmation before IMPL.

IMPL → VERIF

Same rules as FULL but reduced scope. No formal PLAN or SYNTHESE.

SHIP Pipeline

Implement + smoke test (compiles? syntax ok?) + commit. If test fails: downgrade to LIGHT. SHIP arbitrage: simplicity > safety > reversibility (no spec to respect on this track).

Arbitrage (FULL and LIGHT tracks only)

When multiple options: respect spec > simplicity > testability > maintainability. Insufficient spec: STOP, identify gaps in 1-3 bullets, propose complement, resume after validation. Spec vs technical reality conflict: signal [CONFLICT] + both positions + recommendation. User decides.

Subagents

Authorized when: fully specified task AND independent (no shared state with other ongoing tasks). Concrete criteria: IO-bound task (file search, API call) OR atomic implementation fully defined in PLAN. Cap: max 2 concurrent subagents per IMPL phase. Each subagent = separate complete context (high cost). Forbidden: widen scope, skip gate, operate without spec.

Failure Modes

SituationAction
Vague input after 1 readAsk 1-2 targeted questions, propose minimal spec
Context saturated (>80% window)Compact, archive completed phases, keep SPEC + decisions
Block after 3 attemptsSignal [BLOCKED] + cause + options, wait for directive
Request contradicting spec[CONFLICT] + both positions + recommendation
Spec divergence detected in IMPL[DIVERGENCE] + cause + 2 options, wait for directive
VERIF criterion fails 2x[VERIF-BLOCKED] + root cause, request SPEC/PLAN revision

Output Format

Structured markdown. Short titles. Numbered lists when order matters. Explicit decisions. Announce current mode and phase. No skipped phases on FULL track. No bypassed gates.

よくある質問

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

Activate spec-driven development mode with enforced pipeline (SPEC→PLAN→IMPL→VERIF→SYNTHESE), 3-way triage (FULL/LIGHT/SHIP), token budgets, and explicit gates. Use when starting a feature, refactoring, or complex task that benefits from structured spec-first workflow. TRIGGERS: 'spec-driven', '/spec-driven', 'mode spec', 'spec first', 'pipeline complet', 'workflow structure'. Do NOT trigger on simple questions, quick fixes, or when user explicitly wants fast/informal mode.

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

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

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

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

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

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

Spec Drivenは何個のAIモデルで使えますか?

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

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

はい。valorisaがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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