Skip to content
Skills Library
Documents & office · Conversion & formats

docs-canvas

/docs-canvas

Use when asked to render documentation as an interactive, navigable HTML canvas. Not for writing or restructuring docs.

Licence
Apache-2.0
Last repository change
28.09.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 28.09.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Use when asked to render documentation as an interactive, navigable HTML canvas. Not for writing or restructuring docs.

Original author description

Use when asked to render documentation as an interactive, navigable HTML canvas. Not for writing or restructuring docs.

How it works

  1. Contract
  2. Inputs
  3. Procedure
  4. Failure and recovery
  5. Output
Original SKILL.md headings · 41 lines, 537 words
SKILL.md preview
---
name: docs-canvas
description: 'Use when asked to render documentation as an interactive, navigable HTML canvas. Not for writing or restructuring docs.'
disable-model-invocation: true
---

# Docs canvas

## Contract

| Field | Bound contract |
|---|---|
| Trigger | Render a set of documentation (file, directory, or URL) as an interactive, navigable HTML canvas artifact. |
| Authority | Reversible local: writes only the single output HTML artifact in the working directory; rollback is deleting that file. No remote mutation. Read-only access to local files or network fetch for URLs. |
| Side effect | Creates one self-contained HTML canvas artifact under the working directory. |
| Done | One self-contained, navigable HTML file at the stated path containing the structured overview, rendered sections, and a combined sources index. |

## Inputs

Required: a documentation source. A file path, a directory path, or a URL that is readable from the working directory or reachable over the network.

Optional: a preferred output filename (default `docs-canvas.html`) and a section-grouping hint.

## Procedure

1. Fetch or traverse the documentation source to extract text. For a single file, read it directly. For a directory, walk the tree and read every text-readable file (markdown, HTML, plain text), skipping binary and non-document files. For a URL, fetch the page content. Stop if the source is unreadable or unreachable. Done when: raw text is extracted from every readable source file or page.

2. Parse the extracted text into an ordered hierarchy of document titles and section headings. For each document, extract the title and every heading in source order. When two headings produce the same anchor, disambiguate by appending a numeric suffix. Done when: titles and headings are extracted in source order with unique anchors.

3. Extract source references and build a combined index. Collect every citation, link, and attribution discovered across all documents. Build an index mapping each reference to its source document and location. Done when: the combined sources index is built.

4. Render the content as a single HTML artifact with an interactive table of contents and a combined sources index. Produce one section per heading, preserving the source text without paraphrase or invented content. The table of contents links each entry to its section anchor; the combined sources index links each reference to its source document and location. Done when: every heading has a rendered section, every TOC entry links to its anchor, and the combined sources index is rendered.

5. Save to the working directory with all CSS and JavaScript inlined. The artifact must open without external dependencies. Done when: the HTML file exists at the stated path with inlined CSS and JavaScript, and every TOC link resolves to a rendered section.

## Failure and recovery

- Source unreadable or unreachable: stop, write nothing, report the missing source.
- No headings found: stop, report that the source lacks structure. Do not emit an empty canvas.
- Partial parse: emit only the successfully parsed sections and report which sections were dropped. Never fabricate missing content.
- Rollback: delete the written artifact file to revert. No state other than that single local file is mutated.

## Output

One self-contained HTML canvas artifact at the stated path containing a navigable table of contents, rendered sections with source text preserved, and a combined sources index, plus a one-line report naming the output path and the section count.
Files in this package (2)
  • SKILL.md 3 KB
  • agents/openai.yaml 1 KB

Versions

RepositoryScoreLicence
This page · OutlineDriven/outline-driven-development90Apache-2.0
gcwing/openbitfun100MIT
v1truv1us/ai-eng-system100MIT
v1truv1us/ai-eng-system100MIT

Database snapshot: 13.11.2026 · package version 9c44f5a4f9d1 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100session-canvas
    Live, skimmable HTML canvas for discussion-heavy answers. Use only when the reply is a discussion, analysis, comparison of options, research findings, a decision with rationale, or a detailed explanation, or when the user asks for the canvas or a structured visual write-up. Do…
  • 100pr-review-canvas
    Use when asked to render a PR review as a Cursor Canvas artifact or a standalone HTML page served on localhost (mode: html), with risky hunks foregrounded.
  • 100canvas
    Display HTML content — games, visualizations, dashboards, generated HTML, interactive demos — on a connected canvas-capable display surface. Use when you need to present visual or interactive web content on a screen.
  • 100uxd-canvas-export
    Export a canvas as a local HTML viewer, canvas.json, or Mermaid. Accepts a local canvas or a Miro board. Use when sharing a journey map locally, producing a static file, or preparing a canvas for publish. Does not update Miro.
  • 100canvas-api-2d-graphics
    Use this skill when rendering programmatic 2D graphics, interactive charts, particle simulations, or raster image processing with HTML5 Canvas.
  • 100pr-review-canvas
    Use when asked to render a PR review as a Cursor Canvas artifact or a standalone HTML page served on localhost (mode: html), with risky hunks foregrounded.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.