leoncheng57

Docs Preview — Documentation skill for Claude Code

Documentation community

Choose the right documentation medium, render it, and preview it.

How to install Docs Preview

Installs to ~/.claude/skills/leoncheng57-agent-skills-docs-preview/SKILL.md

Terminal
mkdir -p ~/.claude/skills/leoncheng57-agent-skills-docs-preview && curl -fsSL https://raw.githubusercontent.com/leoncheng57/agent-skills/HEAD/commands/docs-preview.md -o ~/.claude/skills/leoncheng57-agent-skills-docs-preview/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Docs Preview does


description: Choose the right documentation medium, render it, and preview it agent: build

Document or render `$ARGUMENTS`.

Choose the medium from where the reader opens it:

  • terminal, PR diff, commit message, AGENTS.md, code comment -> ASCII
  • GitHub/GitLab README or wiki -> Mermaid
  • slide, issue attachment, external document -> rendered SVG
  • Backstage TechDocs -> Mermaid only after proving the plugin renders it; otherwise ASCII or a checked-in SVG

Then:

  1. Read one existing d

Alternatives in Documentation

  • Doc Co-authoring — Guide users through structured workflow for co-authoring documentation 94.1k ★
  • OpenAI Docs — Provide authoritative guidance from OpenAI developer documentation 14.6k ★
  • Skills Quick Reference Guide — A guide for choosing the right skill for your task 6.8k ★

Full documentation available on GitHub

View Source Repository