markdown-html-orchestrator
できること
このスキルは、Markdownファイルが文書、コードレビュー、スライドのどれかを判断して、対応する変換ツールに送ります。Markdownを共有可能なHTMLページにしたい人を対象としています。
使う場面
- ✓長いMarkdownの仕様書、レポート、解説を、一つのHTMLページにしたいとき。
- ✓Markdownのコードレビューを、二列のHTMLビューにしたいとき。
- ✓Markdownをスライドのデッキ(HTML)にしたいとき。
スキルのリンク
https://github.com/alirezarezvani/claude-skills/blob/main/markdown-html/skills/markdown-html-orchestrator/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この長いプロジェクト仕様のMarkdownファイルを、共有できる一つのHTMLページに変換してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スクリプトでMarkdownファイルを分類し、文書、レビュー、スライドの変換ツールに振り分けて、完成したHTMLファイルのパスを返します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Markdown → HTML — Domain Orchestrator
Thariq Shihipar's argument (Claude Code HTML output essay, Medium 2026): markdown collapses past 100 lines for agent-generated artifacts. Long specs, code reviews, and architecture explainers lose density, hierarchy, and lightweight interaction the moment they exceed a screen of text. HTML restores all three — single-file, browser-native, shareable.
This orchestrator forks context, classifies the input markdown deterministically, routes to the right converter sub-skill, and returns a digest with the output path. Heavy intake (full markdown bodies, diffs, slide decks) stays in the forked context.
Domain status (complete): all five skills are live — orchestrator + design-system (onboarding + shared brand tokens) + the three converter sub-skills (md-document, md-review, md-slides). Always route conversions to the shipped converter's scripts; never hand-render HTML inline.
When to invoke
| Symptom | Sub-skill |
|---|---|
| "Convert this RFC / spec / report / explainer to HTML" — long-form doc | md-document |
| "Turn this PR writeup / code review into HTML" — markdown with diff blocks | md-review |
"Make a slide deck from this markdown" — --- boundaries or H1 cadence |
md-slides |
Pre-flight gates (hard refusals)
- Below the 100-line threshold. Markdown wins below 100 lines (Shihipar). The classifier prints
below_min_lines: trueandroute_explainer.pyrefuses. Tell the user to keep their input as markdown. - Design-system not onboarded. If
~/.config/markdown-html/design-system.jsondoesn't exist (or itssetup_completed_atis null), refuse. Point the user atpython3 markdown-html/skills/design-system/scripts/onboard.py(or--defaultsfor a zero-touch run). - Unwritable save location.
output_path_resolver.pyrefuses if the configureddefault_output_dir(or--outoverride) isn't writable.
Routing logic (deterministic)
Two-signal threshold pattern lifted from research-ops/skills/research-ops-skills/SKILL.md. Filename hint = 2 points; each content signal = 1 point. Silent-route allowed when winner ≥ 3 AND (runner-up = 0 OR winner ≥ 2× runner-up). Below threshold → one clarifying question with a recommended answer.
Signal table
| Signal class | Filename hints | Content signals | Sub-skill |
|---|---|---|---|
| DOCUMENT | report.md, *-doc.md, spec.md, rfc-*.md, *-analysis.md, *-explainer.md |
## Table of Contents (2), ^# , ^## , markdown table rows, > [!NOTE]/[!TIP]/[!IMPORTANT] callouts |
md-document |
| REVIEW | review.md, *-pr-*.md, *.diff.md, code-review*.md |
```diff (2), ^[-+]{3} (2), ^@@ (2), > [!BLOCKER]/[!MAJOR]/[!MINOR]/[!NIT] (2), LGTM/nit:/blocker: |
md-review |
| SLIDES | deck.md, slides.md, *-talk.md, presentation*.md |
^---$ ≥ 3 (2 + per-boundary), <!-- notes: (2), H1 count ≥ 5 with median gap ≤ 12 lines (2) |
md-slides |
The pipeline:
python3 markdown-html/skills/markdown-html-orchestrator/scripts/doctype_classifier.py \
--input <path>.md --output json \
| python3 markdown-html/skills/markdown-html-orchestrator/scripts/route_explainer.py
route_explainer.py checks the design-system status, applies the < 100-line refusal, and prints one of: ROUTE_SILENTLY -> md-<type>, ASK_USER one question: ..., or REFUSE — fix the issues above.
Workflow
Step 1 — Confirm onboarding
If the user has never run onboarding, surface the one-time setup:
python3 markdown-html/skills/design-system/scripts/onboard.py
Ten questions, 1-2 minutes. Captures brand primary + accent + heading/body Google Fonts + design style (editorial/technical/minimal/playful) + default output dir + syntax theme + TOC behavior + optional logo/company. Stored at ~/.config/markdown-html/design-system.json. Re-runnable with --scope project for per-repo overrides.
Step 2 — Classify the input
Run doctype_classifier.py on the markdown. Inspect the verdict.
Step 3 — Route or ask
Pipe the classification into route_explainer.py. If it says ROUTE_SILENTLY, forward the original markdown + the design-system config into the named sub-skill's renderer in the forked context. If it says ASK_USER, ask ONE question with the recommended answer.
Step 4 — Resolve the output path
python3 markdown-html/skills/markdown-html-orchestrator/scripts/output_path_resolver.py \
--input <path>.md --doctype <document|
よくある質問
最低の長さはありますか?
はい。約100行未満のファイルは、その程度の長さではプレーンなMarkdownの方が適するため、受け付けません。
どのような出力を作りますか?
変換ごとに、単独で動く一つのHTMLファイルを作ります。
先にブランドの設定が必要ですか?
はい。変換を実行する前に、デザインシステムの設定が必要です。
詳細
作者による元の説明
Use when the user wants a markdown file turned into a single-file interactive HTML page (document, code review or slide deck). Classifies it with doctype_classifier.py and routes to md-document, md-review or md-slides.
人気
- GitHubのスター
- 29k
- ランキング
- #9626
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
agent-launcher-orchestrator
29kひとつの明確な目標から始めて、自分のアカウントでClaudeのマネージドエージェントを計画し、作成し、テストし、スケジュールするまでを段階的に支援します。
grade-iterate
29kマネージドエージェントの作業をルーブリックに照らして採点し、固定された回数だけ改善させることで、終わりなく繰り返さないようにします。
interview
29kAIエージェントのアイデアについてインタビューし、回答をもとに、何かを起動する前の構築計画にまとめます。
run-without-you
29kマネージドエージェントを、スケジュールまたはイベントの発生によってあなたがいなくても動くように設定します。起動の前にcronの時刻を確認します。
似ているスキル
obsidian-vault-maintainer
394kObsidianと相性のよいメモリボールトを整理して、動くウィキリンク、統一されたプロパティ、安全に生成されるセクションを保つようエージェントを支援します。
wiki-maintainer
394k同じ内容を繰り返し保てるページ、安全な管理ブロック、矛盾や抜けの確認を使って、OpenClawのメモリウィキを維持するようエージェントを支援します。
obsidian
394k公式のObsidianコマンドラインを使って、Obsidianのメモ、タスク、リンク、プロパティを読み、検索し、作成し、編集するようエージェントを支援します。