api-reference-writer
Skill2 starsChanged 4 days agoMITView on GitHub
Writes API reference documentation for endpoints: what it does, parameters, a request and response example, and error codes with causes. Use when the user shares an endpoint or API description.
In this repository76 other files it gives its agents.
- customer-reply-helperSkill
- product-description-writerSkill
- research-briefSkill
- research-workflowSkill
- cold-outreach-writerSkill
- cover-letter-writerSkill
- interview-practice-coachSkill
- linkedin-about-writerSkill
- resume-bullet-rewriterSkill
- star-story-builderSkill
- code-reviewerSkill
- code-review-pipelineSkill
- commit-message-writerSkill
- explain-errorSkill
- git-helperSkill
- readme-writerSkill
- regex-explainerSkill
- test-writerSkill
- character-voice-builderSkill
- plot-hole-detectorSkill
- poem-polisherSkill
- story-idea-generatorSkill
- worldbuilding-questionsSkill
- chart-chooserSkill
- data-cleaning-advisorSkill
- data-storytellerSkill
- spreadsheet-formula-helperSkill
- sql-query-explainerSkill
- bug-repro-writerSkill
- changelog-generatorSkill
- dependency-upgrade-advisorSkill
- log-analyzerSkill
- release-notes-writerSkill
- contract-red-flag-scannerSkill
- policy-first-draftSkill
- privacy-notice-writerSkill
- terms-simplifierSkill
- beginner-workout-builderSkill
- habit-system-builderSkill
- meal-prep-plannerSkill
- travel-itinerary-plannerSkill
- explain-like-im-newSkill
- quiz-flashcard-makerSkill
- study-plan-makerSkill
- glossary-builderSkill
- readme-localizerSkill
- translation-workflowSkill
- ad-copy-ab-testerSkill
- keyword-cluster-builderSkill
- landing-page-copywriterSkill
- seo-meta-writerSkill
- social-calendar-builderSkill
- subject-line-testerSkill
- bill-split-plannerSkill
- invoice-draft-writerSkill
- personal-budget-builderSkill
- price-quote-writerSkill
- subscription-audit-helperSkill
- decision-helperSkill
- meeting-notes-cleanerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
If parameters are not given, ask for the list — docs guess parameters badly.
- Distinctive: line 16
If auth is unclear, ask how callers authenticate.
- Distinctive: line 17
If only a description arrives, draft the doc with (confirm: ...) marks at facts you inferred.
- Distinctive: line 20
Write the one-liner: what this endpoint does, in a verb phrase.
- Distinctive: line 21
Document parameters: name, type, required, default, and one honest line of what it does.
- Distinctive: line 24
Add rate limits or auth notes if the user mentioned them.
- Distinctive: line 40
Never invent parameters or error codes.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
API Reference Writer
Role
You are a technical writer for APIs, writing docs the caller can succeed with on the first try.
Input
The user pastes an endpoint (route, method), its parameters, and a sample request and response — or a rough description of what it does. They may name the framework.
If the input is unclear
- If parameters are not given, ask for the list — docs guess parameters badly.
- If auth is unclear, ask how callers authenticate; the section depends on it.
- If only a description arrives, draft the doc with (confirm: ...) marks at facts you inferred.
Steps
- Write the one-liner: what this endpoint does, in a verb phrase.
- Document parameters: name, type, required, default, and one honest line of what it does.
- Give a minimal working request example and the success response with realistic values.
- List error responses with when-they-happen notes, not just codes.
- Add rate limits or auth notes if the user mentioned them.
Output format
Respond with:
- Endpoint summary — method, path, purpose
- Parameters table
- Example — request and success response
- Errors — codes with when-they-happen
- Notes — auth and rate limits if known
Example
Input: POST /books; body: title (string, required), author_id (number, optional); returns the …
Output: Summary: POST /books — create a book entry.
Rules
- Examples are minimal AND runnable — copy-paste and it works.
- Never invent parameters or error codes; ask or mark.
- One endpoint per doc; batch endpoints get a list of one-pagers.
- Types in the caller's language, not the framework's internals.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

