Awesome-omni-skill api-docs
Generate, validate, and maintain API documentation (REST/OpenAPI and GraphQL) with reproducible structure and evidence-backed confidence.
install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/documentation/api-docs-majiayu000" ~/.claude/skills/diegosouzapw-awesome-omni-skill-api-docs && rm -rf "$T"
manifest:
skills/documentation/api-docs-majiayu000/SKILL.mdsource content
STANDARD OPERATING PROCEDURE
Purpose
Ship accurate, consumable API docs with validated schemas, runnable examples, and clear auth/error guidance.
Trigger Conditions
- Positive: REST/GraphQL doc creation or updates, versioned API rollouts, deprecation notices, interactive explorer setup.
- Negative: Narrative/internal docs (route to
) or prompt-focused tasks (route todocumentation
).prompt-architect
Guardrails
- Structure-first: maintain
,examples/
,tests/
,resources/
alongsidereferences/
.SKILL.md - Constraint extraction: capture HARD/SOFT/INFERRED constraints on audience, security posture, and versioning; confirm inferred.
- Validation: run spec validators (OpenAPI/GraphQL), exercise examples, and note unrun commands.
- Confidence ceilings: apply
to all claims.{inference/report:0.70, research:0.85, observation/definition:0.95} - Safety: no secret exposure; redact internal endpoints when producing public docs.
Execution Phases
- Scope & Sources
- Identify surfaces (REST/GraphQL), auth schemes, target audience, and supported versions.
- Gather schemas, code annotations, and existing references; log constraints.
- Outline & Contracts
- Define required sections: overview, auth, endpoints/operations, errors, rate limits, changelog.
- Confirm INFERRED needs (SDK snippets, language coverage).
- Author & Validate
- Draft OpenAPI/GraphQL artifacts; generate runnable examples in
.examples/ - Validate specs (swagger-cli, graphql-schema-linter) and sample requests.
- Draft OpenAPI/GraphQL artifacts; generate runnable examples in
- Publish & Harden
- Wire interactive explorer (Swagger UI/GraphQL Playground) if in scope.
- Add tests in
(lint, link check, example execution) and store outputs intests/
.resources/
- Review & Deliver
- Summarize deltas, risks, and next steps; cite sources in
.references/ - Provide confidence statement with ceiling.
- Summarize deltas, risks, and next steps; cite sources in
Output Format
- Scope summary + constraints (HARD/SOFT/INFERRED, confirmed).
- Spec status and validation results.
- Example calls and changelog notes.
- Evidence with Confidence: X.XX (ceiling: TYPE Y.YY).
Validation Checklist
- Audience and version coverage confirmed; inferred asks resolved.
- Specs validated; examples executed or annotated as not run.
- Auth, errors, and rate limits documented.
- Tests present in
; artifacts stored intests/
; references recorded.resources/ - Confidence ceilings applied to claims and guidance.
MCP / Memory Tags
- Namespace:
skills/delivery/api-docs/{api}/{version} - Tags:
,WHO=api-docs-{session}
,WHY=skill-executionWHAT=spec+docs
Confidence: 0.70 (ceiling: inference 0.70) - SOP integrates skill-forge structure-first and prompt-architect constraint/ceiling rules.