flet-development

flet-development is a skill for Claude Code, Codex from HnBigVolibear/awesome-flet-development-skill. It costs 92 tokens per session (3,484 once invoked), scanned A, original, MIT.

A development guide for Flet, a Python framework for making desktop and web applications. It covers Flet 1.0 and later, including changes from older versions.

In plain words
What is it for?
Creating Flet projects, migrating from Flet 0.x, and working with controls, animations, asynchronous operations, and layouts.
Why use it?
It helps avoid outdated APIs, incorrect project layouts, and setup problems when creating or updating Flet applications.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Creating Flet projects, migrating from Flet 0.x, and working with controls, animations, asynchronous operations, and layouts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hnbigvolibear/awesome-flet-development-skill/flet-development
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add HnBigVolibear/awesome-flet-development-skill --skill flet-development
Clone the repo
git clone --depth 1 https://github.com/HnBigVolibear/awesome-flet-development-skill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for flet-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/hnbigvolibear/awesome-flet-development-skill/flet-development/github.svg)](https://agentmods.dev/skills/hnbigvolibear/awesome-flet-development-skill/flet-development)
Your own site
<a href="https://agentmods.dev/skills/hnbigvolibear/awesome-flet-development-skill/flet-development"><img src="https://agentmods.dev/badge/skills/hnbigvolibear/awesome-flet-development-skill/flet-development/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for flet-development

Your own site · 80×15
<a href="https://agentmods.dev/skills/hnbigvolibear/awesome-flet-development-skill/flet-development"><img src="https://agentmods.dev/badge/skills/hnbigvolibear/awesome-flet-development-skill/flet-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,484 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00092 $0.03484
Opus 5 $0.00046 $0.01742
Sonnet 5 $0.00018 $0.00697
Haiku 4.5 $0.00009 $0.00348

Measured 10d ago against content hash 1865a93dfeac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

flet-development scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 20 executable files (examples/01_basic_app.py, examples/02_async_clock.py, examples/03_form_validation.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

flet-development/SKILL.md · 414 lines

How it starts

The opening of the file, as written. The whole thing — 414 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Flet 1.0+ 开发指南

Provide expert guidance for developing Flet applications with version 1.0+ (>= 0.82.0), which introduces breaking changes from Flet 0.x and requires updated APIs, patterns, and best practices.


⚠️ CRITICAL: Before You Start

创建新项目时,第一件事必须是:

✅ 项目创建决策树

需要创建新的 Flet 项目?
    ↓
【是否已有项目目录和文件?】
    ├─ 否 → 使用官方脚手架,运行 flet create
    └─ 是 → 直接在用户已经预先准备好的目录和代码文件里开始编写代码。一般默认优先查找改动已有的main.py。
    ↓
【如果是flet create情况,检查生成的文件】
    ├─ pyproject.toml ✅
    ├─ src/main.py ✅
    └─ src/assets/ ✅
    ↓
【开始在 src/main.py 中编写代码】

🚨 常见错误

错误行为 后果 正确做法
直接写代码,不运行 flet create 缺少标准结构、依赖管理 第一步flet create
手动创建 pyproject.toml 版本不兼容、配置错误 使用官方脚手架
在根目录直接创建 main.py 不符合标准项目结构 src/main.py 编写

⚡ 快速开始命令

# 创建新项目(推荐)
flet create

# 运行项目
flet run

⚠️ 重要flet create 会替换现有的 README.md 或 pyproject.toml(如果存在);如果用户要指定项目名称,则原则上禁止项目名称包含大写字母和中文,因为可能会影响后续的项目打包。


When to Use

✅ Invoke this skill when:

触发场景 第一行动 说明
🎨 创建新的 Flet 项目 立即运行 flet create 生成标准项目结构(pyproject.toml、src/main.py 等)
🔧 开发任何 Flet 功能 查阅示例代码和 API 参考 ⚠️ 必须持续查阅,不是只查一次!
🖥️ 开发桌面/Web 应用 加载本 skill 获取最新 API 指导和最佳实践
🔄 从 Flet 0.x 迁移 查阅 Breaking Changes 处理 79+ 个 API 变更
🐛 遇到 API 错误 检查 Critical API Traps BorderRadius、Tabs、Colors、KeyboardEvent 等常见陷阱
⚙️ 异步操作 参考 Procedural Rules 文件选择器、对话框、延迟
🎨 主题和样式 查阅 API Quick Reference Colors、Alignment、Buttons 等

❌ Do NOT invoke for:

  • General Python questions unrelated to Flet
  • Flet 0.x compatibility questions (use migration guidance instead)

Purpose

Flet 1.0+ introduces 79+ breaking changes from Flet 0.x, with all deprecated APIs removed. This skill provides:

  1. Accurate API usage - Verified through Python inspect, not documentation alone
  2. Critical trap avoidance - Common mistakes with BorderRadius, Tabs, Colors, Alignment
  3. Migration guidance - Step-by-step migration from Flet 0.x
  4. Performance patterns - Auto-update mechanism, batch operations

Read the full file on GitHub · 414 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 414 lines · 92 tokens per session scan A 1865a93dfeac

Subscribe to this mod's changes

flet-development is a skill published in the GitHub repository HnBigVolibear/awesome-flet-development-skill (24 stars, last pushed 5mo ago), licensed MIT. It adds 92 tokens to every session and 3,484 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

flet-best-practices

Idiomatic guide for Flet 1.0 applications. Covers declarative UI, hooks, observable state, services, async execution model, and breaking API changes from v0.x. Use this skill to write modern Flet code, migrate imperative apps to reactive patterns, apply breaking changes correctly, and avoid common pitfalls.

mykaro/ai-skills · 74 tokens

huggingface-gradio

Build Gradio web UIs and demos in Python. Use when creating or editing Gradio apps, components, event listeners, layouts, or chatbots.

huggingface/skills · 37 tokens

frontend-conventions

Coding conventions, architecture patterns, and testing rules for the SkillHub React frontend. Ensures agents follow Feature-Sliced Design and use the generated OpenAPI types.

iflytek/skillhub · 36 tokens

shiny-for-python

Building, styling, testing, debugging, or observing a Shiny for Python (py-shiny) reactive web app - from shiny import ..., shiny run app.py. Index skill: read this, then open the linked reference for the task. Covers dashboard design and visual QA; card toolbars and accessible icons; interactive Plotly charts and…

posit-dev/py-shiny · 209 tokens

gpui-toolkit

Use when building or modifying GPUI applications in the gpui-toolkit workspace, especially when choosing reusable toolkit crates, composing UI, adding components, charts, themes, layouts, audio controls, mobile surfaces, or validation coverage. Prefer existing toolkit APIs over custom one-off implementations.

pierreaubert/gpui-toolkit · 60 tokens

fast-dash

Build a Fast Dash web app from a Python function. Use when the user wants to turn a function into an interactive app, add a UI to an existing function, or build a dashboard / form / wizard. Fast Dash infers UI components from type hints, so a well-typed function becomes an app with one decorator.

dkedar7/fast_dash · 69 tokens