Update flet control doc gifs

From flet-dev/flet · View interactive version

Update flet control doc gifs is an AI agent skill from the GitHub repository flet-dev/flet. Create or update Flet control screenshots and GIFs that are generated from integration tests and shown in docs. Use when working on `sdk/python/packages/flet/integration_tests/examples`, refreshing static or interactive golden screenshots, or replacing old example media images or GIFs with generated

How to use this skill

Skill file

Update Flet Control Doc Gifs

Use this skill after the integration test structure is already in place and the task is to capture doc-ready screenshots or interactive GIF states from integration tests.

Workflow

  1. Locate the example-backed integration test under sdk/python/packages/flet/integration_tests/examples.
  2. Prefer extending an existing interaction test instead of creating a second flow test.
  3. Build the visual sequence with deterministic states:
  1. Capture only states that are visually meaningful:
  1. Use assert_screenshot(...) for regular golden screenshots and create_gif([...], "<flow_name>", duration=...) only when the docs benefit from an animated flow.
  1. Update docs to use the generated screenshot or GIF, not an old media asset from examples/.../media, when the integration-test asset is now the better docs artifact.
  2. Update docs references to point at the intended generated screenshot or GIF path, but do not copy generated assets into website/static/docs/test-images/... as part of this workflow.

Naming

Docs Update Rules

Verification Checklist

References

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.