api-exampleslisted
Install: claude install-skill manastalukdar/ai-devstudio
# API Examples & Tutorial Generator
I'll analyze your API and generate comprehensive usage examples, code snippets, and tutorials for developers.
Arguments: `$ARGUMENTS` - specific API focus or language (e.g., "REST", "GraphQL", "python", "javascript")
## Strategic Planning Process
<think>
Effective API examples require understanding:
1. **API Analysis**
- What type of API? (REST, GraphQL, gRPC, WebSocket)
- What endpoints/operations exist?
- What's the authentication method?
- What are common use cases?
- What error handling is needed?
2. **Audience Consideration**
- Who are the API consumers? (internal, external, partners)
- What languages do they use?
- What's their experience level?
- What examples will be most valuable?
3. **Example Types**
- Quick start / Getting started
- Authentication examples
- CRUD operation examples
- Complex workflow examples
- Error handling patterns
- Best practices and anti-patterns
4. **Format & Organization**
- Code snippets for common operations
- Complete working examples
- Interactive tutorials
- SDK usage examples
- cURL/HTTP examples for testing
</think>
## Token Optimization
**Status:** ✅ Fully Optimized (Phase 2 Batch 4B, 2026-01-27)
**Target:** 65-80% reduction (3,500-5,000 → 900-1,500 tokens)
### Core Strategy: Cache-Based Example Generation
Generate API usage examples efficiently by reusing cached API schemas and pre-built templates instead of analyzing implem