H4tcher Adapter Authorのロゴ

H4tcher Adapter Author

組織
hatch3r
h4tcher-adapter-author

Create or modify a platform adapter with web research, implementation, testing, and D09 checklist verification.

概要

公開者hatch3r
リポジトリhatch3r
スキル名h4tcher-adapter-author
スター
26
フォーク
7
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Last updated: 2026-06-09

Adapter Author

Create or modify a platform adapter for hatch3r.

Step 0: P8 B1 Ambiguity Gate

Before any read or write, scan the user request against the four B1 triggers from .claude/rules/clarification-default.md (which carries the verbatim directive from governance/CONSTITUTION.md §2 P8 B1):

  1. Ambiguous scope — request maps to ≥2 reasonable interpretations producing different adapters (e.g., "add Zed adapter" without specifying rules-only vs full-feature surface).
  2. Multiple valid interpretations — ≥2 viable approaches with materially different cost, scope, or risk (e.g., bundling MCP support vs. deferring to a follow-up).
  3. Irreversible action — deleting an existing adapter, renaming its public id, dropping output paths users may already depend on.
  4. Missing acceptance criteria — no testable definition of done (e.g., no list of file paths, no capability matrix targets, no test coverage threshold).

If any trigger fires, ask via the platform-native question tool per agents/shared/user-question-protocol.md: one question per turn; bundle related sub-questions into a single multiple-choice prompt; 2-4 numbered options with one-line trade-offs; declare the default-if-no-response option. Do NOT proceed to Step 1 until the ambiguity is resolved or the user has confirmed the default.

Step 1: Understand the Contract

  1. Read src/adapters/base.ts — the BaseAdapter abstract class defines:
    • name: string — adapter identifier
    • warnings: string[] — user-facing warnings
    • doGenerate(ctx: AdapterContext): Promise<AdapterOutput[]> — core generation logic
    • getOutputPaths(agentsDir, manifest): Promise<string[]> — files this adapter creates
  2. Read src/adapters/canonical.ts — readCanonicalFiles(canonicalRoot, type, warnings) reads frontmatter-bearing markdown from the bundled content root resolved by resolveBundledContentRoot() (src/content/contentRoot.ts), not a user-repo .agents/ mirror (the legacy .agents/ materialisation no longer exists; canonical.ts:1020-1024)
  3. Read src/adapters/customization.ts — applyCustomization() applies user overrides
  4. Read src/adapters/mcp-utils.ts — MCP server config transformation

Step 2: Research the Target Platform

  1. Web-search the target platform's official documentation for:
    • Configuration file format and paths
    • Agent/rule/skill capability support
    • MCP server integration format
    • Hook/event system
    • Model configuration syntax
  2. Cite documentation version and date in code comments

Step 3: Study Reference Implementations

  1. Read the 3 supported adapters (per CONSTITUTION §6 Decision 12, 1.9.0 hard-cut):
    • src/adapters/cursor.ts — full-featured reference (rules, agents, skills, MCP, hooks)
    • src/adapters/claude.ts — CLAUDE.md output format
    • src/adapters/copilot.ts — GitHub Copilot custom-instructions output
  2. Read governance/audit/domains/D09-platform-adapters.md for per-adapter audit checklist

Step 4: Implement

  1. Create src/adapters/{name}.ts:
    • Export class extending BaseAdapter
    • Implement doGenerate() — handle each content type (agents, skills, rules, commands, hooks, MCP)
    • Implement getOutputPaths() — return all file paths this adapter creates
    • Use wrapInManagedBlock() for merge-safe output
    • Use resolveAgentModel() for model configuration
  2. Register the new tool across the Record<Tool, …> surfaces. Extend src/types.ts::TOOLS FIRST — it is the single Tool union every Record<Tool, …> keys from, so each surface below compile-errors until you complete it:
    • Extend src/types.ts::TOOLS (the Tool union) and its derived src/types.ts::TOOL_WORKTREE_SUPPORT
    • Add the archive prefix set in src/archive/index.ts::TOOL_PATH_PREFIXES
    • Add the factory in src/adapters/index.ts::adapterFactories
    • Add to the src/adapters/index.ts::ADAPTER_CAPABILITIES matrix
    • Add the display name in src/cli/shared/constants.ts::TOOL_DISPLAY_NAMES

Step 5: Test

  1. Create src/__tests__/adapters/{name}.test.ts:

    • Output path correctness
    • Content format validation
    • Feature flag behavior (when features are disabled)
    • MCP format transformation
    • Hook format if supported
    • Managed block markers present
    • Error handling for missing canonical files

    Also update the capability-matrix drift tests so the new tool is asserted, not skipped: add it to TOOLS_UNDER_TEST and ADAPTER_SOURCE in src/__tests__/adapters/capabilityMatrixDrift.test.ts, and to TOOLS_UNDER_TEST in src/__tests__/adapters/capability-matrix-doc.test.ts.

  2. Run: npm test, npx tsc --noEmit, npm run lint

Step 6: Verify

  1. Run npx hatch3r validate with the new adapter configured
  2. Verify D09 checklist items: output paths, format, feature flags, bridge orchestration, model emission, MCP, secrets, hooks

よくある質問

AIスキル「H4tcher Adapter Author」では何ができますか?

Create or modify a platform adapter with web research, implementation, testing, and D09 checklist verification.

TypingMindでH4tcher Adapter Authorを使うメリットは何ですか?

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

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

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

H4tcher Adapter Authorを使えるAIモデルはどれですか?

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

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

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

AIスキル「H4tcher Adapter Author」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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