H4tcher Docusaurus Generator logo

H4tcher Docusaurus Generator

Organization
hatch3r
h4tcher-docusaurus-generator

Maintainer skill — generate or refresh the hatch3r project documentation site (Docusaurus 3.x) from this repo's canonical corpus (agents/, skills/, rules/, commands/, hooks/, docs/, plus counts from the public governance/inventory.json). Use when a hatch3r maintainer asks to build, regenerate, or update the framework's own docs site. Analyzes the hatch3r repo structure, regenerates markdown into website/docs/, and previews the site.

Overview

Publisherhatch3r
Repositoryhatch3r
Skill nameh4tcher-docusaurus-generator
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 Docusaurus Generator 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-docusaurus-generator
  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-docusaurus-generator .claude/skills/h4tcher-docusaurus-generator
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable H4tcher Docusaurus Generator 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 Docusaurus Generator 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 Docusaurus Generator 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-07-06

Docusaurus Generator (hatch3r maintainer skill)

This skill refreshes the hatch3r project's own documentation site, which already exists at website/ (Docusaurus 3.x), by re-deriving its pages from this repository's canonical corpus. It is a framework-dev maintainer tool (hence the h4tcher- prefix per CLAUDE.md), not a generic per-project docs generator and not a lifecycle add/refactor/remove preset. It sources content from agents/, skills/, rules/, commands/, hooks/, and docs/; the only governance source is the public governance/inventory.json (counts).

The site lives in website/ and deploys to docs.hatch3r.com via .github/workflows/deploy-docs.yml on push to main (paths filter: website/**). There is no docs-site/ directory — operate on website/ directly. Do NOT run npx create-docusaurus: the project is already scaffolded; creating a second project is a P4 (Lean Coverage) violation.

Workflow Overview

  1. Analyze the hatch3r repo corpus to identify what each page must reflect
  2. Map corpus sources to the existing website/docs/** page set and website/sidebars.ts
  3. Regenerate the affected pages in place under website/docs/
  4. Build & Preview via the website's own npm scripts

Step 1: Analyze the hatch3r corpus

Scan this repo to identify what each page must reflect:

  • CLI surface: the commands under src/cli/commands/ (mirror the npx hatch3r <cmd> help) → website/docs/reference/commands/cli-commands.md
  • Canonical content: agents/, skills/, rules/, commands/, hooks/ — the artifacts hatch3r ships → the matching website/docs/reference/{agents,skills,rules,hooks}.md pages and reference/commands/agent-commands.md
  • Governance: summarize public-facing governance behavior only, in your own prose, on architecture and guide pages. The sole citable governance source is the public governance/inventory.json (counts). NEVER emit private governance file paths, § numbers, or Decision numbers into public pages — the private governance corpus may exist locally via the overlay, but it is not a citable source for the public site
  • Existing docs: the docs/ directory and README.md (do not duplicate; link or lift)
  • Source-of-truth counts: governance/inventory.json counts — page tallies (agents, skills, rules, commands, hooks) must match it
bash
# Key sources to examine in the hatch3r repo
ls src/cli/commands/*.ts
ls agents/ skills/ rules/ commands/ hooks/
ls docs/
jq '.name, .description' package.json
jq '.counts' governance/inventory.json

Step 2: Map corpus to the existing site

The site's page set and navigation are already defined. Read both before editing so regeneration lands in the right files instead of creating new ones:

bash
# Existing page tree and navigation — read before regenerating
find website/docs -name '*.md' | sort
cat website/sidebars.ts          # docsSidebar: category -> doc-id ordering
cat website/docusaurus.config.ts # routeBasePath 'docs', navbar/footer links, mermaid theme

Current top-level groups in website/sidebars.ts (docsSidebar): about, Getting Started, Guides, Reference (with Architecture and Commands sub-categories), troubleshooting. Every doc id listed in sidebars.ts MUST resolve to a file under website/docs/ — onBrokenLinks: 'throw' and the sidebar-id check fail the build otherwise.

Mapping rule: a corpus change updates the existing page that already documents that surface. Add a new page only when a new artifact class or CLI command has no home; when you add one, add its doc id to the matching category in website/sidebars.ts in the same change.

Step 3: Regenerate pages in place

Rewrite the affected files under website/docs/**. Keep each page's existing frontmatter shape:

markdown
---
sidebar_position: 1
title: Page Title
description: Brief description for SEO
---

# Page Title

Content here...

Content guidelines:

  • Write for hatch3r users (people running npx hatch3r), not framework contributors.
  • Keep counts and artifact lists synchronized with governance/inventory.json counts.
  • Link between related docs with relative doc paths (e.g. [workflow](../guides/workflow)), not absolute URLs, so the broken-link check covers them.
  • Do not duplicate README.md or docs/ prose — link to it or lift the canonical wording once.

Step 4: Author conventions used by this site

The site enables Mermaid (themes: ['@docusaurus/theme-mermaid'], markdown.mermaid: true) and the classic theme's admonitions and tabs. Use them as they already appear in website/docs/:

  • Mermaid diagrams (architecture/flow pages):
    markdown
    ```mermaid
    graph LR; A --> B
    ```
  • Admonitions for tips and warnings:
    markdown
    :::tip
    Run `npx hatch3r status` to see drift before syncing.
    :::
    
    :::warning
    `hatch3r clean` removes generated adapter outputs.
    :::
  • Tabs for platform-specific content (the three adapters — Claude Code / Cursor / Copilot):
    jsx
    import Tabs from '@theme/Tabs';
    import TabItem from '@theme/TabItem';
    
    <Tabs>
      <TabItem value="claude" label="Claude Code">...</TabItem>
      <TabItem value="cursor" label="Cursor">...</TabItem>
      <TabItem value="copilot" label="Copilot">...</TabItem>
    </Tabs>
  • Static assets go in website/static/img/ and are referenced as /img/filename.png.

Sidebar ordering is driven by website/sidebars.ts (explicit doc-id lists per category), not by sidebar_position alone — update the array when adding or reordering pages.

Step 5: Build & Preview

Use the website's own npm scripts from within website/. The build must pass before the change is done — onBrokenLinks: 'throw' turns any dangling link into a build failure, which is the same gate .github/workflows/deploy-docs.yml and h4tcher-release-prep Step 8 enforce.

bash
cd website

# Install dependencies (lockfile-exact, matching the deploy workflow)
npm ci

# Local dev server with live reload
npm run start

# Production build — fails on broken links; mirrors CI
NODE_OPTIONS=--max-old-space-size=4096 npm run build

# Serve the production build locally to spot-check
npm run serve

If website/ has unstaged edits after regeneration, the maintainer commits them with docs(website): <summary> (release syncs use docs(website): sync to v{version} per h4tcher-release-prep Step 8). This skill stops before commit.

Frequently asked questions

What does the H4tcher Docusaurus Generator AI skill do?

Maintainer skill — generate or refresh the hatch3r project documentation site (Docusaurus 3.x) from this repo's canonical corpus (agents/, skills/, rules/, commands/, hooks/, docs/, plus counts from the public governance/inventory.json). Use when a hatch3r maintainer asks to build, regenerate, or update the framework's own docs site. Analyzes the hatch3r repo structure, regenerates markdown into website/docs/, and previews the site.

Why use H4tcher Docusaurus Generator on TypingMind?

Because you install it once and use it with any model. H4tcher Docusaurus Generator 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 Docusaurus Generator in TypingMind?

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

Which AI models can use H4tcher Docusaurus Generator?

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 Docusaurus Generator?

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

Is the H4tcher Docusaurus Generator 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 👇