docs-page
できること
1つのHTMLファイルで、完全なドキュメントページを作成します。コンテンツを3つのカラムに整理します。左側はナビゲーションメニュー、中央は本文、右側は目次です。
使う場面
- ✓ガイドやチュートリアルのページが必要なとき。
- ✓APIリファレンスを作成するとき。
- ✓詳細な技術ドキュメントを作りたいとき。
スキルのリンク
https://github.com/nexu-io/open-design/blob/main/design-templates/docs-page/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ユーザーログイン機能について、コード例と注意書きを含むドキュメントページを作ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
ツールはデザインの指示を読み込み、関連するトピックを選び、CSS Gridを使ってコンテンツを3つのカラムに配置します。文章が読みやすく、コードが正しく整形されるように配慮します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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.
よくある質問
「トークン」とは何ですか?
トークンは、ツールが文章やコードを整形するために使う、あらかじめ定義された部品のようなものです。見た目の統一を保つ役割があります。
「dir="rtl"」のもとでレイアウトが正しく反転するとはどういう意味ですか?
アラビア語のように右から左へ読む言語に対応するため、ページが自動的にカラムの順序を反転させることを意味します。
生成されたページにはJavaScriptが必要ですか?
いいえ、必要ありません。コードのコピーボタンは見た目だけのもので、ページの基本構造はHTMLとCSSで作られています。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 101k
- ランキング
- #873
- ライセンス
- Apache-2.0
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
sample-plugin
101kエージェントがテスト用のメタデータファイルを作成できるようにします。さまざまな状況でコードが正しく動作することを確認する助けになります。
aster-atelier
101kエージェントが、クラシックな雰囲気のアート系ウェブサイトを作成できるようにします。映画のような雰囲気を出すために、洗練された画像、青い空、セリフ体のフォントを使用します。
audio-jingle
101kエージェントがジングルや効果音などのオーディオを生成できるようにします。音楽や音声を作成し、その結果をオーディオファイルとして保存できます。
blog-post
101kエージェントが長文の記事やブログ記事を書けるようにします。画像、引用、著者情報を入れるスペースも含まれています。
似ているスキル
technical-documentation
394k明確な技術ドキュメントやエージェントの指示ファイルを書いて確認し、人やAIツールが簡単に従えるようエージェントを支援します。
architecture-decision-records
280kエージェントがプロジェクト構成に関する重要な決定を記録できるようにします。選択の理由を把握しやすくし、変更履歴を明確に残すのに役立ちます。
code-tour
280kエージェントが正確なファイル名と行番号を示しながら、コードを段階的に解説できるようにします。紹介、説明、レビューに役立ちます。