Automates the creation of comprehensive, formatted API tutorials.
Install
mkdir -p .claude/skills/llmtornado-tutorial-generator && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3578" && unzip -o skill.zip -d .claude/skills/llmtornado-tutorial-generator && rm skill.zipInstalls to .claude/skills/llmtornado-tutorial-generator
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Generates comprehensive code tutorials on LlmTornado API formatted for Medium publication with examples, explanations, and best practices.Key capabilities
- →Identify tutorial scope
- →Structure Medium-formatted outlines
- →Generate production-ready Python code
- →Apply best practices for API security
- →Save tutorials to local markdown files
How it works
The agent follows a six-step checklist to structure, draft, and format technical tutorials, ensuring code examples and best practices are included before saving to the local filesystem.
Inputs & outputs
When to use llmtornado-tutorial-generator
- →Create API setup guides
- →Write advanced feature tutorials
- →Generate code best practice articles
About this skill
Tutorial Generation Workflow
Copy this checklist and track your progress:
LlmTornado Tutorial Generation Progress:
- [ ] Step 1: Identify tutorial topic and scope
- [ ] Step 2: Structure tutorial outline
- [ ] Step 3: Generate code examples
- [ ] Step 4: Add explanations and best practices
- [ ] Step 5: Format for Medium publication
- [ ] Step 6: Save to local file
Step 1: Identify tutorial topic and scope
Determine the specific aspect of LlmTornado API to cover:
- Basic setup and authentication
- Specific API endpoints (chat completions, embeddings, etc.)
- Advanced features (streaming, function calling, etc.)
- Integration patterns
- Error handling and best practices
- Performance optimization
Ask the user if a specific topic isn't provided:
- What LlmTornado API feature should be covered?
- What's the target audience level (beginner, intermediate, advanced)?
- Are there specific use cases to demonstrate?
Step 2: Structure tutorial outline
Create a comprehensive outline following Medium best practices:
Standard Structure:
- Title - Catchy and SEO-friendly
- Introduction - Hook and overview (2-3 paragraphs)
- Prerequisites - Required knowledge and tools
- Setup Section - Installation and configuration
- Core Concepts - Theory and explanation
- Hands-on Examples - Step-by-step code demonstrations
- Best Practices - Tips and recommendations
- Common Pitfalls - What to avoid
- Conclusion - Summary and next steps
- Resources - Links and references
Step 3: Generate code examples
Create working, production-ready code examples:
Code Example Guidelines:
- Use proper code formatting with language tags
- Include comments explaining each section
- Show both synchronous and async patterns where applicable
- Demonstrate error handling
- Use realistic use cases
- Keep examples concise but complete
- Include expected output or responses
Example Code Block Format for Medium:
# Description of what this code does
import llmtornado
# Initialize the client
client = llmtornado.Client(api_key="your_api_key")
# Your implementation here
Step 4: Add explanations and best practices
For each code example, provide:
- What it does - Clear explanation of functionality
- Why it matters - Use cases and benefits
- How it works - Step-by-step breakdown
- Pro tips - Expert recommendations
- Security considerations - API key management, etc.
Best Practices to Include:
- API key security and environment variables
- Rate limiting and retry logic
- Error handling strategies
- Logging and monitoring
- Cost optimization
- Testing approaches
Step 5: Format for Medium publication
Apply Medium-specific formatting:
Formatting Rules:
- Headings: Use # for title, ## for main sections, ### for subsections
- Code Blocks: Use triple backticks with language identifier
- Inline Code: Use single backticks for
variable_namesandfunction_calls() - Emphasis: Use italics for emphasis, bold for important points
- Lists: Use - or * for bullet points, 1. 2. 3. for numbered lists
- Quotes: Use > for important callouts or tips
- Links: Use text format
- Images: Use
if applicable
Medium Style Guidelines:
- Keep paragraphs short (2-4 sentences)
- Use subheadings every 3-4 paragraphs
- Add callout boxes for important notes
- Include a compelling opening hook
- End with actionable next steps
- Aim for 1500-2500 words for optimal engagement
Step 6: Save to local file
Save the generated tutorial to a local markdown file:
File Naming Convention:
llmtornado-tutorial-[topic]-[date].md
Example: llmtornado-tutorial-chat-completions-2024-01-15.md
File Structure:
/projects/llmtornado-tutorials/
├── llmtornado-tutorial-[topic].md
└── examples/
└── [topic]-example.py
Save both:
- The complete Medium-formatted tutorial (markdown)
- Standalone code examples (Python files)
Additional Considerations
LlmTornado API Features to Cover:
- Chat Completions: Text generation, conversations
- Streaming: Real-time response streaming
- Function Calling: Tool integration
- Embeddings: Vector representations
- Model Selection: Choosing the right model
- Parameters: Temperature, max_tokens, top_p, etc.
- Context Management: Handling conversation history
- Rate Limits: Managing API quotas
Tutorial Enhancement Options:
- Add diagrams or flowcharts (describe them for Medium's image feature)
- Include performance benchmarks
- Compare different approaches
- Show before/after code improvements
- Add troubleshooting section
- Include testing examples
SEO Optimization:
- Use keywords naturally in title and headings
- Include meta description (first paragraph)
- Add relevant tags
- Use descriptive subheadings
Example Usage
When a user requests a tutorial, follow this pattern:
User: "Create a tutorial on LlmTornado chat completions"
Response Process:
- Confirm topic and scope
- Generate full tutorial with:
- Engaging introduction
- Setup instructions
- Multiple code examples
- Best practices
- Troubleshooting tips
- Save to
/projects/llmtornado-tutorials/llmtornado-tutorial-chat-completions-[date].md - Provide file location and preview
Quality Checklist
Before finalizing, ensure:
- All code examples are syntactically correct
- Explanations are clear and beginner-friendly
- Medium formatting is properly applied
- Security best practices are mentioned
- Error handling is demonstrated
- Tutorial has a clear flow from simple to advanced
- Conclusion provides next steps
- File is saved to local filesystem
- Both .md and .py files are created
When not to use it
- →When the user requests non-technical content
- →When the topic is unrelated to LlmTornado API
Prerequisites
Limitations
- →Requires explicit topic input from the user
- →Limited to LlmTornado API features
How it compares
Unlike manual drafting, this skill enforces a specific Medium-ready structure and validates code examples against a predefined quality checklist.
Compared to similar skills
llmtornado-tutorial-generator side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| llmtornado-tutorial-generator (this skill) | 1 | 9mo | No flags | Beginner |
| docs-write | 22 | 6mo | No flags | Beginner |
| content-research-writer | 15 | 10mo | No flags | Beginner |
| doc-coauthoring | 16 | 8mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by lofcz
View all by lofcz →You might also like
docs-write
metabase
Write documentation following Metabase's conversational, clear, and user-focused style. Use when creating or editing documentation files (markdown, MDX, etc.).
content-research-writer
ComposioHQ
Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.
doc-coauthoring
anthropics
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.
research-grants
davila7
Write competitive research proposals for NSF, NIH, DOE, and DARPA. Agency-specific formatting, review criteria, budget preparation, broader impacts, significance statements, innovation narratives, and compliance with submission requirements.
teams-channel-post-writer
daymade
Creates educational Teams channel posts for internal knowledge sharing about Claude Code features, tools, and best practices. Applies when writing posts, announcements, or documentation to teach colleagues effective Claude Code usage, announce new features, share productivity tips, or document lessons learned. Provides templates, writing guidelines, and structured approaches emphasizing concrete examples, underlying principles, and connections to best practices like context engineering. Activates for content involving Teams posts, channel announcements, feature documentation, or tip sharing.
write-docs
tldraw
Writing SDK documentation for tldraw. Use when creating new documentation articles, updating existing docs, or when documentation writing guidance is needed. Applies to docs in apps/docs/content/.