.agents/skills/update-flet-control-doc-gifs/SKILL.md
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.
sdk/python/packages/flet/integration_tests/examples.page.enable_screenshots = Truetheme_mode when visuals matterkey only when there is no reliable human-facing locatorpump_and_settle() after each interactionassert_screenshot(...) for regular golden screenshots and create_gif([...], "<flow_name>", duration=...) only when the docs benefit from an animated flow.create_gif(...) when they do not need standalone golden files.examples/.../media, when the integration-test asset is now the better docs artifact.website/static/docs/test-images/... as part of this workflow.before_click, hover_popup, popup_open, checked_item_reopened.app_bar_flow.image_for_docs, popup_open, or checked_item_reopened.test_actions_and_popup_menu; avoid placeholder names like test_basic when the test covers a specific flow.frontMatter.example_images.example_images pointing at example media instead of generated test images, update that front matter first so the page has a single source of truth for screenshots and GIFs.CodeExample block so each visual stays paired with the example it demonstrates.frontMatter.example_media + '/old.png' or frontMatter.example_media + '/old.gif', replace it with frontMatter.example_images + '/<asset>' when the generated integration-test asset is the new source of truth.sdk/python/packages/flet/integration_tests/examples/.../golden/macos/<control>/.website/static/docs/test-images/... as part of this skill. Keep the work limited to tests and docs references unless the user explicitly asks for a copy.sdk/python/packages/flet/integration_tests/examplessdk/python/packages/flet/integration_tests/examples/controls/material/test_alert_dialog.pysdk/python/packages/flet/integration_tests/examples/controls/material/test_app_bar.pywebsite/docs/controls