docsector-documentation-authoring
Assists in writing and structuring documentation for Docsector-based sites, ensuring content is accessible and agent-friendly.
Install
mkdir -p .claude/skills/docsector-documentation-authoring && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16623" && unzip -o skill.zip -d .claude/skills/docsector-documentation-authoring && rm skill.zipInstalls to .claude/skills/docsector-documentation-authoring
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Author Docsector documentation with Markdown, d-block custom elements, page structures, blocks, MCP, WebMCP, and agent-readable docs. Use when writing or editing Docsector pages, choosing content blocks, creating examples, documenting APIs, or helping an AI understand Docsector authoring syntax.Key capabilities
- →Choose the right Docsector block for content needs
- →Write Markdown pages with Docsector custom elements
- →Create overview, showcase, guide, or API reference content
- →Find live Docsector docs through MCP or WebMCP
- →Format links, assets, examples, and API JSON using Docsector conventions
How it works
This skill guides the authoring of Docsector documentation by providing rules for choosing content blocks, using custom elements, and formatting assets according to Docsector conventions.
Inputs & outputs
When to use docsector-documentation-authoring
- →Author a new documentation page
- →Select the appropriate Docsector block for content
- →Format an API reference guide
- →Review documentation for Docsector standards
About this skill
Docsector Documentation Authoring
When to Use
Use this skill when creating, reviewing, or editing documentation for a site built with Docsector Reader.
Use it for:
- Choosing the right Docsector block for a content need.
- Writing Markdown pages with Docsector custom elements.
- Creating overview, showcase, guide, API reference, changelog, or landing content.
- Finding live Docsector docs through MCP, WebMCP, Markdown negotiation, or
llms.txt. - Teaching an AI assistant how Docsector pages, blocks, and examples are authored.
Expected Outcome
- The page uses standard Markdown where Markdown is enough.
- Rich interactions use the appropriate Docsector custom element.
- Links, assets, examples, and API JSON use Docsector conventions.
- The result is easy to scan, accessible, and friendly to both humans and agents.
- When MCP or WebMCP is available, current Docsector documentation is queried instead of relying only on memory.
Authoring Workflow
- Identify the page purpose: concept, tutorial, API reference, release note, navigation hub, example showcase, or troubleshooting guide.
- Use headings to shape the reading path. In normal page content, start with
##because the page title is supplied by metadata — the registry entry, or an optionaltitle:in the page's own frontmatter block. - Pick the simplest block that communicates the content. Prefer Markdown first, then Docsector custom elements when the layout or interaction needs it.
- Keep custom element attributes short and explicit. Use
tofor internal navigation andhreffor external URLs. - Put reusable assets in stable public paths such as
/images/...,/files/...,/api/..., or/quasar-api/.... - For live examples, place Vue SFCs under
src/examples/**/*.vueand reference them with<d-block-code-example>. - For API references, serve JSON from a same-origin public asset and reference it with
<d-block-api>. - Validate links, anchors, code fences, and custom element closing tags before finishing.
Quick Block Selection
| Need | Use |
|---|---|
| Narrative text | Paragraphs |
| Page sections and anchors | Headings |
| Features or requirements | Unordered lists |
| Sequential instructions | Ordered lists or Stepper |
| Progress states | Task lists |
| Notes, tips, warnings | Hints |
| Quoted text | Quotes |
| Commands or source snippets | Code blocks |
| Live Vue demos | Code examples |
| Flowcharts or diagrams | Mermaid diagrams |
| Screenshots or diagrams | Images |
| Downloads | Files |
| Videos, audio, or pens | Embedded URLs |
| Equations | Math and TeX |
| Optional detail | Expandable |
| Guided sequence with navigation | Stepper |
| Changelog or release log | Timeline |
| Comparisons or matrices | Tables |
| Custom structure | Raw HTML |
| Small navigation sets | Quick Links |
| Visual navigation grids | Cards |
| Structured API docs | API Reference |
For the complete syntax and guidance, read the block catalog.
MCP and WebMCP
When a Docsector site exposes MCP, prefer live lookup for exact syntax and current examples.
Typical MCP tools are named with the configured suffix:
search_{suffix}searches documentation pages.get_page_{suffix}returns raw Markdown for a documentation page.
This repository uses the suffix docsector, so the local docs tools are expected to be search_docsector and get_page_docsector when the MCP server is connected.
Use known paths such as:
manual/content/blocks/cards/overviewmanual/content/blocks/quick-links/overviewmanual/content/blocks/api-reference/overviewmanual/content/blocks/timeline/showcase
Browser agents may also see WebMCP tools such as docs.search_docs, docs.get_page, docs.navigate_to, and docs.copy_current_page.
Read MCP and WebMCP reference for details and caveats.
Page and Asset Conventions
Read page structure reference before changing page layout, localization, examples, or public assets.
Key conventions:
- Manual block docs live under
src/pages/manual/content/blocks/. - Block pages usually have
overviewandshowcasesubpages. - Localized source files use suffixes such as
.en-US.mdand.pt-BR.md. - Downloadable files should use
/files/...paths backed bypublic/files/.... - Images should use
/images/...paths backed bypublic/images/.... - API JSON should use same-origin public paths such as
/api/...or/quasar-api/....
Authoring Patterns
Read authoring patterns for common page recipes such as tutorials, changelogs, navigation hubs, API reference pages, and example showcases.
Quality Checklist
- The page has a clear first section and predictable heading hierarchy.
- Every custom element has required attributes and matching closing tags unless it is intentionally self-closing.
- Internal links use route paths and external links use absolute URLs.
- Images, files, examples, and API JSON point to assets that exist or are intentionally external.
- Hints are reserved for semantic callouts, not general decoration.
- Tables are not overloaded with prose that would read better as sections or lists.
- Nested custom blocks are used conservatively; avoid unsupported nested Expandable and Stepper patterns.
- MCP or WebMCP was used for current docs when available.
When not to use it
- →When writing documentation for a site not built with Docsector Reader
- →When the content does not require Docsector custom elements or conventions
Limitations
- →The skill is for documentation for a site built with Docsector Reader.
- →The skill requires using Docsector custom elements for rich interactions.
How it compares
This skill provides specific guidelines and tools for authoring documentation within the Docsector framework, ensuring consistency and proper use of its features, unlike general Markdown authoring.
Compared to similar skills
docsector-documentation-authoring side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| docsector-documentation-authoring (this skill) | 0 | 2mo | No flags | Intermediate |
| ml-paper-writing | 48 | 6mo | Review | Advanced |
| docs-review | 10 | 8mo | No flags | Beginner |
| claude-md-improver | 21 | 7mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
ml-paper-writing
davila7
Write publication-ready ML/AI papers for NeurIPS, ICML, ICLR, ACL, AAAI, COLM. Use when drafting papers from research repos, structuring arguments, verifying citations, or preparing camera-ready submissions. Includes LaTeX templates, reviewer guidelines, and citation verification workflows.
docs-review
metabase
Review documentation changes for compliance with the Metabase writing style guide. Use when reviewing pull requests, files, or diffs containing documentation markdown files.
claude-md-improver
anthropics
Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project memory optimization".
write-docs
tldraw
Writing SDK documentation for tldraw. Use when creating new documentation articles, updating existing docs, or when documentation writing guidance is needed. Applies to docs in apps/docs/content/.
update-docs
vercel
This skill should be used when the user asks to "update documentation for my changes", "check docs for this PR", "what docs need updating", "sync docs with code", "scaffold docs for this feature", "document this feature", "review docs completeness", "add docs for this change", "what documentation is affected", "docs impact", or mentions "docs/", "docs/01-app", "docs/02-pages", "MDX", "documentation update", "API reference", ".mdx files". Provides guided workflow for updating Next.js documentation based on code changes.
wiki-architect
microsoft
Analyzes code repositories and generates hierarchical documentation structures with onboarding guides. Use when the user wants to create a wiki, generate documentation, map a codebase structure, or understand a project's architecture at a high level.