Template storybook

From docxology/template · View interactive version

Template storybook is an AI agent skill from the GitHub repository docxology/template. Full-page illustrated storybook exemplar — symbolic shape-family characters, page-level raster scenes, text overlays, deterministic PDF assembly.

How to use this skill

Skill file

template-storybook

Project-scoped skill for the in-repo exemplar at

projects/templates/template_storybook/. Load this when working inside the project.

When to Use

content, or regenerating illustrated pages.

no-mocks testing) still hold after changes.

Workflow

  1. Read the project AGENTS.md.
  2. Edit story content in content/story.yaml.
  3. Put rendering behavior in src/storybook/ (models.py, characters.py,

story.py, illustration.py, text_layout.py, rendering.py) — never in

scripts/.

  1. Verify with tests and Stage-02 PDF generation.

Quick Reference

# From the repository root
uv run pytest projects/templates/template_storybook/tests --cov=projects/templates/template_storybook/src --cov-fail-under=90
uv run python scripts/pipeline/stage_02_analysis.py --project templates/template_storybook
uv run python scripts/pipeline/stage_03_render.py --project templates/template_storybook
uv run python scripts/pipeline/stage_04_validate.py --project templates/template_storybook
uv run python scripts/pipeline/stage_05_copy.py --project templates/template_storybook

Pitfalls

overlay, and PDF assembly belong in src/storybook/, not in scripts/.

computation.

content/story.yaml and source.

as working directory unless the child AGENTS.md states otherwise.

Cross-refs

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.