H4tcher Adapter Author logo

H4tcher Adapter Author

Organization
hatch3r
h4tcher-adapter-author

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

Overview

Publisherhatch3r
Repositoryhatch3r
Skill nameh4tcher-adapter-author
Stars
26
Forks
7
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by hatch3r on GitHub. Read the source before you install it.

Installation

Install the H4tcher Adapter Author AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/hatch3r/hatch3r/tree/main/.claude/skills/h4tcher-adapter-author
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable H4tcher Adapter Author in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads H4tcher Adapter Author on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so H4tcher Adapter Author is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

Frequently asked questions

What does the H4tcher Adapter Author AI skill do?

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

Why use H4tcher Adapter Author on TypingMind?

Because you install it once and use it with any model. H4tcher Adapter Author is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install H4tcher Adapter Author in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hatch3r/hatch3r/tree/main/.claude/skills/h4tcher-adapter-author. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use H4tcher Adapter Author?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with H4tcher Adapter Author?

As many as you like. As long as a model supports skills, you can use H4tcher Adapter Author with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the H4tcher Adapter Author AI skill free?

Yes. It is published on GitHub by hatch3r under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇