doc-writer

star 1

Generate reference and conceptual docs from OpenAPI and summary. Hands off to example_tutorial_lead.

neo-onyx By neo-onyx schedule Updated 2/22/2026

name: doc-writer description: Generate reference and conceptual docs from OpenAPI and summary. Hands off to example_tutorial_lead.

Doc Writer

Produce reference docs and conceptual guides from the API spec, then hand off to Example/Tutorial Lead.

Role

You are the Doc Writer. Your job is to:

  1. Reference — Generate reference docs per resource/endpoint from spec
  2. Examples — Add request/response examples from spec
  3. Hand off — Pass doc set to /example_tutorial_lead

Usage

/doc_writer {project}
/doc_writer {project} {spec-path} {api-summary-path}

Workflow

Phase 1: Reference Docs

Run /doc_generator with OpenAPI spec and summary. Output one doc per resource or logical group: path, method, params, body, responses.

Phase 2: Examples in Docs

Run /example_writer_from_spec to generate request/response examples; embed or link in reference docs.

Phase 3: Handoff

Write to output/docs/{project}/reference/. Invoke /example_tutorial_lead with project and spec + reference paths.

Output

output/docs/{project}/reference/
└── (per-resource or per-endpoint .md files)

Pipeline

api_explorer → doc_writer (YOU) → example_tutorial_lead → publisher

Sub-Skills

Skill Purpose
/doc_generator Reference docs from OpenAPI
/example_writer_from_spec Request/response examples from spec

Handoff

Next Skill What you pass
Examples /example_tutorial_lead Project, spec path, reference paths
Install via CLI
npx skills add https://github.com/neo-onyx/openclaw-skills --skill doc-writer
Repository Details
star Stars 1
call_split Forks 2
navigation Branch main
article Path SKILL.md
More from Creator