agentsclimarketplace

Api documentation

Skill fabioc-aloha/Alex_Skill_Mall/plugins/documentation/api-documentation

284 curated plugins for AI assistants across 16 categories: security, Azure, documentation, code quality, cloud infrastructure, and more. Works with GitHub Copilot. Drop into .github/skills/local/ and go.

Install
npx -y skills add fabioc-aloha/Alex_Skill_Mall --skill api-documentation

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Technical documentation, API references, user guides, and docs-as-code workflows.

SKILL.md

7.6 KB, as published. Nobody here has run it

API Documentation Skill

Technical documentation, API references, user guides, and docs-as-code workflows.


Documentation Project Scaffolding

Recommended Folder Structure

docs-project/
├── .github/
│   ├── copilot-instructions.md    # Docs-specific the AI assistant context
│   └── prompts/
│       └── api-review.prompt.md
├── docs/
│   ├── index.md                   # Landing page / overview
│   ├── getting-started/
│   │   ├── installation.md
│   │   ├── quick-start.md
│   │   └── configuration.md
│   ├── guides/
│   │   ├── user-guide.md
│   │   └── admin-guide.md
│   ├── api/
│   │   ├── overview.md
│   │   ├── authentication.md
│   │   ├── endpoints/
│   │   │   └── [resource].md
│   │   └── errors.md
│   ├── reference/
│   │   ├── glossary.md
│   │   └── faq.md
│   └── contributing/
│       ├── style-guide.md
│       └── templates.md
├── examples/
│   ├── code-snippets/
│   └── sample-projects/
├── assets/
│   ├── images/
│   └── diagrams/
├── CHANGELOG.md
├── README.md
└── mkdocs.yml                     # Or docusaurus.config.js

DOCS-PLAN.md Template

# Documentation Plan: [Product/API Name]

## Scope
- **Product**: [What are we documenting?]
- **Audience**: [Developers / Admins / End Users]
- **Prerequisites**: [What readers should know]

## Documentation Types

| Type | Location | Status |
|------|----------|--------|
| Getting Started | docs/getting-started/ | ⬜ |
| User Guide | docs/guides/user-guide.md | ⬜ |
| API Reference | docs/api/ | ⬜ |
| Examples | examples/ | ⬜ |

## Style Guidelines
- **Tone**: [Technical but approachable]
- **Person**: [Second person - "you"]
- **Tense**: [Present tense]
- **Code style**: [Language-specific conventions]

## Quality Checklist
- [ ] All endpoints documented
- [ ] Code examples tested and working
- [ ] Screenshots current
- [ ] Links verified
- [ ] Spelling/grammar checked

API-ENDPOINT.md Template

# [Endpoint Name]

[One-line description of what this endpoint does]

## Request

\`\`\`http
[METHOD] /api/v1/[resource]
\`\`\`

### Headers

| Header | Required | Description |
|--------|----------|-------------|
| Authorization | Yes | Bearer token |
| Content-Type | Yes | application/json |

### Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| id | string | Yes | Resource identifier |

### Request Body

\`\`\`json
{
  "field": "value"
}
\`\`\`

## Response

### Success (200 OK)

\`\`\`json
{
  "data": {
    "id": "123",
    "field": "value"
  }
}
\`\`\`

### Errors

| Code | Description |
|------|-------------|
| 400 | Invalid request body |
| 401 | Unauthorized |
| 404 | Resource not found |

## Example

\`\`\`bash
curl -X GET "https://api.example.com/v1/resource/123" \
  -H "Authorization: Bearer $TOKEN"
\`\`\`

copilot-instructions.md Template (Documentation Projects)

# [Product Name] Documentation — Context

## Project Overview
[What product/API this documents, current status]

## Current Phase
- [x] Structure defined
- [ ] Getting started complete
- [ ] API reference complete
- [ ] Examples tested

## Key Files
- Docs plan: DOCS-PLAN.md
- Style guide: docs/contributing/style-guide.md
- API overview: docs/api/overview.md

## the AI assistant Guidance
- **Audience**: [Developers with X experience level]
- **Tone**: Technical but approachable
- Use second person ("you") not third person
- Include working code examples for every endpoint
- Link to related endpoints/concepts

## Style Rules
- Headings: Sentence case
- Lists: No periods for fragments, periods for sentences
- Code: Include language identifier in fenced blocks
- Links: Use relative paths within docs/

## Don't
- Don't assume reader knows internal terminology
- Don't document deprecated features without clear warnings
- Don't include placeholder examples — all code must work

Documentation Project Audit Checklist

## Documentation Project Audit

### Structure Assessment
- [ ] Clear navigation hierarchy
- [ ] Getting started section exists
- [ ] API reference organized by resource
- [ ] Examples directory with working code

### the AI assistant-Readiness Assessment
- [ ] copilot-instructions.md exists
- [ ] Audience clearly defined
- [ ] Style guide documented
- [ ] Key files linked

### Content Assessment
- [ ] All public endpoints documented
- [ ] Authentication explained
- [ ] Error codes listed
- [ ] Code examples in multiple languages (if applicable)

### Quality Assessment
- [ ] All links valid
- [ ] Code examples tested
- [ ] Screenshots current
- [ ] Consistent formatting

Documentation Types

API Reference Structure

SectionPurpose
OverviewWhat the API does, base URL, versioning
AuthenticationHow to get and use credentials
Rate LimitsThrottling rules and headers
EndpointsPer-endpoint details
ErrorsError format and common codes
ChangelogAPI version history

User Guide Structure

SectionPurpose
IntroductionWhat, why, for whom
InstallationHow to set up
Quick StartFirst success in 5 minutes
Core ConceptsKey ideas to understand
How-To GuidesTask-oriented walkthroughs
TroubleshootingCommon issues and fixes

README Best Practices

SectionRequired?
Project name + description✅ Yes
Badges (build, version)Recommended
Quick start / Installation✅ Yes
Usage examples✅ Yes
ConfigurationIf applicable
ContributingRecommended
License✅ Yes

Docs-as-Code Tools

Static Site Generators

ToolBest ForConfig File
MkDocsPython projects, simple setupmkdocs.yml
DocusaurusReact, versioning, i18ndocusaurus.config.js
SphinxPython autodocsconf.py
GitBookBeautiful docs, non-technicalbook.json
VitePressVue projects, fast.vitepress/config.js

API Documentation Tools

ToolFormatOutput
OpenAPI/SwaggerYAML/JSON specInteractive docs
RedocOpenAPIStatic HTML
StoplightDesign-firstPortal
PostmanCollectionsShareable docs

Writing Patterns

The 4 Cs of Technical Writing

PrincipleMeaning
ClearNo ambiguity, simple words
ConciseNo filler, respect reader's time
CorrectAccurate, tested, up-to-date
CompleteAll needed info present

Code Example Guidelines

DoDon't
Show complete, runnable examplesPartial snippets without context
Include error handlingHappy path only
Use realistic datafoo, bar, test123
Explain non-obvious partsAssume reader knows everything

Common Pitfalls

PitfallSolution
Outdated screenshotsAutomate with Puppeteer/Playwright
Broken linksCI link checking
Stale examplesTests for code samples
Jargon overloadGlossary + define on first use

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.