插件低风险未认领
markdown-html-skills
Convert long markdown files into world-class, single-file, lightly-interactive HTML. v2.10.3 completes the markdown-html/ domain — adds md-slides (slide-deck converter: arrow-key / Space / PgDn / Home/End / P keyboard navigation + presenter mode with split-view clock + notes + next-slide preview + URL-hash deep linking + @media print page-per-slide for PDF export) on top of md-review v2.10.2 (code-review: 2-col diff + severity-tagged margin annotations + WCAG-1.4.1 badges + mandatory named reviewer footer), md-document v2.10.1 (long-form: sticky TOC + scrollspy + search + code-copy + Prism.js autoloader), and the v2.10.0 foundation: markdown-html-orchestrator (context: fork; deterministic doc-type classifier; refuses < 100 lines per Shihipar; refuses without onboarding) + design-system (10-question onboarding wizard; WCAG-AA-validated 12-token palette; project > global > defaults precedence; MARKDOWN_HTML_NO_CONFIG=1 bypass). 15 stdlib-only Python tools (3 per skill across 5 skills), 15 references citing 5-7
alirezarezvanialirezarezvani/markdown-html-skills
说明
markdown-html — Markdown to interactive HTML converter
"I generated a 200-line implementation plan in Claude Code last month. Markdown. … I skimmed the first 20 lines, scrolled past the diagram I could not actually parse, and closed the file. I never read the rest." — Thariq Shihipar, Claude Code HTML output (Medium, 2026)
Convert long markdown files in a Claude project into single-file, lightly-interactive HTML that respects your brand. One-time design-system onboarding captures brand primary + accent + typography + layout style + default save location. Every conversion reads that config and renders consistently.
Status — v2.10.3 (domain complete)
| Skill | Purpose | Status |
|---|---|---|
markdown-html-orchestrator |
Routes long markdown → converter sub-skill (context: fork) |
✓ live |
design-system |
Onboarding wizard + WCAG-AA-validated brand palette + shared config | ✓ live |
md-document |
Long-form: sticky TOC + collapsibles + search + code-copy + scrollspy | ✓ live |
md-review |
Code review: 2-col diff + severity-tagged margin annotations + jump-nav | ✓ live |
md-slides |
Slide deck: arrow-key nav + presenter mode + print-to-PDF | ✓ live |
Quick start
# 1. One-time onboarding (10 questions, ~60 seconds)
python3 markdown-html/skills/design-system/scripts/onboard.py
# 2. (or zero-touch defaults for first-test)
python3 markdown-html/skills/design-system/scripts/onboard.py --defaults
# 3. Inspect the saved config
python3 markdown-html/skills/design-system/scripts/config_loader.py --status
# 4. Classify a markdown file and see the routing decision
python3 markdown-html/skills/markdown-html-orchestrator/scripts/doctype_classifier.py \
--input ./my-report.md --output json \
| python3 markdown-html/skills/markdown-html-orchestrator/scripts/route_explainer.py
# 5. Resolve where it would save
python3 markdown-html/skills/markdown-html-orchestrator/scripts/output_path_resolver.py \
--input ./my-report.md --doctype document
Slash commands
/cs-markdown-html <path>.md— top-level router (classify + route + recommend)/cs-grill-markdown-html <path>.md— Matt-style 5-question grill before conversion/cs-design-system— surface the onboarding wizard/cs-md-document <path>.md— long-form converter/cs-md-review <path>.md— code-review converter/cs-md-slides <path>.md— slide-deck converter
Hard rules
- Refuses input < 100 lines — markdown still wins below the threshold (Shihipar). Keep short docs as markdown.
- Refuses without onboarding — without a captured brand, output renders with placeholder defaults. Run onboarding once.
- Refuses unwritable save location — onboarding asks where to save; the orchestrator honors it; collisions get suffixed (
-2,-3, …). - Single-file HTML only — all CSS + JS inline. The only external CDN entries are Google Fonts + Prism.js. No build step, no bundler, no JS framework.
- Never silently chain — "convert this AND make slides AND a code review" is three operations, asked explicitly.
- WCAG AA enforced — body-text contrast must reach 4.5:1. Onboarding refuses any combination that fails.
Distinct from
- Anthropic Playground plugin (
/playground) — builds interactive prompt-tuning controls (sliders, knobs, prompt-copy-back). Different tool entirely. marketing/landing/— generates landing pages from scratch. Doesn't take markdown input.engineering/handoff/+productivity/handoff/— session continuity briefs. Different artifact type.
File layout
markdown-html/
├── .claude-plugin/
│ └── plugin.json
├── agents/
│ └── cs-markdown-html-orchestrator.md
├── commands/
│ ├── cs-markdown-html.md # router
│ ├── cs-design-system.md # onboarding surface
│ ├── cs-grill-markdown-html.md # 5-question grill
│ ├── cs-md-document.md # long-form converter
│ ├── cs-md-review.md # code-review converter
│ └── cs-md-slides.md # slide-deck converter
└── skills/
├── markdown-html-orchestrator/ # context: fork
│ ├── SKILL.md
│ ├── scripts/
│ │ ├── doctype_classifier.py
│ │ ├── route_explainer.py
│ │ └── output_path_resolver.py
│ └── references/
│ ├── information_density_canon.md
│ ├── orchestrator_routing_patterns.md
│ └── single_file_html_discipline.md
├── design-system/
│ ├── SKILL.md
│ ├── scripts/
│ │ ├── onboard.py
│ │ ├── config_loader.py
│ │ └── brand_palette_validator.py
│ ├── references/
│ │ ├── design_token_canon.md
│ │ ├── wcag_accessibility.md
│ │ └── typography_pairing.md
│ └── assets/
│ └── design_system_schema.json
├── md-document/ # long-form: markdown_parser → html_renderer → interactivity_injector
├── md-review/ # code review: diff_parser → annotation_extractor → review_html_renderer
└── md-slides/ # slide deck: slide_splitter → presenter_notes_parser → deck_html_renderer
License
MIT. See repo LICENSE.
Spec
Thariq Shihipar — Claude Code HTML output: Why Markdown Lost and How to Switch (Medium, 2026). The plugin operationalizes the article's central claim — markdown collapses past ~100 lines for agent-generated artifacts; HTML restores density, clarity, shareability, and lightweight interaction.
宿主
成员5 个技能 · 1 个助手
design-systemUse when setting up brand settings before the first markdown-to-HTML conversion, or changing them. Runs a 10-question onboarding with onboard.py (colors, fonts, style, TOC) and refuses palettes that fail WCAG AA via brand_palette_validator.py.
markdown-html-orchestratorUse 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.
md-documentUse when converting long-form markdown (spec, RFC, report, plan) into a single-file HTML page with sticky TOC, search and code-copy. Parses with markdown_parser.py and renders with html_renderer.py using the design-system brand.
md-reviewUse when converting a markdown code review with diff blocks and severity callouts into a two-column HTML review. Parses diffs with diff_parser.py and annotations with annotation_extractor.py; requires a named reviewer.
md-slidesTurn a markdown file into a single-file HTML slide deck with keyboard navigation, presenter notes and print-to-PDF. Use whenever the user wants slides or a presentation from markdown or notes.
cs-markdown-html-orchestrator助手Density-first markdown-to-HTML converter. Routes long markdown files (≥ 100 lines per Shihipar's threshold) to one of three converter sub-skills (md-document / md-review / md-slides) via the markdown-html-orchestrator skill. Refuses below threshold or when the design-system isn't onboarded. Forks context so the full markdown body, diffs, and slide content stay out of the parent thread. Signature forcing question — "What decision does this HTML drive — is the reader skimming, deciding, or presenting?"
权限
- 完整安装
- 2.14.6
pythonalirezarezvani.comcdn.jsdelivr.netfonts.googleapis.comgithub.comstripe.com~/.config~/Documents检查
低风险 · 没有发现需要提醒的地方。
未经人工审核 · 已做规则检查;模型审核尚未开启。
文件50 个文件 · 334.8 KB
- CLAUDE.md6.4 KB
- README.md5.7 KB
.claude-plugin/2
- authoring-notes.json1.0 KB
- plugin.json1.8 KB
agents/1
- cs-markdown-html-orchestrator.md6.2 KB
commands/6
- cs-design-system.md2.9 KB
- cs-grill-markdown-html.md3.6 KB
- cs-markdown-html.md3.2 KB
- cs-md-document.md3.3 KB
- cs-md-review.md3.9 KB
- cs-md-slides.md4.1 KB
skills/design-system/1
- SKILL.md10.7 KB
skills/design-system/assets/1
- design_system_schema.json4.6 KB
skills/design-system/references/3
- design_token_canon.md4.2 KB
- typography_pairing.md5.2 KB
- wcag_accessibility.md4.3 KB
skills/design-system/scripts/3
- brand_palette_validator.py12.0 KB
- config_loader.py4.7 KB
- onboard.py9.8 KB
skills/markdown-html-orchestrator/1
- SKILL.md10.5 KB
skills/markdown-html-orchestrator/references/3
- information_density_canon.md4.0 KB
- orchestrator_routing_patterns.md4.0 KB
- single_file_html_discipline.md5.2 KB
skills/markdown-html-orchestrator/scripts/3
- doctype_classifier.py9.3 KB
- output_path_resolver.py6.3 KB
- route_explainer.py6.1 KB
skills/md-document/1
- SKILL.md6.1 KB
skills/md-document/assets/1
- md_document_template.html4.2 KB
skills/md-document/references/3
- information_density_patterns.md4.9 KB
- single_file_html_discipline.md5.0 KB
- toc_and_nav_ux.md4.4 KB
skills/md-document/scripts/3
- html_renderer.py20.8 KB
- interactivity_injector.py10.1 KB
- markdown_parser.py11.9 KB
skills/md-review/1
- SKILL.md5.9 KB
skills/md-review/assets/1
- md_review_template.html4.5 KB
skills/md-review/references/3
- diff_rendering_canon.md5.0 KB
- pr_annotation_ux.md5.4 KB
- severity_coding.md4.9 KB
skills/md-review/scripts/3
- annotation_extractor.py7.6 KB
- diff_parser.py9.9 KB
- review_html_renderer.py21.7 KB
skills/md-slides/1
- SKILL.md5.8 KB
skills/md-slides/assets/1
- md_slides_template.html4.8 KB
skills/md-slides/references/3
- keyboard_nav_patterns.md4.6 KB
- presentation_ux.md5.1 KB
- single_file_deck_conventions.md5.1 KB
skills/md-slides/scripts/3
- deck_html_renderer.py20.4 KB
- presenter_notes_parser.py3.9 KB
- slide_splitter.py9.9 KB
版本
- #12.14.6最新2026年11月17日