tutorial-writer
Guidelines for creating learning-oriented tutorial documentation. Use when writing step-by-step content that helps users learn by doing.
What this skill does
# Tutorial Documentation Skill This skill provides guidelines for creating **tutorial** documentation - learning-oriented content in the Diataxis framework. ## Purpose Tutorials help users **learn** by guiding them through a series of steps. The user follows along to gain knowledge and skills. ## User Need > "I want to learn how to use this." ## Characteristics | Attribute | Description | |-----------|-------------| | **Orientation** | Learning | | **Focus** | Study, not work | | **Goal** | Help user acquire skills | | **Tone** | Encouraging, supportive | ## Target Directory Place tutorials in: `docs/getting-started/` ## Writing Guidelines ### DO - Focus on learning, not accomplishing a practical task - Ensure the tutorial works every time the user follows it - Show concrete steps, not abstract concepts - Get the user to a meaningful achievement quickly - Provide only enough explanation to proceed - Use consistent formatting and structure - Test the tutorial yourself before publishing ### DON'T - Assume prior knowledge (explain everything needed) - Offer choices or alternatives (provide one clear path) - Explain concepts in depth (link to explanations instead) - Include troubleshooting (the tutorial should just work) - Cover edge cases (keep the happy path) ## Examples of Good Tutorials - "Getting started with [Project]" - "Your first [Feature]" - "Building a [Simple Thing] in 10 minutes" - "Introduction to [Concept] with hands-on exercises" --- ## Template Use this template when creating tutorial documentation: ```markdown # [Tutorial Title] *Estimated time: [X minutes]* ## What you'll learn By the end of this tutorial, you will: - [Learning outcome 1] - [Learning outcome 2] - [Learning outcome 3] ## Prerequisites Before starting, ensure you have: - [Requirement 1 - e.g., Node.js 18+ installed] - [Requirement 2 - e.g., Basic familiarity with JavaScript] - [Requirement 3 - e.g., A code editor] ## Step 1: [Set up your environment] [Clear instruction for what to do first] [Command or code example] You should see: [Expected output] ## Step 2: [Create your first [thing]] [Clear instruction] [Code example] [Brief explanation of what this does - just enough to proceed] ## Step 3: [Add [feature]] [Clear instruction] [Code example] ## Step 4: [Run and verify] [Instruction to run/test what was built] [Command] You should see: [Expected output showing success] ## What you've accomplished Congratulations! You've successfully: - [Achievement 1] - [Achievement 2] - [Achievement 3] ## Next steps Now that you've completed this tutorial, you can: - [Link to next tutorial in series] - [Link to how-to guide for practical application] - [Link to reference docs for deeper understanding] --- *Having trouble? Check the [troubleshooting guide](../guides/TROUBLESHOOTING.md) or [open an issue](link-to-issues).* ``` --- ## Quality Checklist Apply this checklist before finalizing any tutorial documentation. ### Learning Focus - [ ] Focuses on learning, not accomplishing a practical task - [ ] Gets the user to a meaningful achievement - [ ] Provides only enough explanation to proceed - [ ] Does not overwhelm with information ### Reliability - [ ] Tutorial has been tested end-to-end - [ ] All commands and code examples work - [ ] Expected outputs match actual outputs - [ ] Prerequisites are accurate and complete ### Structure - [ ] Clear, numbered steps - [ ] Each step has one clear action - [ ] Steps build on each other logically - [ ] Estimated time is realistic ### Clarity - [ ] No unexplained jargon - [ ] Instructions are unambiguous - [ ] One clear path (no choices or alternatives) - [ ] Code examples can be copy-pasted ### Beginner-Friendly - [ ] Assumes no prior knowledge of this specific topic - [ ] Explains any necessary context - [ ] Does not skip "obvious" steps - [ ] Encouraging tone ### Completeness - [ ] "What you'll learn" section is accurate - [ ] Prerequisites are listed - [ ] "What you've accomplished" summarizes outcomes - [ ] Next steps point to relevant resources ### Formatting - [ ] Consistent heading structure - [ ] Code blocks have language specified - [ ] Expected output is shown after commands - [ ] No broken links
Related in Writing & Docs
jax-development
IncludedUse this skill when the user is writing, debugging, profiling, refactoring, reviewing, benchmarking, parallelising, exporting, or explaining JAX code, or when they mention JAX, jax.numpy, jit, grad, value_and_grad, vmap, scan, lax, random keys, pytrees, jax.Array, sharding, Mesh, PartitionSpec, NamedSharding, pmap, shard_map, Pallas, XLA, StableHLO, checkify, profiler, or the JAX repo. It helps turn NumPy or PyTorch-style code into pure functional JAX, fix tracer/control-flow/shape/PRNG bugs, remove recompiles and host-device syncs, choose transforms and sharding strategies, inspect jaxpr/lowering/IR, and benchmark compiled code correctly.
nature-article-writer
IncludedDrafts, rewrites, diagnostically critiques, and style-calibrates primary research manuscripts for Nature and Nature Portfolio journals. Use when the user wants a Nature-style title, summary paragraph or abstract, introduction, results, discussion, methods, figure legends, presubmission enquiry, cover letter, reviewer response, or when a scientific draft sounds generic, jargon-heavy, structurally weak, or AI-ish and needs precise, broad-reader-friendly prose without inventing data, analyses, or references. Best for primary research articles and letters rather than reviews or press releases unless explicitly adapting one.
deckrd
IncludedDocument-driven framework that derives requirements, specifications, implementation plans, and executable tasks from goals through structured AI dialogue. Use when user says "write requirements", "create spec", "plan implementation", "derive tasks", "structure this feature", "break down into tasks", or "document this module". Also use for reverse engineering existing code into docs (/deckrd rev). Do NOT use for direct code writing — use /deckrd-coder after tasks are generated. Do NOT use when the user only wants to run or fix existing code without planning.
clinical-decision-support
IncludedGenerate professional clinical decision support (CDS) documents for pharmaceutical and clinical research settings, including patient cohort analyses (biomarker-stratified with outcomes) and treatment recommendation reports (evidence-based guidelines with decision algorithms). Supports GRADE evidence grading, statistical analysis (hazard ratios, survival curves, waterfall plots), biomarker integration, and regulatory compliance. Outputs publication-ready LaTeX/PDF format optimized for drug development, clinical research, and evidence synthesis.
handling-sf-data
IncludedSalesforce data operations with 130-point scoring. Use this skill to create, update, delete, bulk import/export, generate test data, and clean up org records using sf CLI and anonymous Apex. TRIGGER when: user creates test data, performs bulk import/export, uses sf data CLI commands, needs data factory patterns for Apex tests, or needs to seed/clean records in a Salesforce org. DO NOT TRIGGER when: SOQL query writing only (use querying-soql), Apex test execution (use running-apex-tests), or metadata deployment (use deploying-metadata).
accelint-ac-to-playwright
IncludedConvert and validate acceptance criteria for Playwright test automation. Use when user asks to (1) review/evaluate/check if AC are ready for automation, (2) assess if AC can be converted as-is, (3) validate AC quality for Playwright, (4) turn AC into tests, (5) generate tests from acceptance criteria, (6) convert .md bullets or .feature Gherkin files to Playwright specs, (7) create test automation from requirements. Handles both bullet-style markdown and Gherkin syntax with JSON test plan generation and validation.