Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/skills-registry --skill documentation-site명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | documentation-site |
| description | > Use when this capability is needed. |
Fumadocs (Next.js) with static export → Cloudflare Pages.
| Layer | Tool |
|---|---|
| Framework | Fumadocs (fumadocs-core, fumadocs-mdx, fumadocs-ui) |
| Build | Next.js static export (output: 'export' in next.config.mjs) |
| Content | MDX files in docs/content/ |
| Hosting | Cloudflare Pages (relay-tty-docs project) |
| Domain | docs.relaytty.com (CNAME → relay-tty-docs.pages.dev, DNS-only) |
| CI/CD | .github/workflows/docs.yml — build + deploy on push to docs/** |
| LLM | Built-in llms.txt, llms-full.txt, .mdx endpoints, "Open in Claude" buttons |
| File | Purpose |
|---|---|
docs/source.config.ts | Content source definition (dir, schema, postprocess) |
docs/next.config.mjs | Static export, image config |
docs/lib/layout.shared.tsx | Nav title, GitHub link, branding |
docs/lib/source.ts | Source loader (baseUrl: '/') |
docs/components/mdx.tsx | MDX components (Tabs, Tab, Callout registered here) |
docs/components/provider.tsx | Theme provider (dark mode default) |
docs/app/global.css | Custom theme colors matching relay-tty brand |
docs/app/(docs)/layout.tsx | DocsLayout wrapper |
docs/app/(docs)/[[...slug]]/page.tsx | Doc page renderer with LLM buttons |
docs/app/llms.txt/route.ts | Auto-generated llms.txt |
docs/app/llms-full.txt/route.ts | Auto-generated llms-full.txt |
docs/content/**/meta.json | Navigation order per directory |
All docs are user-facing. There are no "internal only" docs. Use Diataxis to decide where content belongs:
docs/content/
index.mdx # Landing page
tutorials/ # LEARNING — step-by-step for beginners
meta.json
getting-started.mdx
mobile-access.mdx
sharing-terminal.mdx
how-to/ # TASKS — goal-oriented guides
meta.json
session-management.mdx
web-ui-views.mdx
input-tools.mdx
tunnel-access.mdx
sharing-qr.mdx
install-service.mdx
file-browser.mdx
voice-input.mdx
pwa-install.mdx
windows-wsl.mdx
testing.mdx
releasing.mdx
reference/ # INFO — factual lookup
meta.json
cli.mdx
environment.mdx
keyboard-shortcuts.mdx
configuration.mdx
protocol.mdx
explanation/ # UNDERSTANDING — architecture, design decisions
meta.json
architecture.mdx
vs-tmux-ssh.mdx
session-lifecycle.mdx
security-model.mdx
| User is trying to... | Type | Directory |
|---|---|---|
| Learn something new | Tutorial | tutorials/ |
| Accomplish a specific task | How-to | how-to/ |
| Look up specific info | Reference | reference/ |
| Understand why/how | Explanation | explanation/ |
docs/content/<section>/<slug>.mdx with frontmatter:
---
title: Page Title
description: One-line description
---
meta.json pages array/how-to/session-management (not ../how-to/session-management)getting-started not getting-started.mddocs/public/images/ and are referenced as /images/...Registered in docs/components/mdx.tsx:
<Tabs items={["Tab 1", "Tab 2"]}><Tab value="Tab 1">...</Tab></Tabs><Callout type="info" title="Title">content</Callout> (types: info, warn, error)<Cards>, <Card> — for link gridsfumadocs-ui/mdxPlaywright captures mobile/desktop screenshots, Pillow annotates with numbered callouts in side margins.
npm run docs:screenshots # capture + annotate all 10 screens
# Prereq: relay-tty server running on localhost with sessions
| File | Purpose |
|---|---|
scripts/screenshots/capture.py | Playwright: mobile (390x844@3x) and desktop (1280x800@2x) capture |
scripts/screenshots/annotate.py | Pillow: numbered circles in margins with leader lines to features |
scripts/screenshots/manifest.json | Screen definitions: URLs, selectors, setup actions, annotations |
scripts/screenshots/run.sh | Orchestrator |
docs/public/images/mobile/ | Output PNGs (committed to git) |
Annotation positions are defined in manifest.json as (x, y) target coordinates. Circles are placed in side margins (left for left-side features, right for right-side). Amber dots mark exact target points.
npm run docs:dev # Preview at localhost:3000
npm run docs:build # Static output to docs/out/
Push to main triggers .github/workflows/docs.yml → Cloudflare Pages.
When adding or changing user-facing features, update the corresponding doc page. If no page exists, create one in the appropriate Diataxis section.
Source: ddrscott/relay-tty — distributed by TomeVault.