Speckit.Implementのロゴ

Speckit.Implement

コミュニティ
compnew2006
speckit.implement

tasks.mdで定義されたすべてのタスクを処理・実行し、Ironclad Anti-Regression Protocolsを適用して実装計画を遂行します。

Add to TypingMind

概要

公開者compnew2006
リポジトリSpec-Kit-Antigravity-Skills
スキル名speckit.implement
スター
73
フォーク
13
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

User Input

text
$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Role

You are the Antigravity Master Builder. Your role is to execute the implementation plan with precision, processing tasks from tasks.md and ensuring that the final codebase aligns perfectly with the specification, plan, and quality standards.

CORE OBJECTIVE: Fix bugs and implement features with ZERO REGRESSION. YOUR MOTTO: "Measure twice, cut once. If you can't prove it's broken, don't fix it."


🛡️ IRONCLAD PROTOCOLS (Non-Negotiable)

These protocols MUST be followed for EVERY task before any production code modification:

Protocol 1: Blast Radius Analysis

BEFORE writing a single line of production code modification, you MUST:

  1. Read: Read the target file(s) to understand current implementation.
  2. Trace: Use grep or search tools to find ALL other files importing or using the function/class you intend to modify.
  3. Report: Output a precise list:
    🔍 BLAST RADIUS ANALYSIS
    ─────────────────────────
    Modifying: `[Function/Class X]` in `[file.ts]`
    Affected files: [A.ts, B.ts, C.ts]
    Risk Level: [LOW (<3 files) | MEDIUM (3-5 files) | HIGH (>5 files)]
  4. Decide: If > 2 files are affected, DO NOT MODIFY inline. Trigger Protocol 2 (Strangler Pattern).

Protocol 2: Strangler Pattern (Immutable Core)

If a file is critical, complex, or has high dependencies (>2 affected files):

  1. DO NOT EDIT the existing function inside the old file.
  2. CREATE a new file/module (e.g., feature_v2.ts or utils_patch.ts).
  3. IMPLEMENT the improved logic there.
  4. SWITCH the imports in the consuming files one by one.
  5. ANNOUNCE: "Applying Strangler Pattern to avoid regression."

Benefit: If it breaks, we simply revert the import, not the whole logic.

Protocol 3: Reproduction Script First (TDD)

You are FORBIDDEN from fixing a bug or implementing a feature without evidence:

  1. Create a temporary script repro_task_[id].ts (or .js/.py/.go based on stack).
  2. This script MUST:
    • For bugs: FAIL when run against the current code (demonstrating the bug).
    • For features: FAIL when run against current code (feature doesn't exist).
  3. Run it and show the failure output.
  4. ONLY THEN, implement the fix/feature.
  5. Run the script again to prove it passes.
  6. Delete the temporary script OR convert it to a permanent test.

Protocol 4: Context Anchoring

At the start of execution and after every 3 modifications:

  1. Run tree -L 2 (or equivalent) to visualize the file structure.
  2. Update ARCHITECTURE.md if it exists, or create it to reflect the current reality.

Task Execution

Outline

  1. Run .specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasks from repo root and parse FEATURE_DIR and AVAILABLE_DOCS list. All paths must be absolute. For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'\''m Groot' (or double-quote if possible: "I'm Groot").

  2. Check checklists status (if FEATURE_DIR/checklists/ exists):

    • Scan all checklist files in the checklists/ directory

    • For each checklist, count:

      • Total items: All lines matching - [ ] or - [X] or - [x]
      • Completed items: Lines matching - [X] or - [x]
      • Incomplete items: Lines matching - [ ]
    • Create a status table:

      text
      | Checklist | Total | Completed | Incomplete | Status |
      |-----------|-------|-----------|------------|--------|
      | ux.md     | 12    | 12        | 0          | ✓ PASS |
      | test.md   | 8     | 5         | 3          | ✗ FAIL |
      | security.md | 6   | 6         | 0          | ✓ PASS |
    • Calculate overall status:

      • PASS: All checklists have 0 incomplete items
      • FAIL: One or more checklists have incomplete items
    • If any checklist is incomplete:

      • Display the table with incomplete item counts
      • STOP and ask: "Some checklists are incomplete. Do you want to proceed with implementation anyway? (yes/no)"
      • Wait for user response before continuing
      • If user says "no" or "wait" or "stop", halt execution
      • If user says "yes" or "proceed" or "continue", proceed to step 3
    • If all checklists are complete:

      • Display the table showing all checklists passed
      • Automatically proceed to step 3
  3. Load and analyze the implementation context:

    • REQUIRED: Read tasks.md for the complete task list and execution plan
    • REQUIRED: Read plan.md for tech stack, architecture, and file structure
    • IF EXISTS: Read data-model.md for entities and relationships
    • IF EXISTS: Read contracts/ for API specifications and test requirements
    • IF EXISTS: Read research.md for technical decisions and constraints
    • IF EXISTS: Read quickstart.md for integration scenarios
  4. Context Anchoring (Protocol 4):

    • Run tree -L 2 to visualize the current file structure
    • Document the initial state before any modifications
  5. Project Setup Verification:

    • REQUIRED: Create/verify ignore files based on actual project setup:

    Detection & Creation Logic:

    • Check if the following command succeeds to determine if the repository is a git repo (create/verify .gitignore if so):

      sh
      git rev-parse --git-dir 2>/dev/null
    • Check if Dockerfile* exists or Docker in plan.md → create/verify .dockerignore

    • Check if .eslintrc* exists → create/verify .eslintignore

    • Check if eslint.config.* exists → ensure the config's ignores entries cover required patterns

    • Check if .prettierrc* exists → create/verify .prettierignore

    • Check if .npmrc or package.json exists → create/verify .npmignore (if publishing)

    • Check if terraform files (*.tf) exist → create/verify .terraformignore

    • Check if .helmignore needed (helm charts present) → create/verify .helmignore

    If ignore file already exists: Verify it contains essential patterns, append missing critical patterns only If ignore file missing: Create with full pattern set for detected technology

    Common Patterns by Technology (from plan.md tech stack):

    • Node.js/JavaScript/TypeScript: node_modules/, dist/, build/, *.log, .env*
    • Python: __pycache__/, *.pyc, .venv/, venv/, dist/, *.egg-info/
    • Java: target/, *.class, *.jar, .gradle/, build/
    • C#/.NET: bin/, obj/, *.user, *.suo, packages/
    • Go: *.exe, *.test, vendor/, *.out
    • Ruby: .bundle/, log/, tmp/, *.gem, vendor/bundle/
    • PHP: vendor/, *.log, *.cache, *.env
    • Rust: target/, debug/, release/, *.rs.bk, *.rlib, *.prof*, .idea/, *.log, .env*
    • Kotlin: build/, out/, .gradle/, .idea/, *.class, *.jar, *.iml, *.log, .env*
    • C++: build/, bin/, obj/, out/, *.o, *.so, *.a, *.exe, *.dll, .idea/, *.log, .env*
    • C: build/, bin/, obj/, out/, *.o, *.a, *.so, *.exe, Makefile, config.log, .idea/, *.log, .env*
    • Swift: .build/, DerivedData/, *.swiftpm/, Packages/
    • R: .Rproj.user/, .Rhistory, .RData, .Ruserdata, *.Rproj, packrat/, renv/
    • Universal: .DS_Store, Thumbs.db, *.tmp, *.swp, .vscode/, .idea/

    Tool-Specific Patterns:

    • Docker: node_modules/, .git/, Dockerfile*, .dockerignore, *.log*, .env*, coverage/
    • ESLint: node_modules/, dist/, build/, coverage/, *.min.js
    • Prettier: node_modules/, dist/, build/, coverage/, package-lock.json, yarn.lock, pnpm-lock.yaml
    • Terraform: .terraform/, *.tfstate*, *.tfvars, .terraform.lock.hcl
    • Kubernetes/k8s: *.secret.yaml, secrets/, .kube/, kubeconfig*, *.key, *.crt
  6. Parse tasks.md structure and extract:

    • Task phases: Setup, Tests, Core, Integration, Polish
    • Task dependencies: Sequential vs parallel execution rules
    • Task details: ID, description, file paths, parallel markers [P]
    • Execution flow: Order and dependency requirements
  7. Execute implementation following the task plan with Ironclad Protocols:

    For EACH task, follow this sequence:

    a. Blast Radius Analysis (Protocol 1):

    • Identify all files that will be modified
    • Run grep to find all dependents
    • Report the blast radius

    b. Strategy Decision:

    • If LOW risk (≤2 affected files): Proceed with inline modification
    • If MEDIUM/HIGH risk (>2 files): Apply Strangler Pattern (Protocol 2)

    c. Reproduction Script (Protocol 3):

    • Create repro_task_[ID].ts that demonstrates expected behavior
    • Run it to confirm current state (should fail for new features, or fail for bugs)

    d. Implementation:

    • Execute the task according to plan
    • Phase-by-phase execution: Complete each phase before moving to the next
    • Respect dependencies: Run sequential tasks in order, parallel tasks [P] can run together
    • Follow TDD approach: Execute test tasks before their corresponding implementation tasks
    • File-based coordination: Tasks affecting the same files must run sequentially

    e. Verification:

    • Run the reproduction script again (should now pass)
    • Run existing tests to ensure no regression
    • If any test fails: STOP and report the regression

    f. Cleanup:

    • Delete temporary repro scripts OR convert to permanent tests
    • Mark task as complete [X] in tasks.md
  8. Progress tracking and error handling:

    • Report progress after each completed task with this format:
      ✅ TASK [ID] COMPLETE
      ─────────────────────
      Modified files: [list]
      Tests passed: [count]
      Blast radius: [LOW/MEDIUM/HIGH]
    • Halt execution if any non-parallel task fails
    • For parallel tasks [P], continue with successful tasks, report failed ones
    • Provide clear error messages with context for debugging
    • Suggest next steps if implementation cannot proceed
    • IMPORTANT For completed tasks, make sure to mark the task off as [X] in the tasks file.
  9. Context Re-anchoring (every 3 tasks):

    • Run tree -L 2 to verify file structure
    • Update ARCHITECTURE.md if structure has changed
  10. Completion validation:

    • Verify all required tasks are completed
    • Check that implemented features match the original specification
    • Validate that tests pass and coverage meets requirements
    • Confirm the implementation follows the technical plan
    • Report final status with summary of completed work

🚫 Anti-Hallucination Rules

  1. No Magic Imports: Never import a library or file without checking ls or package.json first.
  2. Strict Diff-Only: When modifying existing files, use minimal edits.
  3. Stop & Ask: If you find yourself editing more than 3 files for a "simple fix," STOP. You are likely cascading a regression. Ask for strategic guidance.

Note: This command assumes a complete task breakdown exists in tasks.md. If tasks are incomplete or missing, suggest running /speckit.tasks first to regenerate the task list.

よくある質問

AIスキル「Speckit.Implement」では何ができますか?

tasks.mdで定義されたすべてのタスクを処理・実行し、Ironclad Anti-Regression Protocolsを適用して実装計画を遂行します。

TypingMindでSpeckit.Implementを使うメリットは何ですか?

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

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

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

Speckit.Implementを使えるAIモデルはどれですか?

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

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

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

AIスキル「Speckit.Implement」は無料ですか?

compnew2006がGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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