AI coding skills for the FlutterSDK ecosystem.
Teach your AI assistant Wind UI, Magic Framework, and more — across every major coding tool.
Registry · Issues · Quick Start
AI coding assistants are powerful — but they don't know your frameworks. They hallucinate widget names, guess at API patterns, and miss conventions.
FlutterSDK AI fixes this. It gives your AI structured knowledge about Wind UI's className system, Magic Framework's Laravel-inspired architecture, and more — so it generates correct code on the first try.
One install, every tool:
| Tool | Integration |
|---|---|
| OpenCode | URL-based skill registry |
| Claude Code | Plugin + Marketplace |
| Cursor | Rules (.mdc) |
| Gemini CLI | Command templates (.toml) |
| VS Code Copilot | Instructions (.md) |
Utility-first styling for Flutter — Tailwind CSS syntax, but for widgets.
// Your AI generates this correctly — every time
WDiv(
className: 'flex flex-col gap-6 p-6 bg-white dark:bg-gray-900 rounded-xl shadow-lg',
children: [
WText('Dashboard', className: 'text-2xl font-bold text-gray-900 dark:text-white'),
WButton(
onTap: _refresh,
className: 'bg-blue-600 hover:bg-blue-700 text-white px-6 py-3 rounded-lg',
child: Text('Refresh'),
),
],
)20 widgets · responsive breakpoints · dark mode · state styling · server-driven UI
Laravel-inspired Flutter framework with IoC Container, Facades, Eloquent ORM, and GoRouter wrapper.
// Your AI knows the full Magic API — controllers, facades, ORM, routing
class UserController extends MagicController {
Future<MagicResponse> index() async {
final users = await User.query().where('active', true).get();
return response.ok(users);
}
}Eloquent ORM · Facades · Auth · Forms & Validation · HTTP · CLI scaffolding
The fastest way — works with 40+ AI coding agents.
# Install all FlutterSDK skills to all detected agents
npx skills add fluttersdk/ai
# Install a specific skill
npx skills add fluttersdk/ai --skill wind-ui
# Install globally (available across all projects)
npx skills add fluttersdk/ai -ggit clone https://github.com/fluttersdk/ai.git && cd ai
# Preview what would be installed
bash scripts/install.sh --dry-run --global
# Install globally for all detected tools
bash scripts/install.sh --global
# Or install into your current Flutter project
bash scripts/install.sh --projectOpenCode
Add the registry URL to your opencode.json:
{
"skills": {
"urls": ["https://fluttersdk.github.io/ai/"]
}
}Skills are fetched automatically and cached locally.
Claude Code
# From local clone
claude plugin install --plugin-dir ./path/to/fluttersdk-ai
# Or via marketplace
/plugin marketplace add fluttersdk/ai
/plugin install fluttersdk@fluttersdk-marketplaceSkills are namespaced as /fluttersdk:wind-ui and /fluttersdk:magic-framework.
Cursor
mkdir -p .cursor/rules
cp commands/cursor/fluttersdk.mdc .cursor/rules/Activates automatically for all .dart files.
Gemini CLI
mkdir -p ~/.gemini/commands
cp commands/gemini/*.toml ~/.gemini/commands/Use with /flutter-review and /flutter-test commands.
VS Code Copilot
mkdir -p .github
cp .github/copilot-instructions.md .github/skills/index.json ← OpenCode fetches this from GitHub Pages
→ wind-ui/SKILL.md ← Skill definition + className rules
→ wind-ui/references/*.md ← On-demand widget docs, layout patterns, tokens
→ magic-framework/SKILL.md ← Skill definition + framework laws
→ magic-framework/refs/*.md ← Controllers, ORM, facades, routing, auth, ...
OpenCode: Fetches fluttersdk.github.io/ai/index.json, downloads listed skill files, caches locally.
Claude Code: Plugin manifest (.claude-plugin/plugin.json) makes the repo installable. Skills in skills/ are auto-discovered and namespaced under /fluttersdk:.
Deployment: Push to main → GitHub Actions deploys skills/ to GitHub Pages automatically.
- Create
skills/<skill-name>/SKILL.mdwith YAML frontmatter (name,description) - Add reference files in
skills/<skill-name>/references/ - Update
skills/index.json— list every file in thefilesarray - Bump version in
.claude-plugin/plugin.jsonand.claude-plugin/marketplace.json - Push to
main
See CLAUDE.md for the full specification.
Important: Every file must be listed in
index.json— OpenCode only downloads listed files. Forgetting a file means users get incomplete skills.
MIT — see LICENSE for details.
Built with care by FlutterSDK
If this saves you time, give it a star — it helps others discover it.
