All skills
cursor avatar

/docs-canvas

@3b1d027
by cursorcursor/plugins9.1k stars
857

Render a documentation-style Cursor Canvas that organizes architecture notes, API references, walkthroughs, and how-tos into a navigable layout with sections, tables of contents, and cross-references. Use when the user asks for a docs canvas, documentation overview, architecture walkthrough, API reference page, or wants to render structured documentation as an interactive canvas.

Use this Skill: https://skilld.dev/gh/cursor/plugins/docs-canvas

This session only. Nothing lands on disk.

SKILL.md

β‰ˆ99 tokens always: the name and description. β‰ˆ672 when used: this file.

Docs Canvas

Build a canvas that presents documentation β€” architecture notes, API references, design docs, runbooks, or codebase walkthroughs β€” as an interactive, navigable surface rather than as a flat markdown file.

Status: placeholder. The skill structure is in place so the canvas welcome page can surface this plugin via the marketplace query, but the full skill body still needs to be written. Treat the steps below as a starting outline and refine as the docs canvas pattern matures.

Prerequisites

Read ~/.cursor/skills-cursor/canvas/SKILL.md first. It contains the generation policy, design guidance, slop rules, self-check, and file-path conventions you must follow. The full component and hook surface is declared in ~/.cursor/skills-cursor/canvas/sdk/index.d.ts and its sibling .d.ts files β€” read them to discover exact exports and prop shapes rather than guessing.

Gather the source material

Accept any of: a directory of markdown files, a single doc URL, an inline outline, or a question to answer from the codebase. Collect headings, code blocks, diagrams, and any cross-references between documents.

Plan the canvas layout

Decide the top-level structure before writing any components. A docs canvas usually has:

  1. Overview β€” A short summary card with the purpose of the doc, scope, and audience.
  2. Table of contents β€” Navigable list of sections, ideally pinned or sticky so the reader can jump around.
  3. Body sections β€” One section per logical unit (architecture, API, examples, gotchas). Each section can mix prose, code blocks, diagrams, and callouts.
  4. References β€” Links to related docs, source files, RFCs, and external material.

Render with canvas primitives

Prefer built-in canvas components over raw HTML:

  • Use cards/sections to group related content visually.
  • Use code blocks with syntax highlighting for snippets.
  • Use diagrams (DAG layout, mermaid) for architecture.
  • Use callouts for "Important", "Warning", "Note", "Deprecated".
  • Use tables for API parameter lists and option matrices.

Tone and content

Write reader-facing prose. Lead with the answer or the headline, then explain. Keep examples small and runnable. Cite source files with code references so readers can jump in.

Be creative

The sections above are a floor, not a ceiling. The goal is the fastest possible path for the reader to understand the topic β€” so look at the source material in front of you and ask what representation would actually help. A diagram, a sequence chart, a side-by-side comparison, a decision tree, a glossary, a curated FAQ, a single large worked example β€” whatever fits.

Source: SKILL.md on GitHub

1 warning16d3 checks Β· Risk SAFE
  • Gen Agent Trust Hub16d

    The skill is safe. It is a configuration placeholder file for a 'docs-canvas' plugin designed to structure and render interactive documentation layouts within the Cursor environment. No operational security risks were identified.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: MEDIUM Β· 1 issue

Signed by skilld at 3b1d027. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 6 months ago

README badge

README badge for cursor/plugins/docs-canvas