Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (flutter-pro-max-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
π Flutter Pro Max CLI
The official command-line interface for deploying Flutter Pro Max technical intelligence to your favorite AI coding assistants.
π¦ Installation
The Quick Way (Recommended)
Bootstrap any project in seconds. This command will guide you through selecting and installing the skill for your environment.
npx flutter-pro-max-cliGlobal Installation
For heavy users who want the flutter-pro-max command available everywhere:
# Install globally
npm install -g flutter-pro-max-cli
# Initialize in your project
flutter-pro-max initπ οΈ Usage
Interactive Setup
Simply run the command and follow the prompts to detect and install the skill for your active AI assistants.
flutter-pro-max initScripted Installation
For CI/CD or automated setups, you can specify the assistant type directly:
# Install for a specific assistant
flutter-pro-max init --ai claude
flutter-pro-max init --ai cursor
flutter-pro-max init --ai antigravity
# Install for all supported assistants
flutter-pro-max init --ai allOther Commands
# List available versions from GitHub releases
flutter-pro-max versions
# Update to the latest version
flutter-pro-max update
flutter-pro-max update --ai claudeπ€ Supported AI Assistants
This CLI bridges the gap between the Flutter Pro Max knowledge base and your development tools (16 platforms):
| Assistant | Type Flag | Install Type | Template | Limit |
|---|---|---|---|---|
| Claude Code | claude |
Full | Full (~15KB) | No Limit |
| Codex CLI | codex |
Full | Full (~15KB) | No Limit |
| Continue | continue |
Full | Full (~15KB) | No Limit |
| JetBrains AI (Junie) | junie |
Full | Full (~15KB) | No Limit |
| Gemini CLI | gemini |
Full | Full (~15KB) | 1M+ Tokens |
| OpenCode | opencode |
Full | Full (~15KB) | No Limit |
| CodeBuddy | codebuddy |
Full | Full (~15KB) | No Limit |
| Trae | trae |
Full | Full (~15KB) | No Limit |
| Antigravity (Google) | antigravity |
Full | Compact (~5KB) | 12,000 chars |
| Cursor | cursor |
Reference | Full (~13KB) | No Limit |
| Windsurf | windsurf |
Reference | Full (~13KB) | No Limit |
| GitHub Copilot | copilot |
Full | Full (~15KB) | No Limit |
| VS Code | vscode |
Full | Full (~15KB) | No Limit |
| Kiro | kiro |
Reference | Full (~13KB) | No Limit |
| RooCode | roocode |
Reference | Full (~13KB) | No Limit |
| Qodo/Qoder | qoder |
Reference | Full (~13KB) | No Limit |
Install Types:
- Full: Data vΓ scripts nαΊ±m trong skill folder (standalone, ~500KB)
- Reference: Skill file trα» ΔαΊΏn
.shared/folder chung (tiαΊΏt kiα»m dung lượng khi dΓΉng nhiα»u assistants)
Templates (theo platform limits - dα»±a trΓͺn Flutter AI Rules):
- Full (~15KB): ΔαΊ§y Δα»§ rules, code examples, Material 3 theming, accessibility
- Compact (~5KB): Core rules, essential patterns (Antigravity 12k limit)
- Mini (~2KB): Essential rules only (Copilot ~4k limit)
π What Gets Installed
Data Files (17 domains)
| Domain | File | Description |
|---|---|---|
| Widgets | widget.csv |
65+ Flutter widgets |
| Packages | package.csv |
100+ packages vα»i alternatives |
| Patterns | patterns.csv |
110+ design patterns |
| Architecture | architect.csv |
Architecture layers |
| Performance | flutter-performance.csv |
35 optimization patterns |
| Accessibility | mobile-accessibility.csv |
35 accessibility patterns |
| UI Reasoning | ui-reasoning.csv |
35 app category decisions |
| Colors | colors.csv |
50+ color palettes |
| Typography | typography.csv |
40+ font pairings |
| Styles | styles.csv |
60+ UI styles |
| UX | ux-guidelines.csv |
50+ UX rules |
| Icons | icons.csv |
100+ icon recommendations |
| Landing | landing.csv |
30+ landing patterns |
| Products | products.csv |
40+ product recommendations |
| Prompts | prompts.csv |
30+ AI prompts |
| Charts | charts.csv |
20+ chart types |
| Naming | name_convention.csv |
Naming conventions |
Search Scripts
search.py- BM25 search CLIcore.py- Search engine core
π§ Development
If you want to contribute or modify the CLI:
# Clone and install
git clone https://github.com/btLong402/flutter-skill.git
cd cli
npm install
# Build the project
npm run build
# Run locally
node dist/index.js init --ai claude
# Test search
node dist/index.js init --ai claude
cd .claude/skills/flutter-pro-max
python3 scripts/search.py "ListView" --domain widget --top 3π Project Structure
cli/
βββ src/
β βββ index.ts # CLI entry point
β βββ commands/
β β βββ init.ts # Install command
β β βββ versions.ts # List versions
β β βββ update.ts # Update command
β βββ types/
β β βββ index.ts # TypeScript types
β βββ utils/
β βββ detect.ts # AI type detection
β βββ github.ts # GitHub API client
β βββ logger.ts # Console logger
β βββ template.ts # Template renderer
βββ assets/
β βββ data/ # 17 CSV knowledge files
β βββ scripts/ # Python search scripts
β βββ templates/
β βββ base/ # Markdown templates
β β βββ skill-content.md # Full template (~13KB)
β β βββ skill-content-10k.md # Compact (~5KB)
β β βββ skill-content-4k.md # Mini (~2KB)
β β βββ quick-reference.md # Add-on (~2KB)
β βββ platforms/ # 16 platform JSON configs
βββ package.json
βββ tsconfig.jsonπ License
This project is licensed under the MIT License - see the LICENSE file for details.
π Changelog
v2.3.0 (2026-02-06)
- VS Code 1.109 Support: GitHub Copilot vΓ VS Code sα» dα»₯ng
.github/skills/format - Breaking Change: Copilot/VS Code chuyα»n tα»« prompts/instructions sang Skills
- Full Install: Copilot vΓ VS Code nay sα» dα»₯ng full template (~15KB) thay vΓ¬ mini
v2.2.0 (2026-02-02)
- Flutter AI Rules: CαΊp nhαΊt theo Flutter Official AI Rules
- Platform Limits: TαΊ‘o templates phΓΉ hợp vα»i giα»i hαΊ‘n tα»«ng platform
skill-content.md(~13KB) - Full templateskill-content-10k.md(~5KB) - Compact (Antigravity)skill-content-4k.md(~2KB) - Mini (Copilot, VS Code)
- New Platforms: JetBrains AI (Junie), VS Code
- Native-First State: ValueNotifier/ChangeNotifier mαΊ·c Δα»nh
v2.1.0 (2026-01-27)
- Type Safety: Full Python type hints cho Pylance strict mode
- Python 3.10+: Minimum Python version updated
- Code Quality: XΓ³a unused imports, fix linter warnings
v2.0.0
- PhiΓͺn bαΊ£n ΔαΊ§u tiΓͺn vα»i 14 AI assistant support
Streamline your Flutter development with AI-powered architectural intelligence.