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 test assets.
75
92%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
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/controlsdb0df8e
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.