← 返回 Skills 市场
zack-dev-cm

Interactive Doc Mapper

作者 Zakhar Pashkin · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
28
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install interactive-doc-mapper
功能描述
Create JSON-driven single-page interactive HTML documentation for app workflows between packages, services, and components. Use when a user asks for clickabl...
使用说明 (SKILL.md)

Interactive Doc Mapper

Goal

Turn an app's package/component workflows into a portable, self-contained HTML page where every package stays visible and clicking an action highlights the handoff path, payloads, and annotations.

Use the JSON file as the source of truth. The generated HTML is a review artifact, not the place to hand-edit flows.

Quick Start

  1. Inventory the app.

    • Identify packages, components, services, queues, build systems, databases, and external adapters that matter to the requested workflows.
    • Group them by natural boundary such as frontend, backend, data, build, or external.
  2. Create or update the flow JSON.

    • Follow references/flow-schema.md.
    • Include every visible node in nodes.
    • Include each clickable action in actions.
    • Put ordered handoffs in actions[].steps with from, to, label, payload, and notes.
  3. Validate before rendering.

    • Run python3 {baseDir}/scripts/validate_flow_doc.py --input \x3Cflows.json> --out \x3Cvalidation.json>.
    • Fix unknown node references, duplicate IDs, missing action steps, or vague labels before generating the page.
  4. Generate the page.

    • Run python3 {baseDir}/scripts/generate_interactive_doc.py --input \x3Cflows.json> --out \x3Cworkflow-map.html>.
    • Use --print-summary when you want a short terminal summary for the user.
  5. Verify interactively.

    • Open the HTML page in a browser or use Playwright.
    • Click at least two action buttons.
    • Confirm the active nodes, arrow path, step list, and payload annotations change together.

Flow Authoring Rules

  • Keep action IDs stable and human-readable: invite-new-user, todesktop-build, checkout-payment, daily-sync.
  • Prefer concrete package/component names from the repo over generic names like frontend or backend unless those are actual packages.
  • Document what crosses each boundary: request body, event name, database row, artifact path, token claim, cache key, or build output.
  • Add risk only when there is a real review concern such as auth, secrets, irreversible side effects, or flaky build state.
  • Do not put credentials, raw tokens, cookies, customer data, private URLs, or secret environment values in the JSON or generated HTML.
  • If the user did not provide JSON, derive a first draft from repo inspection and clearly state the assumptions in the JSON description or action summaries.

Quality Bar

  • The output must be one HTML file that works from file:// without a build step or external CDN.
  • All nodes must stay visible even when a selected action uses only a subset.
  • The selected action must highlight both source/target nodes and ordered arrows.
  • The right-side annotation panel must explain the handoff sequence without requiring the user to read code.
  • Generated pages should be dense and work-focused, not a landing page.

Bundled Scripts

  • scripts/validate_flow_doc.py
    • Validate JSON structure, duplicate IDs, action references, and weak labels.
  • scripts/generate_interactive_doc.py
    • Validate and render a self-contained interactive HTML workflow map.

References

  • references/flow-schema.md
    • JSON fields, examples, and authoring checklist.
安全使用建议
Install/use only if you are comfortable running the bundled Python scripts locally. Keep the workflow JSON scoped to the app or subsystem you want documented, choose safe output paths, and review the generated HTML before sharing it outside your team.
能力标签
cryptocan-make-purchases
能力评估
Purpose & Capability
The stated purpose, bundled scripts, schema reference, and sample JSON all align around validating workflow JSON and rendering a self-contained interactive HTML documentation page.
Instruction Scope
The skill may inspect a repository to draft workflow documentation if the user does not provide JSON, but this is purpose-aligned and the instructions explicitly warn not to include credentials, tokens, cookies, customer data, or private URLs.
Install Mechanism
There is no install spec or external dependency installation; use requires running bundled Python scripts with user-selected input and output paths.
Credentials
The scripts read local workflow JSON and write local validation or HTML artifacts, which is proportionate to the skill's documentation-generation purpose.
Persistence & Privilege
The skill creates persistent local documentation files, but there is no evidence of background persistence, privilege escalation, credential use, network access, or autonomous activity beyond the requested task.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install interactive-doc-mapper
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /interactive-doc-mapper 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial public release.
元数据
Slug interactive-doc-mapper
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Interactive Doc Mapper 是什么?

Create JSON-driven single-page interactive HTML documentation for app workflows between packages, services, and components. Use when a user asks for clickabl... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 28 次。

如何安装 Interactive Doc Mapper?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install interactive-doc-mapper」即可一键安装,无需额外配置。

Interactive Doc Mapper 是免费的吗?

是的,Interactive Doc Mapper 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Interactive Doc Mapper 支持哪些平台?

Interactive Doc Mapper 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Interactive Doc Mapper?

由 Zakhar Pashkin(@zack-dev-cm)开发并维护,当前版本 v1.0.0。

💬 留言讨论