Awesome Docs 标志

Awesome Docs

社区
nitinjain999
awesome-docs

Generate, convert, and maintain animated GitHub-safe Markdown documents with animated SVG diagrams. Covers four SVG patterns (architecture flow, lifecycle loop, field carousel, timeline phases), guided interview for any doc type (README, architecture guide, runbook, API reference, tutorial, RFC, post-mortem, how-it-works, or custom), converting existing plain Markdown, diffing for stale diagrams, quality auditing, local preview, and multi-platform export. Use when asked to "create a README for X", "write an architecture doc", "animate this guide", "convert my doc to animated", "check if my diagrams are stale", or "export my doc for Confluence".

概览

发布者nitinjain999
代码仓库platform-skills
技能名称awesome-docs
星标数
71
复刻数
14
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 nitinjain999 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Awesome Docs AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/nitinjain999/platform-skills/tree/main/plugins/platform-skills/skills/awesome-docs
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nitinjain999/platform-skills.git /tmp/platform-skills
mkdir -p .claude/skills
cp -r /tmp/platform-skills/plugins/platform-skills/skills/awesome-docs .claude/skills/awesome-docs
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Awesome Docs,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Awesome Docs。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Awesome Docs 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Generate, convert, and maintain animated Markdown documents with GitHub-safe SVG animations.


Mode: generate

Create a new animated Markdown document from scratch. Adapts structure and SVGs to the document type — not limited to demo docs.

Steps:

  1. Ask one at a time:
    • Document type — what kind of document? Choose from: readme, architecture-guide, runbook, tutorial, api-reference, how-it-works, rfc, post-mortem, or custom (user defines sections)
    • Topic / subject — what is the document about? (e.g. "KEDA autoscaling", "orders-service API", "Kubernetes upgrade runbook")
    • Output path — where should the file be written? (e.g. README.md, docs/architecture.md, runbooks/keda.md)
    • Key components — the main moving parts, concepts, or resources covered (3–6 items)
  2. Show the user an outline of the proposed document structure and which SVG patterns will apply:
    • List the sections from the doc-type section map (see below) in order
    • Next to each section that will get an SVG, note the pattern name: e.g. Architecture → arch-flow
    • Ask: "Does this structure look right? Confirm to continue or describe what to change."
    • Only proceed after explicit confirmation; adjust sections or pattern choices on request
  3. Classify which SVG patterns are relevant to this doc type and topic:
    • arch-flow — any doc that describes a system with multiple components or a data flow
    • lifecycle-loop — docs covering a repeating control loop, approval cycle, or state machine
    • sequence-diagram — docs covering request/response chains, API call sequences, or auth flows
    • state-machine — docs covering distinct states and transitions (deployment lifecycle, approval workflow, error/retry paths)
    • field-carousel — docs covering a configurable resource (YAML, HCL, JSON, or TOML); ask the user to paste their config at this point and identify the format before generating
    • timeline-phases — docs covering distinct phases, stages, or a lifecycle with durations
    • For rfc, post-mortem, runbook: SVGs are optional — ask "Would diagrams help here?" before generating
  4. For each applicable SVG pattern (incremental):
    • Generate the SVG using the blueprint in references/awesome-docs.md
    • Write to assets/<topic-slug>-<pattern>.svg
    • Show to the user and ask: "Does this look right? Confirm to continue or describe what to adjust."
    • Only proceed to the next SVG after explicit confirmation
  5. Build the document structure from the doc type section map below
  6. Write the file to the output path with all confirmed SVGs embedded using <img> tags, each followed by a > blockquote caption
  7. Commit: git add <output-path> assets/ && git commit -m "docs(<scope>): add <doc-type> for <topic>"

Doc type section map — use these as the default structure, adapt to user needs:

Doc typeDefault sections
readmeHeader (title + badges), Overview, Architecture diagram (arch-flow), How it works, Getting started, Configuration (field-carousel if applicable), Examples, Troubleshooting
architecture-guideOverview, System diagram (arch-flow), Component responsibilities, Data flow, Scaling/state behavior (lifecycle-loop or state-machine), Configuration reference (field-carousel), Deployment phases (timeline-phases), Decisions & trade-offs
runbookPrerequisites, Health check commands, Architecture diagram, State/failure paths (state-machine if applicable), Step-by-step procedure, Validation, Rollback
tutorialIntroduction, Prerequisites, Architecture overview (arch-flow), Request flow (sequence-diagram if API-heavy), Step-by-step walkthrough, What you built, Next steps
api-referenceOverview, Authentication, Request flow (sequence-diagram), Endpoints, Request/response fields (field-carousel), Error codes, Examples
how-it-worksOverview, Architecture diagram (arch-flow), Lifecycle/control loop (lifecycle-loop or state-machine), Request flow (sequence-diagram if applicable), Configuration fields (field-carousel), Load phases (timeline-phases if applicable)
rfcContext and problem, Proposal, Architecture diagram, Alternatives considered, Decision criteria, Open questions
post-mortemIncident summary, Timeline, Root cause analysis, Impact (state-machine of failure path if helpful), Action items, Lessons learned
customAsk the user to list the sections they want, then generate them in order

Theme parameter: append --theme github-dark (default), --theme docs-light, or --theme custom:#bg,#primary,#accent to override colors. See references/awesome-docs.md → Theme System.

If you need deeper context on SVG patterns, theme configuration, or the quality checklist, load references/awesome-docs.md.


Mode: convert

Animate an existing plain Markdown document by injecting SVGs in-place.

Steps:

  1. Ask: path to the existing Markdown file, or a directory path for batch mode (e.g. docs/keda-guide.md or docs/)
    • If a directory is given, discover all .md files recursively (find <dir> -name "*.md") and process each in turn; report a summary table when all files are done
  2. For each file: read it, extract all ## headings, and classify the doc type:
    • readme → arch-flow + field-carousel (if config block present)
    • architecture-guide → arch-flow + lifecycle-loop or state-machine
    • runbook → arch-flow + state-machine (failure/recovery paths)
    • tutorial → arch-flow + sequence-diagram (if API calls shown) + field-carousel (if config present)
    • api-reference → sequence-diagram + field-carousel
    • how-it-works → arch-flow + lifecycle-loop + field-carousel
    • rfc → arch-flow (optional — ask user)
    • post-mortem → state-machine (failure path, optional — ask user)
    • unknown → ask: "What type of doc is this?" and map to the closest type above
  3. Map each major section to the most appropriate SVG pattern based on the classified type
  4. For each SVG to inject (incremental — skip in batch mode, process all automatically):
    • Check if assets/<filename>.svg already exists → if yes, ask: "An SVG with this name exists. Skip / Replace / Update?"
    • Generate SVG per blueprint in references/awesome-docs.md
    • Show to user — confirm before inserting (skip confirmation in batch mode)
    • Insert <img src="assets/<filename>.svg" /> + > blockquote caption immediately after the matching section heading
  5. Commit: git add <doc-path> assets/ && git commit -m "feat(awesome-docs): animate <doc-filename>"
    • In batch mode: single commit after all files: git commit -m "feat(awesome-docs): animate docs in <dir>"

Mode: update

Revise a single diagram in an existing animated doc.

Steps:

  1. Ask: doc path and which diagram to update (SVG filename or section name, e.g. assets/keda-arch-flow.svg or "Architecture section")
  2. Read the existing SVG to understand current layout
  3. Ask what needs to change: new component, corrected flow, different theme, timing adjustment
  4. Regenerate the SVG using the same blueprint, incorporating the changes
  5. Show the new SVG — confirm before writing
  6. Overwrite assets/<filename>.svg
  7. Commit: git add assets/<filename>.svg && git commit -m "fix(awesome-docs): update <diagram-name> — <what changed>"

Mode: diff

Detect stale diagrams by comparing the current doc against a base ref.

Syntax: /platform-skills:awesome-docs diff [--base <branch|tag|SHA>] <doc-path>

If --base is omitted, defaults to HEAD.

Steps:

  1. Ask: path to the doc (e.g. docs/architecture.md, README.md); optionally accept --base <ref> inline
  2. Determine the base ref:
    • --base provided → use that ref directly
    • Not provided → use HEAD
  3. Run: git diff <base-ref> -- <doc-path> to see what changed since the base ref
  4. Scan for staleness signals:
    • Field count in YAML/config changed → field-carousel may be out of date
    • New component mentioned in prose but not in arch-flow SVG
    • Broken <img> reference (file in doc but not in assets/)
    • Section added/removed that would change which SVG patterns apply
    • New states or transitions described but not reflected in state-machine SVG
    • New actors or message steps described but not reflected in sequence-diagram SVG
  5. Report a punch list: [ ] <issue> — <file or section> — do not auto-fix
  6. Include the base ref used: (diffed against <ref>) at the top of the report
  7. Suggest: "Run /platform-skills:awesome-docs update for each flagged diagram."

Mode: audit

Quality-check an existing animated doc without making changes.

Steps:

  1. Ask: path to the doc
  2. Check each applicable item in the Quality Checklist from references/awesome-docs.md:
    • Every SVG <img> tag has a > blockquote caption immediately after it
    • No environment-specific IDs, account numbers, or hostnames in the doc or SVG files
    • No SVG references a file outside assets/ (no external href, no xlink:href)
    • All SVG files under 50KB (larger files may not render inline on GitHub)
  3. Report findings as a numbered list: [PASS] or [FAIL] — <what to fix>
  4. Print total: X passed, Y failed

Mode: preview

Open the doc locally in a browser before committing.

Steps:

  1. Ask: path to the doc
  2. Start a minimal local HTTP server:
    bash
    python3 -m http.server 8080 --directory .
  3. Tell the user the preview URL and how to open it:
    • macOS: open http://localhost:8080/<doc-path>
    • Linux: xdg-open http://localhost:8080/<doc-path>
    • Windows: start http://localhost:8080/<doc-path>
    • Or paste http://localhost:8080/<doc-path> directly into your browser
  4. Tell the user: "Preview running at http://localhost:8080/. Press Ctrl+C to stop the server."

Mode: export

Generate multi-format output from an existing animated doc.

Steps:

  1. Ask: path to the doc and target format: html (Confluence/Notion) or png (email/PDF)
  2. For html:
    • Read the doc
    • Replace all <img src="assets/..."> references with inline SVG content (read each SVG file and embed it directly)
    • Wrap in a minimal <!DOCTYPE html> page with <meta charset="utf-8"> and no external dependencies
    • Write to <doc-basename>-embed.html
    • Tell user: "Paste the contents of <file> into a Confluence HTML macro or Notion embed block."
  3. For png:
    • Do not run the export — document the manual step instead:
      bash
      # Requires svgexport (npm install -g svgexport)
      for f in assets/*.svg; do svgexport "$f" "${f%.svg}.png" 2x; done
    • Explain: "PNG export requires svgexport or Puppeteer. Install with npm install -g svgexport then run the command above."

常见问题

Awesome Docs AI 技能有什么作用?

Generate, convert, and maintain animated GitHub-safe Markdown documents with animated SVG diagrams. Covers four SVG patterns (architecture flow, lifecycle loop, field carousel, timeline phases), guided interview for any doc type (README, architecture guide, runbook, API reference, tutorial, RFC, post-mortem, how-it-works, or custom), converting existing plain Markdown, diffing for stale diagrams, quality auditing, local preview, and multi-platform export. Use when asked to "create a README for X", "write an architecture doc", "animate this guide", "convert my doc to animated", "check if my...

为什么在 TypingMind 中使用 Awesome Docs?

因为您只需安装一次,就能搭配任何模型使用。Awesome Docs 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Awesome Docs?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/nitinjain999/platform-skills/tree/main/plugins/platform-skills/skills/awesome-docs。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Awesome Docs?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Awesome Docs 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Awesome Docs 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Awesome Docs AI 技能免费吗?

是的。nitinjain999 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇