Langsung ke konten
Skillpedia
Dokumentasi101k Β· #873

docs-page

Fungsinya

Tool ini membuat halaman dokumentasi lengkap dalam satu file HTML. Isinya disusun dalam tiga kolom: menu navigasi di sebelah kiri, isi teks utama di tengah, dan daftar isi di sebelah kanan.

Kapan dipakai

  • βœ“Saat Anda membutuhkan halaman panduan atau tutorial.
  • βœ“Saat membuat referensi API.
  • βœ“Untuk membuat dokumentasi teknis yang detail.

Link skill

https://github.com/nexu-io/open-design/blob/main/design-templates/docs-page/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/nexu-io/open-design/blob/main/design-templates/docs-page/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBuatkan halaman dokumentasi untuk fungsi login pengguna, termasuk contoh kode dan catatan peringatan.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Tool ini membaca instruksi desain, memilih topik yang relevan, dan menyusun konten ke dalam tiga kolom menggunakan CSS Grid. Tool ini memastikan teks mudah dibaca dan kode diformat dengan benar.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

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.
  2. Pick a topic from the brief β€” the page should look like real docs, not a generic wireframe. Concrete API names, command examples, plausible parameters.
  3. 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.
  4. 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-id on the nav, article, and TOC.
  5. 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.
  6. 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 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.

Pertanyaan umum

Apa itu 'tokens'?

Tokens adalah blok bangunan yang sudah ditentukan dan digunakan tool untuk memformat teks serta kode agar konsisten.

Apa arti 'layout flips correctly under dir="rtl"'?

Artinya halaman otomatis menyesuaikan diri untuk bahasa yang dibaca dari kanan ke kiri (seperti bahasa Arab), dengan membalik urutan kolom.

Apakah halaman yang dihasilkan memerlukan JavaScript?

Tidak. Tombol salin kode hanya bersifat visual. Struktur halaman utamanya dibangun dengan HTML dan CSS.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
101k
Peringkat
#873
Lisensi
Apache-2.0
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa