[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7833958EB1C8YNMKAA7DZJJ":3,"skill-same:01M7833958EB1C8YNMKAA7DZJJ":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7833958EB1C8YNMKAA7DZJJ","api-documentation-writer",null,"Expert guide for writing comprehensive API documentation including OpenAPI specs, endpoint references, authentication guides, and code examples. Use when documenting APIs, creating developer portals, or improving API discoverability.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fskills_sh\u002Fs\u002Fskills-sh_jmsktm_claude-settings_api-documentation-writer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: api-documentation-writer\ndescription: Expert guide for writing comprehensive API documentation including OpenAPI specs, endpoint references, authentication guides, and code examples. Use when documenting APIs, creating developer portals, or improving API discoverability.\n---\n\n# API Documentation Writer Skill\n\n## Overview\n\nThis skill helps you create clear, comprehensive API documentation that developers love. Covers OpenAPI\u002FSwagger specifications, endpoint references, authentication guides, code examples in multiple languages, and developer experience best practices.\n\n## Documentation Philosophy\n\n### The Three C's\n1. **Clear**: Unambiguous, jargon-free explanations\n2. **Complete**: All parameters, responses, and edge cases documented\n3. **Current**: Always in sync with the actual API behavior\n\n### What to Document\n- **DO**: Document every public endpoint\n- **DO**: Include request\u002Fresponse examples for all scenarios\n- **DO**: Document error codes with remediation steps\n- **DO**: Provide code examples in popular languages\n- **DON'T**: Document internal\u002Fprivate endpoints\n- **DON'T**: Assume readers know your domain\n- **DON'T**: Let documentation drift from implementation\n\n## OpenAPI Specification\n\n### Basic Structure\n\n```yaml\n# openapi.yaml\nopenapi: 3.1.0\ninfo:\n  title: My API\n  version: 1.0.0\n  description: |\n    Welcome to the My API documentation.\n\n    ## Getting Started\n    1. Sign up for an API key at [dashboard.example.com](https:\u002F\u002Fdashboard.example.com)\n    2. Include your key in the `Authorization` header\n    3. Start making requests!\n\n    ## Rate Limits\n    - Free tier: 100 requests\u002Fminute\n    - Pro tier: 1000 requests\u002Fminute\n  contact:\n    name: API Support\n    email: api@example.com\n    url: https:\u002F\u002Fsupport.example.com\n  license:\n    name: MIT\n    url: https:\u002F\u002Fopensource.org\u002Flicenses\u002FMIT\n\nservers:\n  - url: https:\u002F\u002Fapi.example.com\u002Fv1\n    description: Production\n  - url: https:\u002F\u002Fstaging-api.example.com\u002Fv1\n    description: Staging\n\ntags:\n  - name: Users\n    description: User management operations\n  - name: Items\n    description: Item CRUD operations\n```\n\n### Endpoint Documentation\n\n```yaml\npaths:\n  \u002Fusers:\n    get:\n      tags:\n        - Users\n      summary: List all users\n      description: |\n        Retrieves a paginated list of users. Results are sorted by creation date (newest first).\n\n        **Permissions required:** `users:read`\n      operationId: listUsers\n      parameters:\n        - name: page\n          in: query\n          description: Page number (1-indexed)\n          required: false\n          schema:\n            type: integer\n            minimum: 1\n            default: 1\n          example: 1\n        - name: limit\n          in: query\n          description: Number of results per page (max 100)\n          required: false\n          schema:\n            type: integer\n            minimum: 1\n            maximum: 100\n            default: 20\n          example: 20\n        - name: status\n          in: query\n          description: Filter by user status\n          required: false\n          schema:\n            type: string\n            enum: [active, inactive, pending]\n      responses:\n        '200':\n          description: Successful response\n          content:\n            application\u002Fjson:\n              schema:\n                $ref: '#\u002Fcomponents\u002Fschemas\u002FUserList'\n              example:\n                data:\n                  - id: \"usr_123\"\n                    email: \"john@example.com\"\n                    name: \"John Doe\"\n                    status: \"active\"\n                    created_at: \"2024-01-15T10:30:00Z\"\n                meta:\n                  page: 1\n                  limit: 20\n                  total: 150\n                  total_pages: 8\n        '401':\n          $ref: '#\u002Fcomponents\u002Fresponses\u002FUnauthorized'\n        '403':\n          $ref: '#\u002Fcomponents\u002Fresponses\u002FForbidden'\n        '429':\n          $ref: '#\u002Fcomponents\u002Fresponses\u002FRateLimited'\n\n    post:\n      tags:\n        - Users\n      summary: Create a new user\n      description: |\n        Creates a new user account. An email verification will be sent to the provided address.\n\n        **Permissions required:** `users:write`\n      operationId: createUser\n      requestBody:\n        required: true\n        content:\n          application\u002Fjson:\n            schema:\n              $ref: '#\u002Fcomponents\u002Fschemas\u002FCreateUserRequest'\n            examples:\n              basic:\n                summary: Basic user creation\n                value:\n                  email: \"jane@example.com\"\n                  name: \"Jane Doe\"\n              with_metadata:\n                summary: User with metadata\n                value:\n                  email: \"jane@example.com\"\n                  name: \"Jane Doe\"\n                  metadata:\n                    department: \"Engineering\"\n                    role: \"Developer\"\n      responses:\n        '201':\n          description: User created successfully\n          content:\n            application\u002Fjson:\n              schema:\n                $ref: '#\u002Fcomponents\u002Fschemas\u002FUser'\n        '400':\n          $ref: '#\u002Fcomponents\u002Fresponses\u002FBadRequest'\n        '409':\n          description: User with this email already exists\n          content:\n            application\u002Fjson:\n              schema:\n                $ref: '#\u002Fcomponents\u002Fschemas\u002FError'\n              example:\n                error:\n                  code: \"USER_EXISTS\"\n                  message: \"A user with this email already exists\"\n```\n\n### Schema Definitions\n\n```yaml\ncomponents:\n  schemas:\n    User:\n      type: object\n      description: Represents a user in the system\n      required:\n        - id\n        - email\n        - status\n        - created_at\n      properties:\n        id:\n          type: string\n          description: Unique identifier (prefixed with `usr_`)\n          pattern: '^usr_[a-zA-Z0-9]+$'\n          example: \"usr_123abc\"\n        email:\n          type: string\n          format: email\n          description: User's email address (unique)\n          example: \"user@example.com\"\n        name:\n          type: string\n          description: User's display name\n          maxLength: 100\n          example: \"John Doe\"\n        status:\n          type: string\n          enum: [active, inactive, pending]\n          description: |\n            Account status:\n            - `active`: User can sign in and use the service\n            - `inactive`: Account has been deactivated\n            - `pending`: Awaiting email verification\n          example: \"active\"\n        metadata:\n          type: object\n          additionalProperties: true\n          description: Custom key-value pairs for storing additional data\n          example:\n            department: \"Engineering\"\n        created_at:\n          type: string\n          format: date-time\n          description: ISO 8601 timestamp of account creation\n          example: \"2024-01-15T10:30:00Z\"\n        updated_at:\n          type: string\n          format: date-time\n          description: ISO 8601 timestamp of last update\n          example: \"2024-01-16T14:45:00Z\"\n\n    CreateUserRequest:\n      type: object\n      required:\n        - email\n      properties:\n        email:\n          type: string\n          format: email\n          description: Email address for the new user (must be unique)\n        name:\n          type: string\n          description: User's display name\n          maxLength: 100\n        metadata:\n          type: object\n          additionalProperties: true\n\n    Error:\n      type: object\n      required:\n        - error\n      properties:\n        error:\n          type: object\n          required:\n            - code\n            - message\n          properties:\n            code:\n              type: string\n              description: Machine-readable error code\n            message:\n              type: string\n              description: Human-readable error description\n            details:\n              type: array\n              description: Additional error details for validation errors\n              items:\n                type: object\n                properties:\n                  field:\n                    type: string\n                  message:\n                    type: string\n```\n\n### Authentication Documentation\n\n```yaml\ncomponents:\n  securitySchemes:\n    BearerAuth:\n      type: http\n      scheme: bearer\n      bearerFormat: JWT\n      description: |\n        JWT token obtained from the `\u002Fauth\u002Ftoken` endpoint.\n\n        Include in requests as:\n        ```\n        Authorization: Bearer \u003Cyour-token>\n        ```\n\n        Tokens expire after 1 hour. Use refresh tokens for long-lived sessions.\n\n    ApiKeyAuth:\n      type: apiKey\n      in: header\n      name: X-API-Key\n      description: |\n        API key for server-to-server communication.\n\n        Obtain your key from the [Developer Dashboard](https:\u002F\u002Fdashboard.example.com).\n\n        Include in requests as:\n        ```\n        X-API-Key: \u003Cyour-api-key>\n        ```\n\nsecurity:\n  - BearerAuth: []\n  - ApiKeyAuth: []\n```\n\n### Reusable Responses\n\n```yaml\ncomponents:\n  responses:\n    BadRequest:\n      description: Invalid request parameters\n      content:\n        application\u002Fjson:\n          schema:\n            $ref: '#\u002Fcomponents\u002Fschemas\u002FError'\n          examples:\n            validation_error:\n              summary: Validation error\n              value:\n                error:\n                  code: \"VALIDATION_ERROR\"\n                  message: \"Request validation failed\"\n                  details:\n                    - field: \"email\"\n                      message: \"Must be a valid email address\"\n            missing_field:\n              summary: Missing required field\n              value:\n                error:\n                  code: \"MISSING_FIELD\"\n                  message: \"Required field 'email' is missing\"\n\n    Unauthorized:\n      description: Missing or invalid authentication\n      content:\n        application\u002Fjson:\n          schema:\n            $ref: '#\u002Fcomponents\u002Fschemas\u002FError'\n          example:\n            error:\n              code: \"UNAUTHORIZED\"\n              message: \"Invalid or expired authentication token\"\n\n    Forbidden:\n      description: Insufficient permissions\n      content:\n        application\u002Fjson:\n          schema:\n            $ref: '#\u002Fcomponents\u002Fschemas\u002FError'\n          example:\n            error:\n              code: \"FORBIDDEN\"\n              message: \"You don't have permission to access this resource\"\n\n    NotFound:\n      description: Resource not found\n      content:\n        application\u002Fjson:\n          schema:\n            $ref: '#\u002Fcomponents\u002Fschemas\u002FError'\n          example:\n            error:\n              code: \"NOT_FOUND\"\n              message: \"The requested resource was not found\"\n\n    RateLimited:\n      description: Rate limit exceeded\n      headers:\n        X-RateLimit-Limit:\n          schema:\n            type: integer\n          description: Request limit per minute\n        X-RateLimit-Remaining:\n          schema:\n            type: integer\n          description: Remaining requests in current window\n        X-RateLimit-Reset:\n          schema:\n            type: integer\n          description: Unix timestamp when the rate limit resets\n      content:\n        application\u002Fjson:\n          schema:\n            $ref: '#\u002Fcomponents\u002Fschemas\u002FError'\n          example:\n            error:\n              code: \"RATE_LIMITED\"\n              message: \"Too many requests. Please retry after 60 seconds\"\n```\n\n## Markdown Documentation\n\n### Endpoint Reference Template\n\n```markdown\n# Create User\n\nCreate a new user account.\n\n## Endpoint\n\n```\nPOST \u002Fv1\u002Fusers\n```\n\n## Authentication\n\nRequires API key with `users:write` permission.\n\n## Request Body\n\n| Field | Type | Required | Description |\n|-------|------|----------|-------------|\n| `email` | string | Yes | User's email address (must be unique) |\n| `name` | string | No | Display name (max 100 characters) |\n| `metadata` | object | No | Custom key-value pairs |\n\n### Example Request\n\n```bash\ncurl -X POST https:\u002F\u002Fapi.example.com\u002Fv1\u002Fusers \\\n  -H \"Authorization: Bearer YOUR_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"email\": \"jane@example.com\",\n    \"name\": \"Jane Doe\"\n  }'\n```\n\n## Response\n\n### Success (201 Created)\n\n```json\n{\n  \"id\": \"usr_abc123\",\n  \"email\": \"jane@example.com\",\n  \"name\": \"Jane Doe\",\n  \"status\": \"pending\",\n  \"created_at\": \"2024-01-15T10:30:00Z\"\n}\n```\n\n### Errors\n\n| Status | Code | Description |\n|--------|------|-------------|\n| 400 | `VALIDATION_ERROR` | Invalid email format or missing required field |\n| 401 | `UNAUTHORIZED` | Invalid or missing authentication |\n| 409 | `USER_EXISTS` | User with this email already exists |\n| 429 | `RATE_LIMITED` | Too many requests |\n\n### Error Example\n\n```json\n{\n  \"error\": {\n    \"code\": \"USER_EXISTS\",\n    \"message\": \"A user with this email already exists\"\n  }\n}\n```\n```\n\n## Code Examples\n\n### Multi-Language Examples\n\n```markdown\n## Code Examples\n\n### cURL\n\n```bash\ncurl -X GET \"https:\u002F\u002Fapi.example.com\u002Fv1\u002Fusers?limit=10\" \\\n  -H \"Authorization: Bearer YOUR_TOKEN\"\n```\n\n### JavaScript (fetch)\n\n```javascript\nconst response = await fetch('https:\u002F\u002Fapi.example.com\u002Fv1\u002Fusers?limit=10', {\n  headers: {\n    'Authorization': 'Bearer YOUR_TOKEN'\n  }\n});\n\nconst data = await response.json();\nconsole.log(data);\n```\n\n### JavaScript (axios)\n\n```javascript\nimport axios from 'axios';\n\nconst { data } = await axios.get('https:\u002F\u002Fapi.example.com\u002Fv1\u002Fusers', {\n  params: { limit: 10 },\n  headers: {\n    'Authorization': 'Bearer YOUR_TOKEN'\n  }\n});\n```\n\n### Python\n\n```python\nimport requests\n\nresponse = requests.get(\n    'https:\u002F\u002Fapi.example.com\u002Fv1\u002Fusers',\n    params={'limit': 10},\n    headers={'Authorization': 'Bearer YOUR_TOKEN'}\n)\n\ndata = response.json()\nprint(data)\n```\n\n### Ruby\n\n```ruby\nrequire 'net\u002Fhttp'\nrequire 'json'\n\nuri = URI('https:\u002F\u002Fapi.example.com\u002Fv1\u002Fusers?limit=10')\nrequest = Net::HTTP::Get.new(uri)\nrequest['Authorization'] = 'Bearer YOUR_TOKEN'\n\nresponse = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|\n  http.request(request)\nend\n\ndata = JSON.parse(response.body)\nputs data\n```\n\n### Go\n\n```go\npackage main\n\nimport (\n    \"encoding\u002Fjson\"\n    \"fmt\"\n    \"net\u002Fhttp\"\n)\n\nfunc main() {\n    req, _ := http.NewRequest(\"GET\", \"https:\u002F\u002Fapi.example.com\u002Fv1\u002Fusers?limit=10\", nil)\n    req.Header.Set(\"Authorization\", \"Bearer YOUR_TOKEN\")\n\n    client := &http.Client{}\n    resp, _ := client.Do(req)\n    defer resp.Body.Close()\n\n    var data map[string]interface{}\n    json.NewDecoder(resp.Body).Decode(&data)\n    fmt.Println(data)\n}\n```\n```\n\n## Error Documentation\n\n### Error Code Reference\n\n```markdown\n# Error Codes\n\nAll API errors follow a consistent format:\n\n```json\n{\n  \"error\": {\n    \"code\": \"ERROR_CODE\",\n    \"message\": \"Human-readable description\",\n    \"details\": []  \u002F\u002F Optional additional information\n  }\n}\n```\n\n## Authentication Errors\n\n| Code | HTTP Status | Description | Resolution |\n|------|-------------|-------------|------------|\n| `UNAUTHORIZED` | 401 | Missing or invalid token | Include a valid `Authorization` header |\n| `TOKEN_EXPIRED` | 401 | Token has expired | Obtain a new token via `\u002Fauth\u002Ftoken` |\n| `INVALID_API_KEY` | 401 | API key not recognized | Check your API key in the dashboard |\n| `FORBIDDEN` | 403 | Insufficient permissions | Request appropriate scopes for your token |\n\n## Validation Errors\n\n| Code | HTTP Status | Description | Resolution |\n|------|-------------|-------------|------------|\n| `VALIDATION_ERROR` | 400 | Request body validation failed | Check the `details` array for specific fields |\n| `MISSING_FIELD` | 400 | Required field not provided | Include all required fields |\n| `INVALID_FORMAT` | 400 | Field format is incorrect | Match the expected format (see schema) |\n\n## Resource Errors\n\n| Code | HTTP Status | Description | Resolution |\n|------|-------------|-------------|------------|\n| `NOT_FOUND` | 404 | Resource doesn't exist | Verify the resource ID is correct |\n| `ALREADY_EXISTS` | 409 | Resource already exists | Use a different identifier or update existing |\n| `CONFLICT` | 409 | State conflict | Refresh and retry the operation |\n\n## Rate Limiting\n\n| Code | HTTP Status | Description | Resolution |\n|------|-------------|-------------|------------|\n| `RATE_LIMITED` | 429 | Too many requests | Wait and retry (see `Retry-After` header) |\n```\n\n## Changelog Documentation\n\n### API Changelog Format\n\n```markdown\n# API Changelog\n\n## 2024-01-15 - v1.2.0\n\n### Added\n- `GET \u002Fusers\u002F{id}\u002Factivity` - Retrieve user activity history\n- `metadata` field on User object for custom data storage\n\n### Changed\n- Pagination now 1-indexed (previously 0-indexed)\n- Rate limits increased: Free tier 100 → 200 req\u002Fmin\n\n### Deprecated\n- `GET \u002Fusers\u002Fsearch` - Use `GET \u002Fusers` with query parameters instead\n  - Will be removed in v2.0.0\n\n### Fixed\n- `created_at` now correctly returns UTC timezone\n\n---\n\n## 2024-01-01 - v1.1.0\n\n### Added\n- Webhook support for user events\n- `status` filter on `GET \u002Fusers`\n\n### Security\n- API keys now support IP allowlisting\n```\n\n## Interactive Documentation\n\n### Swagger UI Configuration\n\n```javascript\n\u002F\u002F swagger-config.js\nconst swaggerUiOptions = {\n  customCss: '.swagger-ui .topbar { display: none }',\n  customSiteTitle: 'API Documentation',\n  customfavIcon: '\u002Ffavicon.ico',\n  swaggerOptions: {\n    persistAuthorization: true,\n    displayRequestDuration: true,\n    filter: true,\n    tryItOutEnabled: true,\n  },\n};\n```\n\n### Redoc Configuration\n\n```yaml\n# redoc.yaml\nx-tagGroups:\n  - name: Getting Started\n    tags:\n      - Authentication\n  - name: Core Resources\n    tags:\n      - Users\n      - Items\n  - name: Utilities\n    tags:\n      - Webhooks\n      - Health\n\nx-logo:\n  url: 'https:\u002F\u002Fexample.com\u002Flogo.png'\n  altText: 'API Logo'\n```\n\n## Documentation Checklist\n\n### Per Endpoint\n- [ ] Summary (one line)\n- [ ] Description (detailed explanation)\n- [ ] All parameters documented with types and examples\n- [ ] All response codes with examples\n- [ ] Error codes with remediation steps\n- [ ] Code examples in at least 2 languages\n- [ ] Authentication requirements stated\n\n### Overall API\n- [ ] Getting started guide\n- [ ] Authentication guide with examples\n- [ ] Rate limiting documentation\n- [ ] Pagination patterns\n- [ ] Error handling guide\n- [ ] Changelog maintained\n- [ ] Versioning strategy documented\n- [ ] SDK\u002Flibrary links\n\n### Developer Experience\n- [ ] Interactive \"Try It\" functionality\n- [ ] Copy-paste ready examples\n- [ ] Consistent terminology\n- [ ] Search functionality\n- [ ] Mobile-friendly rendering\n\n## Tools Integration\n\n### Generate from Code\n\n```bash\n# From Express\u002FNode.js routes\nnpx swagger-jsdoc -d swaggerDef.js -o openapi.yaml\n\n# From TypeScript types\nnpx openapi-typescript-codegen --input openapi.yaml --output .\u002Fsdk\n```\n\n### Validate OpenAPI\n\n```bash\n# Validate spec\nnpx @redocly\u002Fcli lint openapi.yaml\n\n# Preview documentation\nnpx @redocly\u002Fcli preview-docs openapi.yaml\n```\n\n## When to Use This Skill\n\nInvoke this skill when:\n- Creating new API documentation from scratch\n- Adding documentation for new endpoints\n- Writing OpenAPI\u002FSwagger specifications\n- Creating code examples for multiple languages\n- Documenting authentication flows\n- Building developer portals\n- Improving existing API documentation\n- Setting up interactive documentation (Swagger UI, Redoc)\n","# API Documentation Writer Skill\n\n## Overview\n\nThis skill helps you create clear, comprehensive API documentation that developers love. Covers OpenAPI\u002FSwagger specifications, endpoint references, authentication guides, code examples in multiple languages, and developer experience best practices.\n\n## Documentation Philosophy\n\n### The Three C's\n1. **Clear**: Unambiguous, jargon-free explanations\n2. **Complete**: All parameters, responses, and edge cases documented\n3. **Current**: Always in sync with the actual API behavior\n\n### What to Document\n- **DO**: Document every public endpoint\n- **DO**: Include request\u002Fresponse examples for all scenarios\n- **DO**: Document error codes with remediation steps\n- **DO**: Provide code examples in popular languages\n- **DON'T**: Document internal\u002Fprivate endpoints\n- **DON'T**: Assume readers know your domain\n- **DON'T**: Let documentation drift from implementation\n\n## OpenAPI Specification\n\n### Basic Structure\n\n```yaml\n# openapi.yaml\nopenapi: 3.1.0\ninfo:\n  title: My API\n  version: 1.0.0\n  description: |\n    Welcome to the My API documentation.\n\n    ## Getting Started\n    1. Sign up for an API key at [dashboard.example.com](https:\u002F\u002Fdashboard.example.com)\n    2. Include your key in the `Authorization` header\n    3. Start making requests!\n\n    ## Rate Limits\n    - Free tier: 100 requests\u002Fminute\n    - Pro tier: 1000 requests\u002Fminute\n  contact:\n    name: API Support\n    email: api@example.com\n    url: https:\u002F\u002Fsupport.example.com\n  license:\n    name: MIT\n    url: https:\u002F\u002Fopensource.org\u002Flicenses\u002FMIT\n\nservers:\n  - url: https:\u002F\u002Fapi.example.com\u002Fv1\n    description: Production\n  - url: https:\u002F\u002Fstaging-api.example.com\u002Fv1\n    description: Staging\n\ntags:\n  - name: Users\n    description: User management operations\n  - name: Items\n    description: Item CRUD operations\n```\n\n### Endpoint Documentation\n\n```yaml\npaths:\n  \u002Fusers:\n    get:\n      tags:\n        - Users\n      summary: List all users\n      description: |\n        Retrieves a paginated list of users. Results are sorted by creation date (newest first).\n\n        **Permissions required:** `users:read`\n      operationId: listUsers\n      parameters:\n        - name: page\n          in: query\n          description: Page number (1-indexed)\n          required: false\n          schema:\n            type: integer\n            minimum: 1\n            default: 1\n          example: 1\n        - name: limit\n          in: query\n          description: Number of results per page (max 100)\n          required: false\n          schema:\n            type: integer\n            minimum: 1\n            maximum: 100\n            default: 20\n          example: 20\n        - name: status\n          in: query\n          description: Filter by user status\n          required: false\n          schema:\n            type: string\n            enum: [active, inactive, pending]\n      responses:\n        '200':\n          description: Successful response\n          content:\n            application\u002Fjson:\n              schema:\n                $ref: '#\u002Fcomponents\u002Fschemas\u002FUserList'\n              example:\n                data:\n                  - id: \"usr_123\"\n                    email: \"john@example.com\"\n                    name: \"John Doe\"\n                    status: \"active\"\n                    created_at: \"2024-01-15T10:30:00Z\"\n                meta:\n                  page: 1\n                  limit: 20\n                  total: 150\n                  total_pages: 8\n        '401':\n          $ref: '#\u002Fcomponents\u002Fresponses\u002FUnauthorized'\n        '403':\n          $ref: '#\u002Fcomponents\u002Fresponses\u002FForbidden'\n        '429':\n          $ref: '#\u002Fcomponents\u002Fresponses\u002FRateLimited'\n\n    post:\n      tags:\n        - Users\n      summary: Create a new user\n      description: |\n        Creates a new user account. An email verification will be sent to the provided address.\n\n        **Permissions required:** `users:write`\n      operationId: createUser\n      requestBody:\n        required: true\n        content:\n          application\u002Fjson:\n            schema:\n              $ref: '#\u002Fcomponents\u002Fschemas\u002FCreateUserRequest'\n            examples:\n              basic:\n                summary: Basic user creation\n                value:\n                  email: \"jane@example.com\"\n                  name: \"Jane Doe\"\n              with_metadata:\n                summary: User with metadata\n                value:\n                  email: \"jane@example.com\"\n                  name: \"Jane Doe\"\n                  metadata:\n                    department: \"Engineering\"\n                    role: \"Developer\"\n      responses:\n        '201':\n          description: User created successfully\n          content:\n            application\u002Fjson:\n              schema:\n                $ref: '#\u002Fcomponents\u002Fschemas\u002FUser'\n        '400':\n          $ref: '#\u002Fcomponents\u002Fresponses\u002FBadRequest'\n        '409':\n          description: User with this email already exists\n          content:\n            application\u002Fjson:\n              schema:\n                $ref: '#\u002Fcomponents\u002Fschemas\u002FError'\n              example:\n                error:\n                  code: \"USER_EXISTS\"\n                  message: \"A user with this email already exists\"\n```\n\n### Schema Definitions\n\n```yaml\ncomponents:\n  schemas:\n    User:\n      type: object\n      description: Represents a user in the system\n      required:\n        - id\n        - email\n        - status\n        - created_at\n      properties:\n        id:\n          type: string\n          description: Unique identifier (prefixed with `usr_`)\n          pattern: '^usr_[a-zA-Z0-9]+$'\n          example: \"usr_123abc\"\n        email:\n          type: string\n          format: email\n          description: User's email address (unique)\n          example: \"user@example.com\"\n        name:\n          type: string\n          description: User's display name\n          maxLength: 100\n          example: \"John Doe\"\n        status:\n          type: string\n          enum: [active, inactive, pending]\n          description: |\n            Account status:\n            - `active`: User can sign in and use the service\n            - `inactive`: Account has been deactivated\n            - `pending`: Awaiting email verification\n          example: \"active\"\n        metadata:\n          type: object\n          additionalProperties: true\n          description: Custom key-value pairs for storing additional data\n          example:\n            department: \"Engineering\"\n        created_at:\n          type: string\n          format: date-time\n          description: ISO 8601 timestamp of account creation\n          example: \"2024-01-15T10:30:00Z\"\n        updated_at:\n          type: string\n          format: date-time\n          description: ISO 8601 timestamp of last update\n          example: \"2024-01-16T14:45:00Z\"\n\n    CreateUserRequest:\n      type: object\n      required:\n        - email\n      properties:\n        email:\n          type: string\n          format: email\n          description: Email address for the new user (must be unique)\n        name:\n          type: string\n          description: User's display name\n          maxLength: 100\n        metadata:\n          type: object\n          additionalProperties: true\n\n    Error:\n      type: object\n      required:\n        - error\n      properties:\n        error:\n          type: object\n          required:\n            - code\n            - message\n          properties:\n            code:\n              type: string\n              description: Machine-readable error code\n            message:\n              type: string\n              description: Human-readable error description\n            details:\n              type: array\n              description: Additional error details for validation errors\n              items:\n                type: object\n                properties:\n                  field:\n                    type: string\n                  message:\n                    type: string\n```\n\n### Authentication Documentation\n\n```yaml\ncomponents:\n  securitySchemes:\n    BearerAuth:\n      type: http\n      scheme: bearer\n      bearerFormat: JWT\n      description: |\n        JWT token obtained from the `\u002Fauth\u002Ftoken` endpoint.\n\n        Include in requests as:\n        ```\n        Authorization: Bearer \u003Cyour-token>\n        ```\n\n        Tokens expire after 1 hour. Use refresh tokens for long-lived sessions.\n\n    ApiKeyAuth:\n      type: apiKey\n      in: header\n      name: X-API-Key\n      description: |\n        API key for server-to-server communication.\n\n        Obtain your key from the [Developer Dashboard](https:\u002F\u002Fdashboard.example.com).\n\n        Include in requests as:\n        ```\n        X-API-Key: \u003Cyour-api-key>\n        ```\n\nsecurity:\n  - BearerAuth: []\n  - ApiKeyAuth: []\n```\n\n### Reusable Responses\n\n```yaml\ncomponents:\n  responses:\n    BadRequest:\n      description: Invalid request parameters\n      content:\n        application\u002Fjson:\n          schema:\n            $ref: '#\u002Fcomponents\u002Fschemas\u002FError'\n          examples:\n            validation_error:\n              summary: Validation error\n              value:\n                error:\n                  code: \"VALIDATION_ERROR\"\n                  message: \"Request validation failed\"\n                  details:\n                    - field: \"email\"\n                      message: \"Must be a valid email address\"\n            missing_field:\n              summary: Missing required field\n              value:\n                error:\n                  code: \"MISSING_FIELD\"\n                  message: \"Required field 'email' is missing\"\n\n    Unauthorized:\n      description: Missing or invalid authentication\n      content:\n        application\u002Fjson:\n          schema:\n            $ref: '#\u002Fcomponents\u002Fschemas\u002FError'\n          example:\n            error:\n              code: \"UNAUTHORIZED\"\n              message: \"Invalid or expired authentication token\"\n\n    Forbidden:\n      description: Insufficient permissions\n      content:\n        application\u002Fjson:\n          schema:\n            $ref: '#\u002Fcomponents\u002Fschemas\u002FError'\n          example:\n            error:\n              code: \"FORBIDDEN\"\n              message: \"You don't have permission to access this resource\"\n\n    NotFound:\n      description: Resource not found\n      content:\n        application\u002Fjson:\n          schema:\n            $ref: '#\u002Fcomponents\u002Fschemas\u002FError'\n          example:\n            error:\n              code: \"NOT_FOUND\"\n              message: \"The requested resource was not found\"\n\n    RateLimited:\n      description: Rate limit exceeded\n      headers:\n        X-RateLimit-Limit:\n          schema:\n            type: integer\n          description: Request limit per minute\n        X-RateLimit-Remaining:\n          schema:\n            type: integer\n          description: Remaining requests in current window\n        X-RateLimit-Reset:\n          schema:\n            type: integer\n          description: Unix timestamp when the rate limit resets\n      content:\n        application\u002Fjson:\n          schema:\n            $ref: '#\u002Fcomponents\u002Fschemas\u002FError'\n          example:\n            error:\n              code: \"RATE_LIMITED\"\n              message: \"Too many requests. Please retry after 60 seconds\"\n```\n\n## Markdown Documentation\n\n### Endpoint Reference Template\n\n```markdown\n# Create User\n\nCreate a new user account.\n\n## Endpoint\n\n```\nPOST \u002Fv1\u002Fusers\n```\n\n## Authentication\n\nRequires API key with `users:write` permission.\n\n## Request Body\n\n| Field | Type | Required | Description |\n|-------|------|----------|-------------|\n| `email` | string | Yes | User's email address (must be unique) |\n| `name` | string | No | Display name (max 100 characters) |\n| `metadata` | object | No | Custom key-value pairs |\n\n### Example Request\n\n```bash\ncurl -X POST https:\u002F\u002Fapi.example.com\u002Fv1\u002Fusers \\\n  -H \"Authorization: Bearer YOUR_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"email\": \"jane@example.com\",\n    \"name\": \"Jane Doe\"\n  }'\n```\n\n## Response\n\n### Success (201 Created)\n\n```json\n{\n  \"id\": \"usr_abc123\",\n  \"email\": \"jane@example.com\",\n  \"name\": \"Jane Doe\",\n  \"status\": \"pending\",\n  \"created_at\": \"2024-01-15T10:30:00Z\"\n}\n```\n\n### Errors\n\n| Status | Code | Description |\n|--------|------|-------------|\n| 400 | `VALIDATION_ERROR` | Invalid email format or missing required field |\n| 401 | `UNAUTHORIZED` | Invalid or missing authentication |\n| 409 | `USER_EXISTS` | User with this email already exists |\n| 429 | `RATE_LIMITED` | Too many requests |\n\n### Error Example\n\n```json\n{\n  \"error\": {\n    \"code\": \"USER_EXISTS\",\n    \"message\": \"A user with this email already exists\"\n  }\n}\n```\n```\n\n## Code Examples\n\n### Multi-Language Examples\n\n```markdown\n## Code Examples\n\n### cURL\n\n```bash\ncurl -X GET \"https:\u002F\u002Fapi.example.com\u002Fv1\u002Fusers?limit=10\" \\\n  -H \"Authorization: Bearer YOUR_TOKEN\"\n```\n\n### JavaScript (fetch)\n\n```javascript\nconst response = await fetch('https:\u002F\u002Fapi.example.com\u002Fv1\u002Fusers?limit=10', {\n  headers: {\n    'Authorization': 'Bearer YOUR_TOKEN'\n  }\n});\n\nconst data = await response.json();\nconsole.log(data);\n```\n\n### JavaScript (axios)\n\n```javascript\nimport axios from 'axios';\n\nconst { data } = await axios.get('https:\u002F\u002Fapi.example.com\u002Fv1\u002Fusers', {\n  params: { limit: 10 },\n  headers: {\n    'Authorization': 'Bearer YOUR_TOKEN'\n  }\n});\n```\n\n### Python\n\n```python\nimport requests\n\nresponse = requests.get(\n    'https:\u002F\u002Fapi.example.com\u002Fv1\u002Fusers',\n    params={'limit': 10},\n    headers={'Authorization': 'Bearer YOUR_TOKEN'}\n)\n\ndata = response.json()\nprint(data)\n```\n\n### Ruby\n\n```ruby\nrequire 'net\u002Fhttp'\nrequire 'json'\n\nuri = URI('https:\u002F\u002Fapi.example.com\u002Fv1\u002Fusers?limit=10')\nrequest = Net::HTTP::Get.new(uri)\nrequest['Authorization'] = 'Bearer YOUR_TOKEN'\n\nresponse = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|\n  http.request(request)\nend\n\ndata = JSON.parse(response.body)\nputs data\n```\n\n### Go\n\n```go\npackage main\n\nimport (\n    \"encoding\u002Fjson\"\n    \"fmt\"\n    \"net\u002Fhttp\"\n)\n\nfunc main() {\n    req, _ := http.NewRequest(\"GET\", \"https:\u002F\u002Fapi.example.com\u002Fv1\u002Fusers?limit=10\", nil)\n    req.Header.Set(\"Authorization\", \"Bearer YOUR_TOKEN\")\n\n    client := &http.Client{}\n    resp, _ := client.Do(req)\n    defer resp.Body.Close()\n\n    var data map[string]interface{}\n    json.NewDecoder(resp.Body).Decode(&data)\n    fmt.Println(data)\n}\n```\n```\n\n## Error Documentation\n\n### Error Code Reference\n\n```markdown\n# Error Codes\n\nAll API errors follow a consistent format:\n\n```json\n{\n  \"error\": {\n    \"code\": \"ERROR_CODE\",\n    \"message\": \"Human-readable description\",\n    \"details\": []  \u002F\u002F Optional additional information\n  }\n}\n```\n\n## Authentication Errors\n\n| Code | HTTP Status | Description | Resolution |\n|------|-------------|-------------|------------|\n| `UNAUTHORIZED` | 401 | Missing or invalid token | Include a valid `Authorization` header |\n| `TOKEN_EXPIRED` | 401 | Token has expired | Obtain a new token via `\u002Fauth\u002Ftoken` |\n| `INVALID_API_KEY` | 401 | API key not recognized | Check your API key in the dashboard |\n| `FORBIDDEN` | 403 | Insufficient permissions | Request appropriate scopes for your token |\n\n## Validation Errors\n\n| Code | HTTP Status | Description | Resolution |\n|------|-------------|-------------|------------|\n| `VALIDATION_ERROR` | 400 | Request body validation failed | Check the `details` array for specific fields |\n| `MISSING_FIELD` | 400 | Required field not provided | Include all required fields |\n| `INVALID_FORMAT` | 400 | Field format is incorrect | Match the expected format (see schema) |\n\n## Resource Errors\n\n| Code | HTTP Status | Description | Resolution |\n|------|-------------|-------------|------------|\n| `NOT_FOUND` | 404 | Resource doesn't exist | Verify the resource ID is correct |\n| `ALREADY_EXISTS` | 409 | Resource already exists | Use a different identifier or update existing |\n| `CONFLICT` | 409 | State conflict | Refresh and retry the operation |\n\n## Rate Limiting\n\n| Code | HTTP Status | Description | Resolution |\n|------|-------------|-------------|------------|\n| `RATE_LIMITED` | 429 | Too many requests | Wait and retry (see `Retry-After` header) |\n```\n\n## Changelog Documentation\n\n### API Changelog Format\n\n```markdown\n# API Changelog\n\n## 2024-01-15 - v1.2.0\n\n### Added\n- `GET \u002Fusers\u002F{id}\u002Factivity` - Retrieve user activity history\n- `metadata` field on User object for custom data storage\n\n### Changed\n- Pagination now 1-indexed (previously 0-indexed)\n- Rate limits increased: Free tier 100 → 200 req\u002Fmin\n\n### Deprecated\n- `GET \u002Fusers\u002Fsearch` - Use `GET \u002Fusers` with query parameters instead\n  - Will be removed in v2.0.0\n\n### Fixed\n- `created_at` now correctly returns UTC timezone\n\n---\n\n## 2024-01-01 - v1.1.0\n\n### Added\n- Webhook support for user events\n- `status` filter on `GET \u002Fusers`\n\n### Security\n- API keys now support IP allowlisting\n```\n\n## Interactive Documentation\n\n### Swagger UI Configuration\n\n```javascript\n\u002F\u002F swagger-config.js\nconst swaggerUiOptions = {\n  customCss: '.swagger-ui .topbar { display: none }',\n  customSiteTitle: 'API Documentation',\n  customfavIcon: '\u002Ffavicon.ico',\n  swaggerOptions: {\n    persistAuthorization: true,\n    displayRequestDuration: true,\n    filter: true,\n    tryItOutEnabled: true,\n  },\n};\n```\n\n### Redoc Configuration\n\n```yaml\n# redoc.yaml\nx-tagGroups:\n  - name: Getting Started\n    tags:\n      - Authentication\n  - name: Core Resources\n    tags:\n      - Users\n      - Items\n  - name: Utilities\n    tags:\n      - Webhooks\n      - Health\n\nx-logo:\n  url: 'https:\u002F\u002Fexample.com\u002Flogo.png'\n  altText: 'API Logo'\n```\n\n## Documentation Checklist\n\n### Per Endpoint\n- [ ] Summary (one line)\n- [ ] Description (detailed explanation)\n- [ ] All parameters documented with types and examples\n- [ ] All response codes with examples\n- [ ] Error codes with remediation steps\n- [ ] Code examples in at least 2 languages\n- [ ] Authentication requirements stated\n\n### Overall API\n- [ ] Getting started guide\n- [ ] Authentication guide with examples\n- [ ] Rate limiting documentation\n- [ ] Pagination patterns\n- [ ] Error handling guide\n- [ ] Changelog maintained\n- [ ] Versioning strategy documented\n- [ ] SDK\u002Flibrary links\n\n### Developer Experience\n- [ ] Interactive \"Try It\" functionality\n- [ ] Copy-paste ready examples\n- [ ] Consistent terminology\n- [ ] Search functionality\n- [ ] Mobile-friendly rendering\n\n## Tools Integration\n\n### Generate from Code\n\n```bash\n# From Express\u002FNode.js routes\nnpx swagger-jsdoc -d swaggerDef.js -o openapi.yaml\n\n# From TypeScript types\nnpx openapi-typescript-codegen --input openapi.yaml --output .\u002Fsdk\n```\n\n### Validate OpenAPI\n\n```bash\n# Validate spec\nnpx @redocly\u002Fcli lint openapi.yaml\n\n# Preview documentation\nnpx @redocly\u002Fcli preview-docs openapi.yaml\n```\n\n## When to Use This Skill\n\nInvoke this skill when:\n- Creating new API documentation from scratch\n- Adding documentation for new endpoints\n- Writing OpenAPI\u002FSwagger specifications\n- Creating code examples for multiple languages\n- Documenting authentication flows\n- Building developer portals\n- Improving existing API documentation\n- Setting up interactive documentation (Swagger UI, Redoc)\n",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fskills_sh\u002Fs\u002Fskills-sh_jmsktm_claude-settings_api-documentation-writer",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill api-documentation-writer",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill api-documentation-writer",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill api-documentation-writer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fskills_sh\u002Fs\u002Fskills-sh_jmsktm_claude-settings_api-documentation-writer\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]