Skip to content
Back to skills

Document Endpoint

ASecurity

Writes reference docs for one endpoint from the real code: parameters, responses, errors and a working example call.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 15, 2026
ai-agentsapidocumentation

Works with

  • api

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add workspace-templates/ai-agent-templates --skill document-endpoint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Document Endpoint?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Document Endpoint
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/workspace-templates-document-endpoint/badge)](https://www.skillsdirectory.com/skills/workspace-templates-document-endpoint)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: document-endpoint
description: "Writes reference docs for one endpoint from the real code: parameters, responses, errors and a working example call."
argument-hint: "[method and path, or handler file]"
user-invocable: true
disable-model-invocation: true
---

Write reference documentation for this endpoint: $ARGUMENTS

1. Locate the route, its handler, validation schema, auth middleware and tests. Read all of them.
2. Look for existing API docs (docs folder, README, OpenAPI file). Match their headings and tone. If none exist, use plain Markdown.
3. Document, in this order: purpose in one sentence, method and path, authentication and required roles, path and query parameters, request body fields (type, required, limits), success response with status and fields, every error status with its cause and body, rate limits if any.
4. Build a request example that really works (curl with a dummy token) and the matching real-shaped response. Take values from tests or fixtures, never invent fields the code does not return.
5. If the code, tests and any older doc disagree, do not choose silently. List each mismatch.

Show the finished page. Ask before saving it or overwriting an existing doc file.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.