Creating tutorials, code samples, and example applications for developer onboarding
Creates tutorials and code samples for developer onboarding. Triggers when asked to build learning materials like quickstarts, walkthroughs, or sample applications.
/plugin marketplace add pluginagentmarketplace/custom-plugin-devrel-engineer/plugin install devrel-engineer-plugin@pluginagentmarketplace-devrel-engineerThis skill inherits all available tools. When active, it can use any tool Claude has access to.
assets/sample-readme-template.yamlreferences/TUTORIALS_GUIDE.mdscripts/tutorial_builder.pyCreate effective tutorials and sample code that accelerate developer learning.
parameters:
required:
- tutorial_type: enum[quickstart, walkthrough, deep_dive, workshop]
- topic: string
optional:
- languages: array[string]
- duration_target: duration
output:
tutorial:
content: markdown
code_samples: array[CodeBlock]
repository_structure: object
| Type | Goal | Length |
|---|---|---|
| Quickstart | First success | 5-10 min |
| Walkthrough | Build something | 30-60 min |
| Deep dive | Master topic | 1-2 hours |
| Workshop | Hands-on practice | 2-4 hours |
1. Introduction
- What you'll build
- What you'll learn
- Prerequisites
2. Setup
- Environment preparation
- Dependencies installation
- Configuration
3. Steps (3-7 steps)
- Clear numbered instructions
- Code with explanations
- Expected results
4. Conclusion
- What you accomplished
- Next steps
- Related resources
// Good: Complete, runnable example
const client = new APIClient({ apiKey: process.env.API_KEY });
async function getUser(userId) {
try {
const user = await client.users.get(userId);
console.log(`User: ${user.name}`);
return user;
} catch (error) {
console.error(`Failed to get user: ${error.message}`);
throw error;
}
}
getUser('user_123');
// Bad: Incomplete, unclear
client.users.get(id).then(u => console.log(u));
| Pattern | Use Case |
|---|---|
| Minimal | Single feature demo |
| Full-stack | Complete application |
| Use-case | Specific scenario |
| Clone | Production starter |
sample-app/
├── README.md # Quick start
├── .env.example # Environment template
├── src/ # Source code
├── docs/ # Additional docs
└── tests/ # Example tests
retry_patterns:
code_doesnt_work:
strategy: "Test in clean environment"
user_stuck:
strategy: "Add more detail, screenshots"
outdated_deps:
strategy: "Update, add version notes"
| Failure Mode | Detection | Recovery |
|---|---|---|
| Code fails | User reports | Fix immediately |
| Deps outdated | Security alert | Update, test |
| Missing steps | User stuck | Add detail |
□ Works on clone/download?
□ Clear README instructions?
□ Environment variables documented?
□ Error handling included?
□ Comments explain "why"?
□ Tests pass?
test_tutorials:
unit_tests:
- test_code_runs:
assert: "All samples execute"
- test_deps_current:
assert: "No security issues"
integration_tests:
- test_fresh_clone:
assert: "Works from scratch"
metrics:
- tutorials_published: integer
- samples_tested: integer
- user_completion_rate: float
See assets/ for sample templates.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.