Documents

Interactive Doc Mapper

Try it

Create JSON-driven single-page interactive HTML documentation for app workflows between packages, services, and components. Use when a user asks for clickabl...

What it does

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.

The skill document

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 --out .
    • 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 --out .
    • 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.

Related skills

Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.

by nssa.io1.0k installs47 stars

Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.

by Iván855 installs69 stars

Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.

by Iván559 installs18 stars

Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.

by johnpatternai22 installs8 stars

Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.

by fly0pants4.3k installs296 stars

More from zack-dev-cm

Browse all skills

OpenClaw CWS Publisher is a public ClawHub Chrome Web Store publisher skill. Use it when the user says "chrome web store publisher", "extension release publi...

by zack-dev-cm29 installs3 stars

SOTA Agent is a public ClawHub SOTA-campaign skill for CV and DS work. Use it when the user says "sota agent", "state of the art benchmark scouting", or want...

by zack-dev-cm28 installs2 stars

Use when studying or normalizing Chinese lesson transcript/subtitle inputs with bundled public lesson data, learner docs, local export bundles, and pilot-fir...

by zack-dev-cm22 installs1 stars

OpenClaw YouTube Publisher is a public ClawHub YouTube publishing skill. Use it when the user says "youtube creator ops", "youtube publisher", "YouTube Studi...

by zack-dev-cm25 installs2 stars

Build source-backed research claim ledgers from drafts, literature matrices, notes, citation lists, PDFs, source packets, or reviewer comments. Use when the...

by zack-dev-cm13 installs

Install, wire, audit, and harden AgentMemory for AI coding agents and project workspaces. Use when Codex needs to adopt rohitg00/agentmemory, configure Codex...

by zack-dev-cm14 installs