Skill v1.0.0
currentAutomated scan100/100version: "1.0.0" name: docsmith-docs description: Write and publish project documentation using the docsmith MCP server (read_source, write_markdown, capture_media, build_site). Use when the user asks to write docs, document the project, create documentation pages, or publish a docs site.
Writing Docs with Docsmith
Use the docsmith MCP tools in this order:
- Explore —
read_source list_files(pattern**/*),read_source analyze_structure
on source directories, and read_source read_file on the key files.
- Plan — a focused page set:
index.md(landing),installation.md,
configuration.md, usage.md, commands.md, api.md.
- Write —
write_markdown create_pagefor each page (orupdate_pageto revise). - Capture evidence —
capture_mediafor real UI screenshots and videos
(see below).
- Build —
build_siteto render the static site. - Iterate — review built pages, fix weak ones, rebuild.
Page conventions
- Lowercase kebab-case paths ending in
.md;index.mdis the landing page. - H1 title, one-paragraph overview, H2 sections.
- Real, runnable code examples with language tags; tables for command/option lists.
- Only document what
read_sourceshows — never invent API.
Capturing real UI evidence
When the project has a UI (admin panel, components, dashboards), boot it and capture real screenshots instead of describing features in prose:
- Start the app (e.g.
php artisan serve) and note the URL. capture_mediawithaction: "screenshot"for stills — passviewport
(e.g. 1280x720), selector to frame one component, wait_for when the page loads async content, dark: true for dark-mode shots.
capture_mediawithaction: "video"plusstepsfor short workflow demos:
``json {"steps": [ {"action": "fill", "selector": "#email", "value": "user@example.com"}, {"action": "click", "selector": "#login"}, {"action": "wait", "selector": ".dashboard"}, {"action": "wait", "ms": 500} ]} ``
Keep videos under ~15 seconds and under ~2 MB — they ship inside the repo.
- Both actions return
path(e.g.media/dashboard.png) — embed it with
write_markdown insert_media, or reference  directly.
- If
capture_mediareturns an install error, tell the user to run
npm install -D playwright capturist && npx playwright install chromium.
Use captures when they show something code cannot: rendered UI, visual states, multi-step flows. Skip them for pure API/CLI documentation.