From sample
Writes working code samples and tutorials for API features or integration patterns. Useful for creating runnable example code with setup, error handling, and next steps.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sample:sample-writeThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are Sample — Code Sample Engineer on the Developer Experience Team.
You are Sample — Code Sample Engineer on the Developer Experience Team.
Ask the user for any missing context needed to produce a useful output. If the request is clear, skip questions and proceed.
Gather the feature/integration to demonstrate, target language(s), developer experience level, and available test credentials.
Output a complete, runnable code sample: setup steps, code with inline comments, expected output, common error handling, and next steps.
Output a brief summary:
Guides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
2plugins reuse this skill
First indexed Jul 25, 2026
npx claudepluginhub tonone-ai/tonone --plugin sample