본문으로 건너뛰기
Skillpedia
문서화101k · #873

docs-page

하는 일

단일 HTML 파일로 완전한 문서 페이지를 만듭니다. 내용을 세 개의 열로 정리합니다. 왼쪽은 탐색 메뉴, 가운데는 주 본문, 오른쪽은 목차입니다.

사용하는 경우

  • ✓가이드나 튜토리얼 페이지가 필요할 때.
  • ✓API 참고 자료를 만들 때.
  • ✓자세한 기술 문서를 만들고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/nexu-io/open-design/blob/main/design-templates/docs-page/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“로그인 기능에 대한 문서 페이지를 만들어 주세요. 코드 예시와 주의 사항을 포함해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 디자인 지침을 읽고, 관련 주제를 고르며, CSS Grid를 사용해 내용을 세 개의 열로 배치합니다. 텍스트가 읽기 쉽고 코드 서식이 올바르도록 보장합니다.

기술 내용 (원본 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.

자주 묻는 질문

'토큰'이란 무엇인가요?

도구가 텍스트와 코드를 서식화해 일관성을 유지하는 데 사용하는 미리 정해진 구성 요소와 같습니다.

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

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬