implement-flet-extension
Skill by flet-dev
Guides an AI assistant through building a new Flet extension that wraps a third-party Flutter package from pub.dev. It covers dependency checks, Python and Flutter integration, docs, examples, tests and CI updates. Aimed at contributors adding flet_* packages.
Install implement-flet-extension
Built from the published package, never by AI.
git clone --depth 1 https://github.com/flet-dev/flet /tmp/flet && mkdir -p ~/.claude/skills && cp -r /tmp/flet/.agents/skills/implement-flet-extension ~/.claude/skills/implement-flet-extensionRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install implement-flet-extension in Claude Code
git clone --depth 1 https://github.com/flet-dev/flet /tmp/flet && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/flet/.agents/skills/implement-flet-extension ~/.gemini/antigravity-cli/skills/implement-flet-extensionAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install implement-flet-extension in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill is a step-by-step guide for building a Flet extension around an external Flutter package. It starts with a dependency gate that checks package health, license compatibility, and whether the used parts build on SDK Material or Cupertino widgets, which Flet does not render. It then covers classifying the control or service, choosing a version strategy, mapping the public API, and writing the Python and Flutter sides using existing flet_* packages as templates.
The checklist covers registering the package in the client app, the SDK and example pyproject files, the CI workflow, and the Flet CLI dependency list. It also sets rules for docs pages, sidebar entries, examples, golden screenshots and integration tests. It is intended for developers contributing new flet_* packages to the Flet repository.
Written from the project's SKILL.md and checked against it.
What it can do
- Third-party dependency gateChecks package health, license, and whether the package fits Flet's Material and Cupertino rendering.
- Control and service classificationDecides whether the wrapped functionality is a LayoutControl, a base Control, or a non-visual Service.
- API mapping rulesGuides which upstream features to expose and how to name them in idiomatic Python.
- Flutter-side rulesSets conventions for imports, enum parsing, property defaults and widget tree shape.
- Integration checklistLists the files to update for the client app, SDK pyproject files, CI and the Flet CLI.
- Docs, examples and testsDescribes doc page layout, sidebar navigation, example files, and integration tests with screenshots.
Try asking
- Help me wrap a pub.dev Flutter package as a new flet_* extension.
- Check whether this Flutter package is safe to use for a Flet extension.
- Show me which files to update to register a new Flet extension in CI.
Good to know
- Written for contributors to the Flet repository, not for end users.
- Example pyproject local path overrides must be removed before opening a PR.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/implement-flet-extension/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md16 KB
Alternatives to implement-flet-extension
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
implement-flet-extension: common questions
What does implement-flet-extension do?
It is a guide that walks through building a Flet extension around an external Flutter package, from dependency selection to CI updates. It points to existing flet_* packages as templates.
When should I use this skill?
The source says to use it when adding any flet_* package backed by an external pub.dev package.
Why can't I use SDK Material widgets in a Flet extension?
Flet renders with the material_ui and cupertino_ui packages, so SDK widgets such as TextField or ListTile fail at runtime with a missing Material widget error.
How do I install implement-flet-extension?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is implement-flet-extension free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is implement-flet-extension safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to implement-flet-extension?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
