Logo di H4tcher Adapter Author

H4tcher Adapter Author

Organizzazione
hatch3r
h4tcher-adapter-author

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

Panoramica

Pubblicato dahatch3r
Repositoryhatch3r
Nome della skillh4tcher-adapter-author
Stelle
26
Fork
7
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da hatch3r su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA H4tcher Adapter Author in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/hatch3r/hatch3r/tree/main/.claude/skills/h4tcher-adapter-author
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva H4tcher Adapter Author in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente H4tcher Adapter Author non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi H4tcher Adapter Author non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

Domande frequenti

Cosa fa la skill IA H4tcher Adapter Author?

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

Perché usare H4tcher Adapter Author su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. H4tcher Adapter Author è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo H4tcher Adapter Author in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/hatch3r/hatch3r/tree/main/.claude/skills/h4tcher-adapter-author. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare H4tcher Adapter Author?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con H4tcher Adapter Author?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con H4tcher Adapter Author: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA H4tcher Adapter Author è gratuita?

Sì. È pubblicata su GitHub da hatch3r con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇