मुख्य सामग्री पर जाएँ
Skillpedia
डॉक्यूमेंटेशन101k · #873

docs-page

यह क्या करती है

यह tool एक ही HTML फ़ाइल में पूरा documentation page बनाता है। सामग्री तीन columns में व्यवस्थित होती है: बाईं ओर navigation menu, बीच में मुख्य text, और दाईं ओर table of contents।

कब इस्तेमाल करें

  • ✓जब आपको guide या tutorial page चाहिए।
  • ✓API reference बनाते समय।
  • ✓विस्तृत technical documentation बनाने के लिए।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/nexu-io/open-design/blob/main/design-templates/docs-page/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“User login function के लिए documentation page बनाओ, जिसमें code examples और warning notes शामिल हों।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

Tool design के निर्देश पढ़ता है, एक संबंधित विषय चुनता है, और CSS Grid की मदद से सामग्री को तीन columns में लगाता है। यह पक्का करता है कि text पढ़ने में आसान हो और code सही format में दिखे।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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.

अक्सर पूछे जाने वाले सवाल

'tokens' क्या होते हैं?

Tokens पहले से तय किए गए building blocks जैसे होते हैं, जिन्हें tool text और code को format करने में इस्तेमाल करता है, ताकि हर जगह एकरूपता रहे।

'layout flips correctly under dir="rtl"' का क्या मतलब है?

इसका मतलब है कि page उन भाषाओं के लिए अपने आप adapt हो जाता है जो दाएँ से बाएँ पढ़ी जाती हैं (जैसे Arabic), और columns का क्रम पलट जाता है।

क्या बनाए गए page को JavaScript चाहिए?

नहीं, code copy बटन सिर्फ़ दिखावटी (visual) है। पेज का मुख्य ढाँचा 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
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills