Docs

From ariadoss/superskills · View interactive version

Docs is an AI agent skill from the GitHub repository ariadoss/superskills. When the user wants to create, optimize, or structure a documentation site. Also use when the user mentions "docs", "documentation site", "docs subdomain" or "docs.yourdomain.com". For API marketing landing, use api-page-generator.

How to use this skill

Skill file

Pages: Documentation Site

Guides documentation site structure, navigation, and content organization. Typically hosted on docs.* or help.* subdomain. Includes Getting Started, guides, tutorials, API Reference (endpoint docs), and troubleshooting. Distinct from API introduction page (api-page-generator).

When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.

Initial Assessment

Check for project context first: If .claude/project-context.md or .cursor/project-context.md exists, read it for product, audience, and use cases.

Identify:

  1. Product type: Software, API, hardware, service
  2. Audience: End users, developers, admins
  3. Content sources: Markdown, MDX, Git, CMS
  4. Subdomain: docs., help., or path (/docs)

Documentation Structure

| Section | Purpose | Typical Content |

|---------|---------|-----------------|

| Getting Started | Onboarding, first steps | Quick start, installation, first task |

| Guides / Tutorials | Step-by-step learning | How-to articles, workflows |

| Concepts | Background, architecture | Key concepts, glossary links |

| API Reference | Endpoint docs | Auth, request/response, examples; part of docs, not separate page |

| Troubleshooting | Problem solving | FAQ, common errors, support links |

Best Practices

Information Architecture

API Reference (within Docs)

API Reference is a section of docs, not a standalone page. Include: endpoints by resource, auth, request/response schemas, error codes, rate limits, code examples (cURL, SDKs). Use OpenAPI/Swagger for consistency.

Content

SEO and Discovery

Output Format

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.