Files
storybook/docs/_templates/tutorial-template.md
Sienna Meridian Satterwhite 16deb5d237 release: Storybook v0.2.0 - Major syntax and features update
BREAKING CHANGES:
- Relationship syntax now requires blocks for all participants
- Removed self/other perspective blocks from relationships
- Replaced 'guard' keyword with 'if' for behavior tree decorators

Language Features:
- Add tree-sitter grammar with improved if/condition disambiguation
- Add comprehensive tutorial and reference documentation
- Add SBIR v0.2.0 binary format specification
- Add resource linking system for behaviors and schedules
- Add year-long schedule patterns (day, season, recurrence)
- Add behavior tree enhancements (named nodes, decorators)

Documentation:
- Complete tutorial series (9 chapters) with baker family examples
- Complete reference documentation for all language features
- SBIR v0.2.0 specification with binary format details
- Added locations and institutions documentation

Examples:
- Convert all examples to baker family scenario
- Add comprehensive working examples

Tooling:
- Zed extension with LSP integration
- Tree-sitter grammar for syntax highlighting
- Build scripts and development tools

Version Updates:
- Main package: 0.1.0 → 0.2.0
- Tree-sitter grammar: 0.1.0 → 0.2.0
- Zed extension: 0.1.0 → 0.2.0
- Storybook editor: 0.1.0 → 0.2.0
2026-02-13 21:52:03 +00:00

1.5 KiB

[Chapter Title]

Learning Objective: By the end of this chapter, you'll be able to [specific skill].

Why This Matters

[Motivation - explain why this concept is important for storytelling. Connect to narrative creation, not just technical details. Make it inspiring!]

The Concept

[Gentle introduction with metaphor or analogy. Explain in plain language before showing code. Build intuition.]

Example: [Descriptive Name]

Let's see this in action with [character/scenario]:

[Complete, working example with meaningful names]

Walking Through the Example

[Step-by-step explanation of the code above. Call attention to important details. Explain each part's purpose.]

Why It Works

[Explain the semantics - what happens when this code runs? Connect code structure to narrative outcome.]

Try It Yourself

[Guided exercise with clear instructions. Suggest modifications. Encourage experimentation.]

[Exercise template or starting point]

Common Patterns

[Show 2-3 variations of this concept. Highlight when to use each.]

Tips and Tricks

  • [Tip 1]: [Practical advice]
  • [Tip 2]: [Helpful hint]
  • [Tip 3]: [Common pitfall to avoid]

Key Takeaways

  • [Main concept 1]
  • [Main concept 2]
  • [Main concept 3]
  • [How this enables storytelling]

What's Next

[Bridge to next chapter. Create excitement. Show how concepts build.]

Next: Chapter Name


Quick Reference: [Link to relevant reference section]