Create flet example projects

From flet-dev/flet · View interactive version

Create flet example projects is an AI agent skill from the GitHub repository flet-dev/flet. Use when asked to create Flet example projects from flat .py files with main.py and pyproject.toml metadata for Gallery/MCP indexing.

How to use this skill

Skill file

When to use

Use this skill when a user asks to:

Goal

Ensure each runnable example is a standalone project containing:

Workflow

  1. Inspect source folder.
  1. Convert or normalize examples.
  1. Add pyproject.toml for each example project.
  1. Infer metadata.
  1. Infer dependencies from imports.
  1. Make examples mobile-safe.
  1. Prefer @ft.control for custom controls in examples.
  1. Remove deprecated Material 3 toggle usage.
  1. Ensure runnable entrypoint.
  1. Update references.
  1. Validate.

Code style

Command checklist

Output expectations

Report:

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.