Skills for Real Engineers. Straight from my .agents directory.
baoyu-markdown-to-html
Agent skill fromJimLiu/baoyu-skills
Converts Markdown to styled HTML with WeChat-compatible themes. Supports code highlighting, math, Mermaid (rendered to PNG via headless Chrome), PlantUML, footnotes, alerts, infographics, and optional bottom citations for external links. Use when user asks for "markdown to html", "convert md to html", "md 转 html", "微信外链转底部引用", or needs styled HTML output from markdown.
How to install baoyu-markdown-to-html
npx skills add JimLiu/baoyu-skills# or add only this skill to Claude Code: copy the folder
skills/baoyu-markdown-to-html/
# into
~/.claude/skills/baoyu-markdown-to-html/ (all projects)
.claude/skills/baoyu-markdown-to-html/ (one project)
1# Markdown to HTML Converter23Output is HTML with inline CSS, optimized for WeChat Official Account.45## User Input Tools67When this skill prompts the user, follow this tool-selection rule (priority order):891. **Prefer built-in user-input tools** exposed by the current agent runtime — e.g., `AskUserQuestion`, `request_user_input`, `clarify`, `ask_user`, or any equivalent.102. **Fallback**: if no such tool exists, emit a numbered plain-text message and ask the user to reply with the chosen number/answer for each question.113. **Batching**: if the tool supports multiple questions per call, combine all applicable questions into a single call; if only single-question, ask them one at a time in priority order.1213Concrete `AskUserQuestion` references below are examples — substitute the local equivalent in other runtimes.1415## Script Directory1617`{baseDir}` = this SKILL.md's directory. Resolve `${BUN_X}`: `bun` if installed → else `npx -y bun` → else suggest installing bun.1819| Script | Purpose |20|--------|---------|21| `scripts/main.ts` | Main entry point |2223## Preferences (EXTEND.md)2425First found wins:2627| Priority | Path | Scope |28|----------|------|-------|29| 1 | `.baoyu-skills/baoyu-markdown-to-html/EXTEND.md` | Project |30| 2 | `${XDG_CONFIG_HOME:-$HOME/.config}/baoyu-skills/baoyu-markdown-to-html/EXTEND.md` | XDG |31| 3 | `$HOME/.baoyu-skills/baoyu-markdown-to-html/EXTEND.md` | User home |3233None found → use defaults.34…
Excerpt shown under the repository's MIT license.
More skills in baoyu-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
