Markdown Mdx Content Pipeline Stinger logo

Markdown Mdx Content Pipeline Stinger

Organization
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.

Overview

Publisherlegioncodeinc
Repositoryvibe-coding-tools
Skill namemarkdown-mdx-content-pipeline-stinger
Stars
94
Forks
44
Bundled files
11
LicenseAGPL-3.0-or-later
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.

  • 11 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

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

Installation

Install the Markdown Mdx Content Pipeline Stinger 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/legioncodeinc/vibe-coding-tools/tree/main/plugins/documentation-tools/skills/markdown-mdx-content-pipeline-stinger
  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/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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Markdown Mdx Content Pipeline Stinger 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 Markdown Mdx Content Pipeline Stinger 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 Markdown Mdx Content Pipeline Stinger 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.

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Markdown Mdx Content Pipeline Stinger AI skill do?

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

Why use Markdown Mdx Content Pipeline Stinger on TypingMind?

Because you install it once and use it with any model. Markdown Mdx Content Pipeline Stinger 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 Markdown Mdx Content Pipeline Stinger in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/legioncodeinc/vibe-coding-tools/tree/main/plugins/documentation-tools/skills/markdown-mdx-content-pipeline-stinger. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Markdown Mdx Content Pipeline Stinger?

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 Markdown Mdx Content Pipeline Stinger?

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

Is the Markdown Mdx Content Pipeline Stinger AI skill free?

Yes. It is published on GitHub by legioncodeinc under the AGPL-3.0-or-later 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 👇