docs-page

Generate a single-file HTML documentation page with a three-column layout.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/junainfinity/osmDesign --skill docs-page
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docs-page
Source: https://github.com/junainfinity/osmDesign/tree/main/skills/docs-page
Command: npx skills add https://github.com/junainfinity/osmDesign --skill docs-page

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Producing consistent, production-ready documentation pages from design notes or briefs can be slow, error-prone, and hard to maintain across teams. This skill automates the creation of a polished, three-column documentation layout that includes a left navigation rail, a scrollable article body, and a right-hand table of contents, so teams can publish clear, navigable docs with minimal manual formatting. It standardizes typography, spacing, and structural rules, enabling docs to look cohesive across APIs, guides, tutorials, and references while preserving the original content and intent. By centralizing layout decisions in a single HTML artifact, it reduces the time from brief to publishable docs and helps ensure accessibility and consistency in how information is presented. The approach also supports design-system alignment, so teams can map tokens for color, typography, and spacing without rewriting markup for each page. Whether the target is an API reference, a developer guide, or an onboarding tour, this workflow provides a repeatable template that teams can customize while retaining a familiar user experience. The result is a predictable, portable documentation surface that can be embedded in static sites, shared via offline channels, or consumed by apps without creating a separate docs engine.

Core Features & Use Cases

  • Three-column layout: left navigation rail (sticky), center article, and right TOC, created with CSS grid to ensure consistent alignment on desktop and graceful stacking on smaller screens.
  • Content modeling: supports headings (H1/H2/H3), code blocks, inline links, lists, tables, and callouts; each heading receives an anchor and the TOC mirrors the document structure.
  • Design-system compatibility: inline tokens and styles can be overridden to match brand; the content remains portable as a standalone HTML file.
  • Single-file portability: outputs a self-contained HTML document suitable for offline use, CMS embedding, or prototyping.
  • Real-world usage: ideal for API references, tutorials, guides, and knowledge bases where stable presentation accelerates onboarding.
  • Accessibility and usability: semantic HTML, proper contrast, keyboard navigation, and readable typography to support diverse users.
  • Extensibility: easy to plug in additional sections or content sources while keeping the same layout rules.

Quick Start

Generate a complete three-column documentation HTML page in one file.

Frequently Asked Questions about docs-page

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a three-column documentation page in a single HTML file?

To generate a three-column documentation page in HTML, provide a design brief or content notes to produce a self-contained file with a left navigation rail, center article, and right table of contents using semantic HTML and inline CSS.

What is the best way to create a documentation layout with a table of contents and sticky navigation?

Creating a documentation layout with a table of contents and sticky navigation is best handled by using a CSS grid template that structures a left rail, scrollable article body, and right TOC while maintaining consistent typography and spacing.

Can I customize the typography and color tokens in a generated HTML documentation page?

You can customize typography and color tokens in an HTML documentation page by overriding the inline styles to match your design system, ensuring the content remains portable as a standalone file without rewriting the semantic markup.

Does the three-column docs layout work for API references and developer tutorials?

The three-column docs layout works effectively for API references and developer tutorials by modeling headings, code blocks, lists, and tables, with each heading receiving an anchor that the right-hand TOC mirrors for accessible navigation.

How do I make a responsive documentation page that stacks columns on smaller screens?

To make a responsive documentation page that stacks columns on smaller screens, use a CSS grid layout that ensures consistent alignment on desktop and gracefully collapses the left navigation and right TOC for mobile viewing.

What are the limitations of using a single-file HTML document for web documentation?

A limitation of using a single-file HTML document for web documentation is that while it is highly portable for offline use and CMS embedding, managing large multi-page knowledge bases may require a dedicated docs engine rather than standalone files.