Skip to content

Using Storyteller Flutter SDK Docs with AI Assistants#

This guide explains how to use Storyteller Flutter SDK documentation with AI-powered coding assistants to speed up integration and troubleshooting.

Why Use AI Assistants with Documentation#

AI coding assistants (GitHub Copilot, Claude, Codex, Cursor, etc.) work best when they have the exact SDK docs and API surface in context. Providing the Storyteller docs can help you:

  • Get code suggestions that match the Storyteller Flutter API
  • Troubleshoot integration issues faster (initialization, theming, deep links, analytics)
  • Avoid guessing platform-specific constraints (iOS vs Android)

Adding Documentation to Your Editor#

Copy public-docs/ai/llms.txt from this repository and paste it into your AI tool as project context.

The bundle contains summaries, integration steps and selected examples from the individual guides. For complete source text, use the matching public-docs/ai/llms-<slug>.txt file and its Canonical Reference. Analytics and release notes are maintained as separate exports: public-docs/ai/llms-analytics.txt and public-docs/ai/llms-changelog.txt. Add those files when your question needs event details or version history. Include your installed package version and target platform. Development docs can contain explicitly Unreleased behavior; compare the Changelog before using it. For a failing integration, include the observed symptom and the step from Troubleshooting. Validate generated code against the exported Flutter API and your application toolchain.

Example Prompts#

  1. "Using the Storyteller Flutter SDK docs, help me initialize Storyteller in my app. Here is my main()."
  2. "Show a minimal StorytellerStoriesRowView integration and how to reload data."
  3. "I need to integrate deep links. Based on the docs, where should I call Storyteller.openDeeplink(...)?"
  4. "Help me customize a theme (fonts + colors) using StorytellerTheme."

Additional Resources#

  • Showcase app entry point: https://github.com/getstoryteller/storyteller-showcase-flutter/blob/main/lib/main.dart#L11
  • Minimal example app in this repo: packages/storyteller_sdk/example/