Logo vun Markdown Mdx Content Pipeline Stinger

Markdown Mdx Content Pipeline Stinger

Organisatioun
legioncodeinc
markdown-mdx-content-pipeline-stinger

Build Markdown and MDX pipelines. Use for compiler choice, remark/rehype plugins, syntax highlighting, diagrams, or sanitization. Read guides/ for the decision path.

Iwwersiicht

Editeurlegioncodeinc
Repositoryvibe-coding-tools
Skill-Nummmarkdown-mdx-content-pipeline-stinger
Stären
94
Forks
44
Matgeliwwert Fichieren
11
LizenzAGPL-3.0-or-later
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 11 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum legioncodeinc op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Markdown Mdx Content Pipeline Stinger an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/legioncodeinc/vibe-coding-tools/tree/main/plugins/documentation-tools/skills/markdown-mdx-content-pipeline-stinger
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/legioncodeinc/vibe-coding-tools.git /tmp/vibe-coding-tools
mkdir -p .claude/skills
cp -r /tmp/vibe-coding-tools/plugins/documentation-tools/skills/markdown-mdx-content-pipeline-stinger .claude/skills/markdown-mdx-content-pipeline-stinger
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Markdown Mdx Content Pipeline Stinger an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Markdown Mdx Content Pipeline Stinger automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Markdown Mdx Content Pipeline Stinger net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

markdown-mdx-content-pipeline-stinger

Markdown and MDX processing stack: from raw .md/.mdx file to final HTML/JSX/React output. This stinger encodes the 2026 state of the unified/remark/rehype ecosystem, the Shiki family (Shiki v4, expressive-code, starry-night), compiler selection, plugin authoring patterns, math/diagram embedding, and sanitization.


When to use this skill

Activate when markdown-mdx-content-pipeline-wasp-drone is invoked, or when the user asks about any of these:

  • Selecting a Markdown/MDX compiler for a Next.js, Astro, Vite, or Node.js project
  • Auditing or designing a remark/rehype plugin chain
  • Implementing or upgrading syntax highlighting (Shiki, expressive-code, starry-night, rehype-pretty-code)
  • Writing custom remark or rehype plugins (visitor pattern, AST manipulation)
  • Embedding math (KaTeX, MathJax) or diagrams (Mermaid, D2)
  • Configuring sanitization for user-authored Markdown (rehype-sanitize, DOMPurify)
  • Testing a unified processing pipeline (vitest fixtures, snapshot tests)
  • Migrating from Contentlayer, next-mdx-remote, or Prism/Highlight.js to 2026-recommended alternatives

Do NOT activate for:

  • Platform selection (Docusaurus, Starlight, Mintlify) → docs-site-wasp-drone
  • React component architecture for MDX (mdx-components.tsx internals) → react-wasp-drone
  • Broader XSS audit beyond sanitization config → security-wasp-drone
  • SEO/AEO concerns about rendered pages → seo-aeo-wasp-drone

Quick reference: canonical 2026 stack

LayerRecommended (2026)Legacy / Avoid
Compiler (Next.js blog)Velite + @next/mdxnext-mdx-remote (archived), Contentlayer
Compiler (route MDX)@next/mdxnone
Syntax highlightingShiki v4 / rehype-pretty-codePrism, Highlight.js
Highlighting (Starlight)expressive-codenone
GFMremark-gfmnone
Mathremark-math + rehype-katexMathJax (heavier)
DiagramsMermaid via next/script (CSR) or rehype-mermaid (SSR build)none
Sanitization (server)rehype-sanitizenone
Sanitization (client)DOMPurifynone

Guides index

Read each guide before authoring any output in its domain.

  • guides/00-principles.md: scope boundary, unified AST model (mdast to hast to html/jsx), the four processing layers (parse, transform, compile, render)
  • guides/01-compiler-selection.md: decision matrix: @next/mdx vs next-mdx-remote v6 vs Velite vs Contentlayer2 vs @mdx-js/mdx direct
  • guides/02-remark-rehype-pipeline.md: canonical plugin ordering, the .use() chain, GFM/frontmatter/directive plugins
  • guides/03-syntax-highlighting.md: Shiki v3 to v4 migration, expressive-code, starry-night, rehype-pretty-code
  • guides/04-plugin-authoring.md: unified plugin function signature, unist-util-visit visitor pattern, TypeScript types
  • guides/05-math-diagrams.md: remark-math + rehype-katex, Mermaid SSR workaround, D2, callout/admonition directive
  • guides/06-sanitization.md: rehype-sanitize schema design, DOMPurify, allowDangerousHtml safety
  • guides/07-testing.md: vitest fixtures, snapshot testing MDX output, XSS payload fuzzing

Examples index

  • examples/next-mdx-blog.md: full Next.js 15 App Router MDX blog with Velite, remark-gfm, remark-math, rehype-katex, rehype-pretty-code (Shiki v4)
  • examples/ai-chat-renderer.md: safe rendering of user-authored Markdown in an AI chat UI with DOMPurify + allowlist

Templates index

  • templates/plugin-boilerplate.ts: typed TypeScript boilerplate for a unified remark or rehype plugin

Critical directives (always enforce)

  1. Prefer Shiki v4 over Prism or Highlight.js. Shiki ships TextMate grammars, is the default in Vite/Astro/Next.js in 2026, and supports transformers for line numbers, highlighting, and word highlighting.

  2. Treat untrusted input as plain Markdown, never executable MDX. MDX expressions compile to JavaScript; rehype-sanitize and DOMPurify sanitize HTML, not arbitrary MDX execution. Keep MDX restricted to trusted repository content. Parse user Markdown to HTML and sanitize after the last unsafe HTML-producing step; see guides/06-sanitization.md.

  3. Use Velite for new Next.js content sites. next-mdx-remote is archived (v6.0.0 final release, Feb 2026). Velite is Turbopack-safe, RSC-safe, and outputs inert typed JSON.

  4. rehype-sanitize MUST come after rehype-raw in the chain. Placing it before rehypeRaw produces a false-clean output that raw HTML can still bypass.

  5. Pin plugin versions. The unified ecosystem releases breaking AST changes without major semver bumps; "*" or "latest" breaks pipelines silently.

  6. Distinguish MDX compile (server) from MDX render (client/RSC). Conflating them produces broken CSR/SSR configurations with security implications.

  7. Route platform-selection to docs-site-wasp-drone. This stinger implements the highlighting and plugin config after the platform is decided; crossing the boundary produces contradictory guidance.


Refresh cadence

  • 6 months. The Shiki ecosystem (including expressive-code) releases breaking API changes roughly every two quarters. Verify @expressive-code/plugin-shiki Shiki peer-dep range and rehype-pretty-code Shiki compat table on each refresh.
  • Re-run scripture-historian at shallow depth if: Shiki releases v5, expressive-code releases a major, or Next.js App Router changes its MDX integration.
  • The sanitization guides are stable; refresh only if a rehype-sanitize schema default changes.

Part of the Wasp Nest. Paired Drone: markdown-mdx-content-pipeline-wasp-drone. Research: 10 external sources (2025-11 to 2026-05), depth tier: normal.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Markdown Mdx Content Pipeline Stinger?

Build Markdown and MDX pipelines. Use for compiler choice, remark/rehype plugins, syntax highlighting, diagrams, or sanitization. Read guides/ for the decision path.

Firwat Markdown Mdx Content Pipeline Stinger op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Markdown Mdx Content Pipeline Stinger besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Markdown Mdx Content Pipeline Stinger an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/legioncodeinc/vibe-coding-tools/tree/main/plugins/documentation-tools/skills/markdown-mdx-content-pipeline-stinger an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Markdown Mdx Content Pipeline Stinger benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Markdown Mdx Content Pipeline Stinger benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Markdown Mdx Content Pipeline Stinger domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Markdown Mdx Content Pipeline Stinger gratis?

Jo. De Skill gëtt vum legioncodeinc ënner der Lizenz AGPL-3.0-or-later op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇