Skip to content

Commit 6103184

Browse files
committed
feat: initialize FlutterSDK AI skill registry and multi-tool distribution
AI coding skills (Wind UI, Magic Framework), MCP server skeleton, command templates (OpenCode, Claude Code, Cursor, Gemini CLI, VS Code), universal installer, Claude Code plugin manifest, and GitHub Pages deployment workflow for fluttersdk.github.io/ai/
0 parents  commit 6103184

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+6206
-0
lines changed

.claude-plugin/marketplace.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
3+
"name": "fluttersdk-marketplace",
4+
"version": "1.0.0",
5+
"description": "FlutterSDK community AI skills for Flutter development — Wind UI styling, Magic Framework architecture, and more",
6+
"owner": {
7+
"name": "Anilcan Cakir",
8+
"email": "anilcan.cakir@gmail.com"
9+
},
10+
"plugins": [
11+
{
12+
"name": "fluttersdk",
13+
"description": "FlutterSDK AI skills — Wind UI utility-first styling and Magic Framework Laravel-inspired architecture for Flutter",
14+
"source": "./",
15+
"version": "1.0.0",
16+
"author": {
17+
"name": "Anilcan Cakir",
18+
"email": "anilcan.cakir@gmail.com"
19+
},
20+
"category": "development"
21+
}
22+
]
23+
}

.claude-plugin/plugin.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "fluttersdk",
3+
"description": "FlutterSDK AI skills — Wind UI, Magic Framework, and more",
4+
"version": "1.0.0",
5+
"author": {
6+
"name": "Anilcan Cakir",
7+
"email": "anilcan.cakir@gmail.com"
8+
},
9+
"repository": "https://github.com/fluttersdk/ai",
10+
"license": "MIT"
11+
}

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
trim_trailing_whitespace = true
8+
indent_style = space
9+
indent_size = 4
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[*.yml]
15+
indent_size = 4
16+
17+
[Makefile]
18+
indent_style = tab

.github/copilot-instructions.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# FlutterSDK AI — VS Code Copilot Instructions
2+
3+
You are working in a FlutterSDK ecosystem project. Follow these conventions:
4+
5+
## Flutter / Dart
6+
- Use `W`-prefixed widgets from Wind UI (`WDiv`, `WText`, `WButton`) — never raw Flutter widgets when Wind equivalents exist
7+
- All styling via `className` string — never inline `BoxDecoration`, `TextStyle`, or `EdgeInsets`
8+
- Every `bg-`, `text-`, and `border-` class MUST have a `dark:` counterpart
9+
- Trailing commas on last constructor parameter and list item — always
10+
- Multi-line constructor parameters when 3 or more
11+
- `@immutable` + `const` constructors + `copyWith` pattern for value objects
12+
- Flutter-native state only: `InheritedWidget` + `ChangeNotifier` — no BLoC/Riverpod/Provider
13+
14+
## Magic Framework
15+
- `await Magic.init()` in `main()` before any facade call
16+
- Facade-first: `Auth`, `Http`, `Config`, `Cache`, `DB`, `Log`, `Event`, `Lang`, `Route`, `Gate`
17+
- Singleton controllers: `static X get instance => Magic.findOrPut(X.new);`
18+
- Models declare `fillable` — never `guarded = []`
19+
- `MagicFormData` for form state management
20+
21+
## General
22+
- English only for all code, naming, comments
23+
- 4 spaces indent, 120-char max line width, LF endings
24+
- Full type hints on every parameter and return type
25+
- DartDoc (`///`) on all public APIs
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Deploy Skills Registry
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
paths: ["skills/**"]
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
jobs:
18+
deploy:
19+
environment:
20+
name: github-pages
21+
url: ${{ steps.deployment.outputs.page_url }}
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v4
26+
27+
- name: Setup Pages
28+
uses: actions/configure-pages@v4
29+
30+
- name: Upload artifact
31+
uses: actions/upload-pages-artifact@v3
32+
with:
33+
path: "./skills"
34+
35+
- name: Deploy to GitHub Pages
36+
id: deployment
37+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Dependencies
2+
node_modules/
3+
dist/
4+
5+
# OS
6+
.DS_Store
7+
Thumbs.db
8+
9+
# IDE
10+
.idea/
11+
.vscode/
12+
*.swp
13+
*.swo
14+
*~
15+
16+
# Environment
17+
.env
18+
.env.local
19+
.env.*.local
20+
21+
# Build artifacts
22+
*.tgz
23+
*.log
24+
25+
# OpenCode source (if cloned for reference)
26+
opencode-source/

0 commit comments

Comments
 (0)