Markdown Mdx Content Pipeline Stingerのロゴ

Markdown Mdx Content Pipeline Stinger

組織
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.

概要

公開者legioncodeinc
リポジトリvibe-coding-tools
スキル名markdown-mdx-content-pipeline-stinger
スター
94
フォーク
44
同梱ファイル
11
ライセンスAGPL-3.0-or-later
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 11個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    legioncodeincがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルMarkdown Mdx Content Pipeline StingerをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/legioncodeinc/vibe-coding-tools/tree/main/plugins/documentation-tools/skills/markdown-mdx-content-pipeline-stinger
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでMarkdown Mdx Content Pipeline Stingerを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にMarkdown Mdx Content Pipeline Stingerを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Markdown Mdx Content Pipeline Stingerは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでMarkdown Mdx Content Pipeline Stingerを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Markdown Mdx Content Pipeline Stingerはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにMarkdown Mdx Content Pipeline Stingerをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/legioncodeinc/vibe-coding-tools/tree/main/plugins/documentation-tools/skills/markdown-mdx-content-pipeline-stingerを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Markdown Mdx Content Pipeline Stingerを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Markdown Mdx Content Pipeline Stingerは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもMarkdown Mdx Content Pipeline Stingerを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Markdown Mdx Content Pipeline Stinger」は無料ですか?

はい。legioncodeincがGitHubでAGPL-3.0-or-laterライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇