Docs page

From wolfenazz/YzPzCode · View interactive version

Docs page is an AI agent skill from the GitHub repository wolfenazz/YzPzCode. 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".

How to use this skill

Skill file

Docs Page Skill

Produce a single, three-column documentation page in one HTML file.

Workflow

  1. 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.

  1. Pick a topic from the brief — the page should look like real docs, not

a generic wireframe. Concrete API names, command examples, plausible

parameters.

  1. Lay out three regions, expressed on the inline axis so the

layout flips correctly under dir="rtl":

page bolded with an inline-start-edge accent stripe. 3–5 groups

of 4–8 links.

H1, lede paragraph, H2 sections, code blocks, callout boxes (note /

warning), inline links, lists.

H2/H3 anchors, current section highlighted as the user scrolls.

  1. Write a single HTML document:

(visual only — no JS needed).

  1. 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.

  1. Self-check:

border. Not on body text.

out, nav becomes a top drawer).

inset-inline-end, text-align: start) on the rails and accent

stripe so the layout flips correctly under dir="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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.