docs-page
What it does
This tool creates a complete documentation page in a single HTML file. It organizes content into three columns: a navigation menu on the left, the main body of text in the center, and a table of contents on the right.
When to use it
- βWhen you need a guide or tutorial page.
- βWhen generating an API reference.
- βTo create detailed technical documentation.
Skill link
https://github.com/nexu-io/open-design/blob/main/design-templates/docs-page/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCreate a documentation page for the user login function, including code examples and warning notes.β
5 new skills a week. 1 minute to read.
How it works
The tool reads design instructions, picks a relevant topic, and arranges content into three columns using CSS Grid. It ensures text is readable and code is formatted correctly.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Docs Page Skill
Produce a single, three-column documentation page in one HTML file.
Workflow
- Read the active DESIGN.md (injected above). Use the body type token for prose; the mono token for code; respect line-height and max-width rules.
- Pick a topic from the brief β the page should look like real docs, not a generic wireframe. Concrete API names, command examples, plausible parameters.
- Lay out three regions, expressed on the inline axis so the
layout flips correctly under
dir="rtl":- Inline-start nav (240β280px, sticky): grouped link list, current
page bolded with an
inline-start-edge accent stripe. 3β5 groups of 4β8 links. - Article body (max-width ~720px, centered in the middle column): H1, lede paragraph, H2 sections, code blocks, callout boxes (note / warning), inline links, lists.
- Inline-end TOC (200β240px, sticky): "On this page" with the H2/H3 anchors, current section highlighted as the user scrolls.
- Inline-start nav (240β280px, sticky): grouped link list, current
page bolded with an
- Write a single HTML document:
<!doctype html>through</html>, all CSS inline.- CSS Grid for the three columns; sticky positioning for the rails.
- Code blocks: monospace token, soft surface fill, copy-button affordance (visual only β no JS needed).
- Anchor IDs on every H2/H3 so the TOC links work.
data-od-idon the nav, article, and TOC.
- Prose: write at least 350 words of believable docs. Include at least one shell command, one code snippet (5β15 lines), one callout, one table.
- Self-check:
- Body text wraps at the DS line-length sweet spot (60β75 chars).
- Code uses the DS mono token, not generic
monospace. - Accent is restrained β used for active nav item, links, one callout border. Not on body text.
- Page is readable at 1280w and collapses gracefully below 900w (TOC drops out, nav becomes a top drawer).
- Use logical CSS (
margin-inline-start,border-inline-start,inset-inline-end,text-align: start) on the rails and accent stripe so the layout flips correctly underdir="rtl".
Output contract
Emit between <artifact> tags:
<artifact identifier="docs-slug" type="text/html" title="Docs β Page Title">
<!doctype html>
<html>...</html>
</artifact>
One sentence before the artifact, nothing after.
FAQ
What are 'tokens'?
Tokens are like pre-defined building blocks that the tool uses to format text and code, ensuring consistency.
What does 'layout flips correctly under dir="rtl"' mean?
This means the page automatically adapts for languages read from right to left (like Arabic), by flipping the column order.
Does the generated page require JavaScript?
No, the code copy button is visual only. The main page structure is built with HTML and CSS.
Details
Original description by the author
A documentation page β inline-start nav, scrollable article body, inline-end table of contents. Use when the brief mentions "docs", "documentation", "guide", "API reference", or "tutorial".
repo: nexu-io/open-design
Popularity
- GitHub stars
- 101k
- Ranking position
- #873
- License
- Apache-2.0
- Updated
- 10/15/2026
Comments
- β¦
More skills from this repository
sample-plugin
101kMakes your agent create a metadata file for tests. It helps ensure code works correctly in different situations.
aster-atelier
101kHelps your agent create an artistic website with a classic look. It uses elegant imagery, blue skies, and serif fonts for a cinematic feel.
audio-jingle
101kMakes your agent generate audio like jingles and sound effects. It can create music and voices, saving the result as an audio file.
blog-post
101kHelps your agent write long articles or blog posts. It includes space for images, quotes, and author information.
Similar skills
technical-documentation
394kHelps your agent write and review clear technical docs and agent instruction files, so people and AI tools can follow them easily.
architecture-decision-records
280kHas your agent record important project structure decisions. It helps to understand the reasoning behind choices and maintain a clear history of changes.
code-tour
280kLets your agent create step-by-step code walkthroughs with exact file and line references. Useful for intros, explanations, and reviews.