@namch/agent-assistant 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/README.md +83 -539
  2. package/agents/backend-engineer.md +0 -8
  3. package/agents/brainstormer.md +0 -6
  4. package/agents/business-analyst.md +0 -5
  5. package/agents/database-architect.md +0 -6
  6. package/agents/debugger.md +0 -6
  7. package/agents/designer.md +0 -5
  8. package/agents/devops-engineer.md +0 -7
  9. package/agents/docs-manager.md +0 -6
  10. package/agents/frontend-engineer.md +0 -7
  11. package/agents/game-engineer.md +0 -7
  12. package/agents/mobile-engineer.md +0 -7
  13. package/agents/performance-engineer.md +0 -7
  14. package/agents/planner.md +0 -6
  15. package/agents/project-manager.md +0 -6
  16. package/agents/researcher.md +0 -5
  17. package/agents/reviewer.md +0 -6
  18. package/agents/scouter.md +0 -6
  19. package/agents/security-engineer.md +0 -7
  20. package/agents/tech-lead.md +0 -7
  21. package/agents/tester.md +0 -5
  22. package/cli/README.md +19 -10
  23. package/documents/business/business-features.md +1 -1
  24. package/documents/business/business-prd.md +4 -4
  25. package/documents/knowledge-architecture.md +1 -1
  26. package/documents/knowledge-domain.md +1 -1
  27. package/documents/knowledge-overview.md +14 -29
  28. package/documents/knowledge-source-base.md +14 -14
  29. package/package.json +1 -1
  30. package/rules/QUICK-REFERENCE.md +4 -1
  31. package/rules/SKILL-DISCOVERY.md +37 -14
  32. package/skills/active-directory-attacks/SKILL.md +383 -0
  33. package/skills/active-directory-attacks/references/advanced-attacks.md +382 -0
  34. package/skills/agent-evaluation/SKILL.md +64 -0
  35. package/skills/agent-memory-mcp/SKILL.md +82 -0
  36. package/skills/agent-memory-systems/SKILL.md +67 -0
  37. package/skills/agent-tool-builder/SKILL.md +53 -0
  38. package/skills/ai-agents-architect/SKILL.md +90 -0
  39. package/skills/ai-product/SKILL.md +54 -0
  40. package/skills/ai-wrapper-product/SKILL.md +273 -0
  41. package/skills/api-documentation-generator/SKILL.md +484 -0
  42. package/skills/api-fuzzing-bug-bounty/SKILL.md +433 -0
  43. package/skills/api-security-best-practices/SKILL.md +907 -0
  44. package/skills/autonomous-agent-patterns/SKILL.md +761 -0
  45. package/skills/autonomous-agents/SKILL.md +68 -0
  46. package/skills/aws-penetration-testing/SKILL.md +405 -0
  47. package/skills/aws-penetration-testing/references/advanced-aws-pentesting.md +469 -0
  48. package/skills/azure-functions/SKILL.md +42 -0
  49. package/skills/backend-dev-guidelines/SKILL.md +342 -0
  50. package/skills/backend-dev-guidelines/resources/architecture-overview.md +451 -0
  51. package/skills/backend-dev-guidelines/resources/async-and-errors.md +307 -0
  52. package/skills/backend-dev-guidelines/resources/complete-examples.md +638 -0
  53. package/skills/backend-dev-guidelines/resources/configuration.md +275 -0
  54. package/skills/backend-dev-guidelines/resources/database-patterns.md +224 -0
  55. package/skills/backend-dev-guidelines/resources/middleware-guide.md +213 -0
  56. package/skills/backend-dev-guidelines/resources/routing-and-controllers.md +756 -0
  57. package/skills/backend-dev-guidelines/resources/sentry-and-monitoring.md +336 -0
  58. package/skills/backend-dev-guidelines/resources/services-and-repositories.md +789 -0
  59. package/skills/backend-dev-guidelines/resources/testing-guide.md +235 -0
  60. package/skills/backend-dev-guidelines/resources/validation-patterns.md +754 -0
  61. package/skills/broken-authentication/SKILL.md +476 -0
  62. package/skills/bullmq-specialist/SKILL.md +57 -0
  63. package/skills/bun-development/SKILL.md +691 -0
  64. package/skills/burp-suite-testing/SKILL.md +380 -0
  65. package/skills/cloud-penetration-testing/SKILL.md +501 -0
  66. package/skills/cloud-penetration-testing/references/advanced-cloud-scripts.md +318 -0
  67. package/skills/computer-use-agents/SKILL.md +315 -0
  68. package/skills/content-creator/SKILL.md +248 -0
  69. package/skills/content-creator/assets/content_calendar_template.md +99 -0
  70. package/skills/content-creator/references/brand_guidelines.md +199 -0
  71. package/skills/content-creator/references/content_frameworks.md +534 -0
  72. package/skills/content-creator/references/social_media_optimization.md +317 -0
  73. package/skills/content-creator/scripts/brand_voice_analyzer.py +185 -0
  74. package/skills/content-creator/scripts/seo_optimizer.py +419 -0
  75. package/skills/context-window-management/SKILL.md +53 -0
  76. package/skills/conversation-memory/SKILL.md +61 -0
  77. package/skills/copy-editing/SKILL.md +439 -0
  78. package/skills/copywriting/SKILL.md +225 -0
  79. package/skills/crewai/SKILL.md +243 -0
  80. package/skills/discord-bot-architect/SKILL.md +277 -0
  81. package/skills/dispatching-parallel-agents/SKILL.md +180 -0
  82. package/skills/email-sequence/SKILL.md +925 -0
  83. package/skills/email-systems/SKILL.md +54 -0
  84. package/skills/ethical-hacking-methodology/SKILL.md +466 -0
  85. package/skills/executing-plans/SKILL.md +76 -0
  86. package/skills/file-path-traversal/SKILL.md +486 -0
  87. package/skills/finishing-a-development-branch/SKILL.md +200 -0
  88. package/skills/frontend-dev-guidelines/SKILL.md +359 -0
  89. package/skills/frontend-dev-guidelines/resources/common-patterns.md +331 -0
  90. package/skills/frontend-dev-guidelines/resources/complete-examples.md +872 -0
  91. package/skills/frontend-dev-guidelines/resources/component-patterns.md +502 -0
  92. package/skills/frontend-dev-guidelines/resources/data-fetching.md +767 -0
  93. package/skills/frontend-dev-guidelines/resources/file-organization.md +502 -0
  94. package/skills/frontend-dev-guidelines/resources/loading-and-error-states.md +501 -0
  95. package/skills/frontend-dev-guidelines/resources/performance.md +406 -0
  96. package/skills/frontend-dev-guidelines/resources/routing-guide.md +364 -0
  97. package/skills/frontend-dev-guidelines/resources/styling-guide.md +428 -0
  98. package/skills/frontend-dev-guidelines/resources/typescript-standards.md +418 -0
  99. package/skills/gcp-cloud-run/SKILL.md +288 -0
  100. package/skills/git-pushing/SKILL.md +33 -0
  101. package/skills/git-pushing/scripts/smart_commit.sh +19 -0
  102. package/skills/github-workflow-automation/SKILL.md +846 -0
  103. package/skills/html-injection-testing/SKILL.md +498 -0
  104. package/skills/idor-testing/SKILL.md +442 -0
  105. package/skills/inngest/SKILL.md +55 -0
  106. package/skills/javascript-mastery/SKILL.md +645 -0
  107. package/skills/kaizen/SKILL.md +730 -0
  108. package/skills/langfuse/SKILL.md +238 -0
  109. package/skills/langgraph/SKILL.md +287 -0
  110. package/skills/linux-privilege-escalation/SKILL.md +504 -0
  111. package/skills/llm-app-patterns/SKILL.md +760 -0
  112. package/skills/metasploit-framework/SKILL.md +478 -0
  113. package/skills/multi-agent-brainstorming/SKILL.md +256 -0
  114. package/skills/neon-postgres/SKILL.md +56 -0
  115. package/skills/nextjs-supabase-auth/SKILL.md +56 -0
  116. package/skills/nosql-expert/SKILL.md +111 -0
  117. package/skills/pentest-checklist/SKILL.md +334 -0
  118. package/skills/pentest-commands/SKILL.md +438 -0
  119. package/skills/plaid-fintech/SKILL.md +50 -0
  120. package/skills/planning-with-files/SKILL.md +211 -0
  121. package/skills/planning-with-files/examples.md +202 -0
  122. package/skills/planning-with-files/reference.md +218 -0
  123. package/skills/planning-with-files/scripts/check-complete.sh +44 -0
  124. package/skills/planning-with-files/scripts/init-session.sh +120 -0
  125. package/skills/planning-with-files/templates/findings.md +95 -0
  126. package/skills/planning-with-files/templates/progress.md +114 -0
  127. package/skills/planning-with-files/templates/task_plan.md +132 -0
  128. package/skills/privilege-escalation-methods/SKILL.md +333 -0
  129. package/skills/production-code-audit/SKILL.md +540 -0
  130. package/skills/prompt-caching/SKILL.md +61 -0
  131. package/skills/prompt-engineering/SKILL.md +171 -0
  132. package/skills/prompt-library/SKILL.md +322 -0
  133. package/skills/rag-engineer/SKILL.md +90 -0
  134. package/skills/rag-implementation/SKILL.md +63 -0
  135. package/skills/react-ui-patterns/SKILL.md +289 -0
  136. package/skills/red-team-tools/SKILL.md +310 -0
  137. package/skills/scanning-tools/SKILL.md +589 -0
  138. package/skills/shodan-reconnaissance/SKILL.md +503 -0
  139. package/skills/slack-bot-builder/SKILL.md +264 -0
  140. package/skills/smtp-penetration-testing/SKILL.md +500 -0
  141. package/skills/social-content/SKILL.md +807 -0
  142. package/skills/software-architecture/SKILL.md +75 -0
  143. package/skills/sql-injection-testing/SKILL.md +448 -0
  144. package/skills/sqlmap-database-pentesting/SKILL.md +400 -0
  145. package/skills/ssh-penetration-testing/SKILL.md +488 -0
  146. package/skills/stripe-integration/SKILL.md +69 -0
  147. package/skills/subagent-driven-development/SKILL.md +240 -0
  148. package/skills/subagent-driven-development/code-quality-reviewer-prompt.md +20 -0
  149. package/skills/subagent-driven-development/implementer-prompt.md +78 -0
  150. package/skills/subagent-driven-development/spec-reviewer-prompt.md +61 -0
  151. package/skills/tavily-web/SKILL.md +36 -0
  152. package/skills/telegram-bot-builder/SKILL.md +254 -0
  153. package/skills/test-driven-development/SKILL.md +371 -0
  154. package/skills/test-driven-development/testing-anti-patterns.md +299 -0
  155. package/skills/test-fixing/SKILL.md +119 -0
  156. package/skills/top-web-vulnerabilities/SKILL.md +543 -0
  157. package/skills/trigger-dev/SKILL.md +67 -0
  158. package/skills/twilio-communications/SKILL.md +295 -0
  159. package/skills/upstash-qstash/SKILL.md +68 -0
  160. package/skills/verification-before-completion/SKILL.md +139 -0
  161. package/skills/voice-agents/SKILL.md +68 -0
  162. package/skills/voice-ai-development/SKILL.md +302 -0
  163. package/skills/windows-privilege-escalation/SKILL.md +496 -0
  164. package/skills/wireshark-analysis/SKILL.md +497 -0
  165. package/skills/wordpress-penetration-testing/SKILL.md +485 -0
  166. package/skills/workflow-automation/SKILL.md +68 -0
  167. package/skills/xss-html-injection/SKILL.md +499 -0
  168. package/skills/zapier-make-patterns/SKILL.md +67 -0
@@ -0,0 +1,484 @@
1
+ ---
2
+ name: api-documentation-generator
3
+ description: "Generate comprehensive, developer-friendly API documentation from code, including endpoints, parameters, examples, and best practices"
4
+ ---
5
+
6
+ # API Documentation Generator
7
+
8
+ ## Overview
9
+
10
+ Automatically generate clear, comprehensive API documentation from your codebase. This skill helps you create professional documentation that includes endpoint descriptions, request/response examples, authentication details, error handling, and usage guidelines.
11
+
12
+ Perfect for REST APIs, GraphQL APIs, and WebSocket APIs.
13
+
14
+ ## When to Use This Skill
15
+
16
+ - Use when you need to document a new API
17
+ - Use when updating existing API documentation
18
+ - Use when your API lacks clear documentation
19
+ - Use when onboarding new developers to your API
20
+ - Use when preparing API documentation for external users
21
+ - Use when creating OpenAPI/Swagger specifications
22
+
23
+ ## How It Works
24
+
25
+ ### Step 1: Analyze the API Structure
26
+
27
+ First, I'll examine your API codebase to understand:
28
+ - Available endpoints and routes
29
+ - HTTP methods (GET, POST, PUT, DELETE, etc.)
30
+ - Request parameters and body structure
31
+ - Response formats and status codes
32
+ - Authentication and authorization requirements
33
+ - Error handling patterns
34
+
35
+ ### Step 2: Generate Endpoint Documentation
36
+
37
+ For each endpoint, I'll create documentation including:
38
+
39
+ **Endpoint Details:**
40
+ - HTTP method and URL path
41
+ - Brief description of what it does
42
+ - Authentication requirements
43
+ - Rate limiting information (if applicable)
44
+
45
+ **Request Specification:**
46
+ - Path parameters
47
+ - Query parameters
48
+ - Request headers
49
+ - Request body schema (with types and validation rules)
50
+
51
+ **Response Specification:**
52
+ - Success response (status code + body structure)
53
+ - Error responses (all possible error codes)
54
+ - Response headers
55
+
56
+ **Code Examples:**
57
+ - cURL command
58
+ - JavaScript/TypeScript (fetch/axios)
59
+ - Python (requests)
60
+ - Other languages as needed
61
+
62
+ ### Step 3: Add Usage Guidelines
63
+
64
+ I'll include:
65
+ - Getting started guide
66
+ - Authentication setup
67
+ - Common use cases
68
+ - Best practices
69
+ - Rate limiting details
70
+ - Pagination patterns
71
+ - Filtering and sorting options
72
+
73
+ ### Step 4: Document Error Handling
74
+
75
+ Clear error documentation including:
76
+ - All possible error codes
77
+ - Error message formats
78
+ - Troubleshooting guide
79
+ - Common error scenarios and solutions
80
+
81
+ ### Step 5: Create Interactive Examples
82
+
83
+ Where possible, I'll provide:
84
+ - Postman collection
85
+ - OpenAPI/Swagger specification
86
+ - Interactive code examples
87
+ - Sample responses
88
+
89
+ ## Examples
90
+
91
+ ### Example 1: REST API Endpoint Documentation
92
+
93
+ ```markdown
94
+ ## Create User
95
+
96
+ Creates a new user account.
97
+
98
+ **Endpoint:** `POST /api/v1/users`
99
+
100
+ **Authentication:** Required (Bearer token)
101
+
102
+ **Request Body:**
103
+ \`\`\`json
104
+ {
105
+ "email": "user@example.com", // Required: Valid email address
106
+ "password": "SecurePass123!", // Required: Min 8 chars, 1 uppercase, 1 number
107
+ "name": "John Doe", // Required: 2-50 characters
108
+ "role": "user" // Optional: "user" or "admin" (default: "user")
109
+ }
110
+ \`\`\`
111
+
112
+ **Success Response (201 Created):**
113
+ \`\`\`json
114
+ {
115
+ "id": "usr_1234567890",
116
+ "email": "user@example.com",
117
+ "name": "John Doe",
118
+ "role": "user",
119
+ "createdAt": "2026-01-20T10:30:00Z",
120
+ "emailVerified": false
121
+ }
122
+ \`\`\`
123
+
124
+ **Error Responses:**
125
+
126
+ - `400 Bad Request` - Invalid input data
127
+ \`\`\`json
128
+ {
129
+ "error": "VALIDATION_ERROR",
130
+ "message": "Invalid email format",
131
+ "field": "email"
132
+ }
133
+ \`\`\`
134
+
135
+ - `409 Conflict` - Email already exists
136
+ \`\`\`json
137
+ {
138
+ "error": "EMAIL_EXISTS",
139
+ "message": "An account with this email already exists"
140
+ }
141
+ \`\`\`
142
+
143
+ - `401 Unauthorized` - Missing or invalid authentication token
144
+
145
+ **Example Request (cURL):**
146
+ \`\`\`bash
147
+ curl -X POST https://api.example.com/api/v1/users \
148
+ -H "Authorization: Bearer YOUR_TOKEN" \
149
+ -H "Content-Type: application/json" \
150
+ -d '{
151
+ "email": "user@example.com",
152
+ "password": "SecurePass123!",
153
+ "name": "John Doe"
154
+ }'
155
+ \`\`\`
156
+
157
+ **Example Request (JavaScript):**
158
+ \`\`\`javascript
159
+ const response = await fetch('https://api.example.com/api/v1/users', {
160
+ method: 'POST',
161
+ headers: {
162
+ 'Authorization': `Bearer ${token}`,
163
+ 'Content-Type': 'application/json'
164
+ },
165
+ body: JSON.stringify({
166
+ email: 'user@example.com',
167
+ password: 'SecurePass123!',
168
+ name: 'John Doe'
169
+ })
170
+ });
171
+
172
+ const user = await response.json();
173
+ console.log(user);
174
+ \`\`\`
175
+
176
+ **Example Request (Python):**
177
+ \`\`\`python
178
+ import requests
179
+
180
+ response = requests.post(
181
+ 'https://api.example.com/api/v1/users',
182
+ headers={
183
+ 'Authorization': f'Bearer {token}',
184
+ 'Content-Type': 'application/json'
185
+ },
186
+ json={
187
+ 'email': 'user@example.com',
188
+ 'password': 'SecurePass123!',
189
+ 'name': 'John Doe'
190
+ }
191
+ )
192
+
193
+ user = response.json()
194
+ print(user)
195
+ \`\`\`
196
+ ```
197
+
198
+ ### Example 2: GraphQL API Documentation
199
+
200
+ ```markdown
201
+ ## User Query
202
+
203
+ Fetch user information by ID.
204
+
205
+ **Query:**
206
+ \`\`\`graphql
207
+ query GetUser($id: ID!) {
208
+ user(id: $id) {
209
+ id
210
+ email
211
+ name
212
+ role
213
+ createdAt
214
+ posts {
215
+ id
216
+ title
217
+ publishedAt
218
+ }
219
+ }
220
+ }
221
+ \`\`\`
222
+
223
+ **Variables:**
224
+ \`\`\`json
225
+ {
226
+ "id": "usr_1234567890"
227
+ }
228
+ \`\`\`
229
+
230
+ **Response:**
231
+ \`\`\`json
232
+ {
233
+ "data": {
234
+ "user": {
235
+ "id": "usr_1234567890",
236
+ "email": "user@example.com",
237
+ "name": "John Doe",
238
+ "role": "user",
239
+ "createdAt": "2026-01-20T10:30:00Z",
240
+ "posts": [
241
+ {
242
+ "id": "post_123",
243
+ "title": "My First Post",
244
+ "publishedAt": "2026-01-21T14:00:00Z"
245
+ }
246
+ ]
247
+ }
248
+ }
249
+ }
250
+ \`\`\`
251
+
252
+ **Errors:**
253
+ \`\`\`json
254
+ {
255
+ "errors": [
256
+ {
257
+ "message": "User not found",
258
+ "extensions": {
259
+ "code": "USER_NOT_FOUND",
260
+ "userId": "usr_1234567890"
261
+ }
262
+ }
263
+ ]
264
+ }
265
+ \`\`\`
266
+ ```
267
+
268
+ ### Example 3: Authentication Documentation
269
+
270
+ ```markdown
271
+ ## Authentication
272
+
273
+ All API requests require authentication using Bearer tokens.
274
+
275
+ ### Getting a Token
276
+
277
+ **Endpoint:** `POST /api/v1/auth/login`
278
+
279
+ **Request:**
280
+ \`\`\`json
281
+ {
282
+ "email": "user@example.com",
283
+ "password": "your-password"
284
+ }
285
+ \`\`\`
286
+
287
+ **Response:**
288
+ \`\`\`json
289
+ {
290
+ "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
291
+ "expiresIn": 3600,
292
+ "refreshToken": "refresh_token_here"
293
+ }
294
+ \`\`\`
295
+
296
+ ### Using the Token
297
+
298
+ Include the token in the Authorization header:
299
+
300
+ \`\`\`
301
+ Authorization: Bearer YOUR_TOKEN
302
+ \`\`\`
303
+
304
+ ### Token Expiration
305
+
306
+ Tokens expire after 1 hour. Use the refresh token to get a new access token:
307
+
308
+ **Endpoint:** `POST /api/v1/auth/refresh`
309
+
310
+ **Request:**
311
+ \`\`\`json
312
+ {
313
+ "refreshToken": "refresh_token_here"
314
+ }
315
+ \`\`\`
316
+ ```
317
+
318
+ ## Best Practices
319
+
320
+ ### ✅ Do This
321
+
322
+ - **Be Consistent** - Use the same format for all endpoints
323
+ - **Include Examples** - Provide working code examples in multiple languages
324
+ - **Document Errors** - List all possible error codes and their meanings
325
+ - **Show Real Data** - Use realistic example data, not "foo" and "bar"
326
+ - **Explain Parameters** - Describe what each parameter does and its constraints
327
+ - **Version Your API** - Include version numbers in URLs (/api/v1/)
328
+ - **Add Timestamps** - Show when documentation was last updated
329
+ - **Link Related Endpoints** - Help users discover related functionality
330
+ - **Include Rate Limits** - Document any rate limiting policies
331
+ - **Provide Postman Collection** - Make it easy to test your API
332
+
333
+ ### ❌ Don't Do This
334
+
335
+ - **Don't Skip Error Cases** - Users need to know what can go wrong
336
+ - **Don't Use Vague Descriptions** - "Gets data" is not helpful
337
+ - **Don't Forget Authentication** - Always document auth requirements
338
+ - **Don't Ignore Edge Cases** - Document pagination, filtering, sorting
339
+ - **Don't Leave Examples Broken** - Test all code examples
340
+ - **Don't Use Outdated Info** - Keep documentation in sync with code
341
+ - **Don't Overcomplicate** - Keep it simple and scannable
342
+ - **Don't Forget Response Headers** - Document important headers
343
+
344
+ ## Documentation Structure
345
+
346
+ ### Recommended Sections
347
+
348
+ 1. **Introduction**
349
+ - What the API does
350
+ - Base URL
351
+ - API version
352
+ - Support contact
353
+
354
+ 2. **Authentication**
355
+ - How to authenticate
356
+ - Token management
357
+ - Security best practices
358
+
359
+ 3. **Quick Start**
360
+ - Simple example to get started
361
+ - Common use case walkthrough
362
+
363
+ 4. **Endpoints**
364
+ - Organized by resource
365
+ - Full details for each endpoint
366
+
367
+ 5. **Data Models**
368
+ - Schema definitions
369
+ - Field descriptions
370
+ - Validation rules
371
+
372
+ 6. **Error Handling**
373
+ - Error code reference
374
+ - Error response format
375
+ - Troubleshooting guide
376
+
377
+ 7. **Rate Limiting**
378
+ - Limits and quotas
379
+ - Headers to check
380
+ - Handling rate limit errors
381
+
382
+ 8. **Changelog**
383
+ - API version history
384
+ - Breaking changes
385
+ - Deprecation notices
386
+
387
+ 9. **SDKs and Tools**
388
+ - Official client libraries
389
+ - Postman collection
390
+ - OpenAPI specification
391
+
392
+ ## Common Pitfalls
393
+
394
+ ### Problem: Documentation Gets Out of Sync
395
+ **Symptoms:** Examples don't work, parameters are wrong, endpoints return different data
396
+ **Solution:**
397
+ - Generate docs from code comments/annotations
398
+ - Use tools like Swagger/OpenAPI
399
+ - Add API tests that validate documentation
400
+ - Review docs with every API change
401
+
402
+ ### Problem: Missing Error Documentation
403
+ **Symptoms:** Users don't know how to handle errors, support tickets increase
404
+ **Solution:**
405
+ - Document every possible error code
406
+ - Provide clear error messages
407
+ - Include troubleshooting steps
408
+ - Show example error responses
409
+
410
+ ### Problem: Examples Don't Work
411
+ **Symptoms:** Users can't get started, frustration increases
412
+ **Solution:**
413
+ - Test every code example
414
+ - Use real, working endpoints
415
+ - Include complete examples (not fragments)
416
+ - Provide a sandbox environment
417
+
418
+ ### Problem: Unclear Parameter Requirements
419
+ **Symptoms:** Users send invalid requests, validation errors
420
+ **Solution:**
421
+ - Mark required vs optional clearly
422
+ - Document data types and formats
423
+ - Show validation rules
424
+ - Provide example values
425
+
426
+ ## Tools and Formats
427
+
428
+ ### OpenAPI/Swagger
429
+ Generate interactive documentation:
430
+ ```yaml
431
+ openapi: 3.0.0
432
+ info:
433
+ title: My API
434
+ version: 1.0.0
435
+ paths:
436
+ /users:
437
+ post:
438
+ summary: Create a new user
439
+ requestBody:
440
+ required: true
441
+ content:
442
+ application/json:
443
+ schema:
444
+ $ref: '#/components/schemas/CreateUserRequest'
445
+ ```
446
+
447
+ ### Postman Collection
448
+ Export collection for easy testing:
449
+ ```json
450
+ {
451
+ "info": {
452
+ "name": "My API",
453
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
454
+ },
455
+ "item": [
456
+ {
457
+ "name": "Create User",
458
+ "request": {
459
+ "method": "POST",
460
+ "url": "{{baseUrl}}/api/v1/users"
461
+ }
462
+ }
463
+ ]
464
+ }
465
+ ```
466
+
467
+ ## Related Skills
468
+
469
+ - `@doc-coauthoring` - For collaborative documentation writing
470
+ - `@copywriting` - For clear, user-friendly descriptions
471
+ - `@test-driven-development` - For ensuring API behavior matches docs
472
+ - `@systematic-debugging` - For troubleshooting API issues
473
+
474
+ ## Additional Resources
475
+
476
+ - [OpenAPI Specification](https://swagger.io/specification/)
477
+ - [REST API Best Practices](https://restfulapi.net/)
478
+ - [GraphQL Documentation](https://graphql.org/learn/)
479
+ - [API Design Patterns](https://www.apiguide.com/)
480
+ - [Postman Documentation](https://learning.postman.com/docs/)
481
+
482
+ ---
483
+
484
+ **Pro Tip:** Keep your API documentation as close to your code as possible. Use tools that generate docs from code comments to ensure they stay in sync!