packwise-skills 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cursorrules +23 -23
- package/CLAUDE.md +25 -25
- package/LICENSE +21 -0
- package/README.md +404 -295
- package/audit.md +224 -224
- package/bin/packwise.js +322 -155
- package/install.sh +123 -0
- package/package.json +32 -31
- package/skill.md +944 -719
- package/sub-skills/ai/local-llm.md +183 -183
- package/sub-skills/ai/python-ml.md +164 -164
- package/sub-skills/backend/go-server.md +184 -184
- package/sub-skills/backend/java-spring.md +241 -241
- package/sub-skills/backend/node-server.md +164 -164
- package/sub-skills/backend/php-laravel.md +175 -175
- package/sub-skills/backend/python-server.md +164 -164
- package/sub-skills/backend/rust-backend.md +118 -118
- package/sub-skills/cli/python-cli.md +236 -236
- package/sub-skills/cli/sdk-library.md +497 -497
- package/sub-skills/cloud/ci-cd-pipelines.md +350 -350
- package/sub-skills/cloud/docker.md +191 -191
- package/sub-skills/cloud/kubernetes.md +277 -277
- package/sub-skills/cloud/payment-integration.md +307 -307
- package/sub-skills/cross-platform/multiplatform.md +252 -252
- package/sub-skills/desktop/electron.md +783 -783
- package/sub-skills/desktop/game-dev.md +443 -443
- package/sub-skills/desktop/native-app.md +123 -123
- package/sub-skills/desktop/scenarios.md +443 -443
- package/sub-skills/desktop/smart-platforms.md +324 -324
- package/sub-skills/desktop/tauri.md +428 -428
- package/sub-skills/desktop/vr-ar.md +252 -252
- package/sub-skills/desktop/web-to-desktop.md +153 -153
- package/sub-skills/embedded/car-infotainment.md +129 -129
- package/sub-skills/embedded/esp32.md +184 -184
- package/sub-skills/embedded/ros.md +150 -150
- package/sub-skills/embedded/stm32.md +160 -160
- package/sub-skills/mobile/android.md +322 -322
- package/sub-skills/mobile/capacitor.md +232 -232
- package/sub-skills/mobile/flutter-mobile.md +138 -138
- package/sub-skills/mobile/harmonyos.md +150 -150
- package/sub-skills/mobile/ios.md +245 -245
- package/sub-skills/mobile/react-native.md +443 -443
- package/sub-skills/mobile/wearables.md +230 -230
- package/sub-skills/plugins/browser-extension.md +308 -308
- package/sub-skills/plugins/jetbrains-plugin.md +226 -226
- package/sub-skills/plugins/vscode-extension.md +204 -204
- package/sub-skills/security/security-tools.md +174 -174
- package/sub-skills/web/monorepo.md +274 -274
- package/sub-skills/web/pwa.md +220 -220
- package/sub-skills/web/serverless-edge.md +295 -295
- package/sub-skills/web/spa.md +266 -266
- package/sub-skills/web/ssr.md +228 -228
- package/sub-skills/web/wasm.md +243 -243
|
@@ -1,123 +1,123 @@
|
|
|
1
|
-
# Native Application Build Sub-Skill
|
|
2
|
-
|
|
3
|
-
For Qt, Flutter, .NET Avalonia frameworks. Suitable for performance-sensitive, system-integrated small-to-medium team projects.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Qt (C++/Python)
|
|
8
|
-
|
|
9
|
-
**When to use**: IoT control panel, industrial software, audio/video tools, database clients
|
|
10
|
-
|
|
11
|
-
### Build
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
# CMake project
|
|
15
|
-
mkdir build && cd build
|
|
16
|
-
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/path/to/qt
|
|
17
|
-
cmake --build . --config Release -j$(nproc)
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
### Deploy
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
windeployqt release/MyApp.exe # Windows
|
|
24
|
-
macdeployqt MyApp.app -dmg # macOS
|
|
25
|
-
linuxdeployqt MyApp.AppImage # Linux
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
### Python PyQt
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
pyinstaller --onefile --windowed app.py
|
|
32
|
-
# or Nuitka (better performance)
|
|
33
|
-
python -m nuitka --standalone --enable-plugin=pyqt5 --onefile app.py
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
### Common Pitfalls
|
|
37
|
-
|
|
38
|
-
| Issue | Fix |
|
|
39
|
-
|-------|-----|
|
|
40
|
-
| Missing DLL | windeployqt didn't copy, manually add |
|
|
41
|
-
| High DPI blurry | `AA_EnableHighDpiScaling` |
|
|
42
|
-
| LGPL compliance | Dynamic linking or buy commercial license |
|
|
43
|
-
|
|
44
|
-
---
|
|
45
|
-
|
|
46
|
-
## Flutter Desktop (3.44.x / Dart 3.12.x)
|
|
47
|
-
|
|
48
|
-
**When to use**: Existing Flutter mobile project, need unified mobile + desktop UI. Single codebase for mobile, web, and desktop. Impeller rendering engine now default on all platforms.
|
|
49
|
-
|
|
50
|
-
### Build
|
|
51
|
-
|
|
52
|
-
```bash
|
|
53
|
-
flutter config --enable-windows-desktop
|
|
54
|
-
flutter config --enable-macos-desktop
|
|
55
|
-
flutter config --enable-linux-desktop
|
|
56
|
-
|
|
57
|
-
flutter create --platforms=windows,macos,linux my_app
|
|
58
|
-
flutter build windows
|
|
59
|
-
flutter build macos # Universal Binary
|
|
60
|
-
flutter build linux
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
### Package
|
|
64
|
-
|
|
65
|
-
```bash
|
|
66
|
-
# Windows MSIX
|
|
67
|
-
flutter pub add msix
|
|
68
|
-
flutter pub run msix:create
|
|
69
|
-
|
|
70
|
-
# macOS DMG
|
|
71
|
-
create-dmg build/macos/Build/Products/Release/MyApp.app
|
|
72
|
-
|
|
73
|
-
# Linux AppImage
|
|
74
|
-
appimagetool MyApp.AppDir MyApp.AppImage
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
### Common Pitfalls
|
|
78
|
-
|
|
79
|
-
| Issue | Fix |
|
|
80
|
-
|-------|-----|
|
|
81
|
-
| Windows missing MSVC | Install Visual Studio Build Tools |
|
|
82
|
-
| Linux missing deps | sudo apt install clang cmake ninja-build libgtk-3-dev |
|
|
83
|
-
| Font differences | Embed custom fonts |
|
|
84
|
-
|
|
85
|
-
---
|
|
86
|
-
|
|
87
|
-
## .NET Avalonia / MAUI
|
|
88
|
-
|
|
89
|
-
**When to use**: C#/.NET teams, enterprise internal tools, Windows-first
|
|
90
|
-
|
|
91
|
-
### Avalonia
|
|
92
|
-
|
|
93
|
-
```bash
|
|
94
|
-
dotnet new install Avalonia.Templates
|
|
95
|
-
dotnet new avalonia.app -n MyApp
|
|
96
|
-
dotnet publish -c Release -r win-x64 --self-contained
|
|
97
|
-
dotnet publish -c Release -r osx-arm64 --self-contained
|
|
98
|
-
dotnet publish -c Release -r linux-x64 --self-contained
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
### MAUI
|
|
102
|
-
|
|
103
|
-
```bash
|
|
104
|
-
dotnet new maui -n MyApp
|
|
105
|
-
dotnet build -t:Publish -f net9.0-windows10.0.19041.0
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
### Common Pitfalls
|
|
109
|
-
|
|
110
|
-
| Issue | Fix |
|
|
111
|
-
|-------|-----|
|
|
112
|
-
| Runtime missing | `--self-contained` publish |
|
|
113
|
-
| macOS signing | Apple Developer ID |
|
|
114
|
-
|
|
115
|
-
---
|
|
116
|
-
|
|
117
|
-
## Selection Guide
|
|
118
|
-
|
|
119
|
-
| Scenario | Recommended | Size |
|
|
120
|
-
|----------|------------|------|
|
|
121
|
-
| High performance / embedded / industrial | Qt | 30–80MB |
|
|
122
|
-
| Mobile + desktop unified | Flutter | 20–50MB |
|
|
123
|
-
| C#/.NET team | Avalonia | 30–60MB |
|
|
1
|
+
# Native Application Build Sub-Skill
|
|
2
|
+
|
|
3
|
+
For Qt, Flutter, .NET Avalonia frameworks. Suitable for performance-sensitive, system-integrated small-to-medium team projects.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Qt (C++/Python)
|
|
8
|
+
|
|
9
|
+
**When to use**: IoT control panel, industrial software, audio/video tools, database clients
|
|
10
|
+
|
|
11
|
+
### Build
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# CMake project
|
|
15
|
+
mkdir build && cd build
|
|
16
|
+
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/path/to/qt
|
|
17
|
+
cmake --build . --config Release -j$(nproc)
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
### Deploy
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
windeployqt release/MyApp.exe # Windows
|
|
24
|
+
macdeployqt MyApp.app -dmg # macOS
|
|
25
|
+
linuxdeployqt MyApp.AppImage # Linux
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Python PyQt
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
pyinstaller --onefile --windowed app.py
|
|
32
|
+
# or Nuitka (better performance)
|
|
33
|
+
python -m nuitka --standalone --enable-plugin=pyqt5 --onefile app.py
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Common Pitfalls
|
|
37
|
+
|
|
38
|
+
| Issue | Fix |
|
|
39
|
+
|-------|-----|
|
|
40
|
+
| Missing DLL | windeployqt didn't copy, manually add |
|
|
41
|
+
| High DPI blurry | `AA_EnableHighDpiScaling` |
|
|
42
|
+
| LGPL compliance | Dynamic linking or buy commercial license |
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Flutter Desktop (3.44.x / Dart 3.12.x)
|
|
47
|
+
|
|
48
|
+
**When to use**: Existing Flutter mobile project, need unified mobile + desktop UI. Single codebase for mobile, web, and desktop. Impeller rendering engine now default on all platforms.
|
|
49
|
+
|
|
50
|
+
### Build
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
flutter config --enable-windows-desktop
|
|
54
|
+
flutter config --enable-macos-desktop
|
|
55
|
+
flutter config --enable-linux-desktop
|
|
56
|
+
|
|
57
|
+
flutter create --platforms=windows,macos,linux my_app
|
|
58
|
+
flutter build windows
|
|
59
|
+
flutter build macos # Universal Binary
|
|
60
|
+
flutter build linux
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Package
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
# Windows MSIX
|
|
67
|
+
flutter pub add msix
|
|
68
|
+
flutter pub run msix:create
|
|
69
|
+
|
|
70
|
+
# macOS DMG
|
|
71
|
+
create-dmg build/macos/Build/Products/Release/MyApp.app
|
|
72
|
+
|
|
73
|
+
# Linux AppImage
|
|
74
|
+
appimagetool MyApp.AppDir MyApp.AppImage
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Common Pitfalls
|
|
78
|
+
|
|
79
|
+
| Issue | Fix |
|
|
80
|
+
|-------|-----|
|
|
81
|
+
| Windows missing MSVC | Install Visual Studio Build Tools |
|
|
82
|
+
| Linux missing deps | sudo apt install clang cmake ninja-build libgtk-3-dev |
|
|
83
|
+
| Font differences | Embed custom fonts |
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## .NET Avalonia / MAUI
|
|
88
|
+
|
|
89
|
+
**When to use**: C#/.NET teams, enterprise internal tools, Windows-first
|
|
90
|
+
|
|
91
|
+
### Avalonia
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
dotnet new install Avalonia.Templates
|
|
95
|
+
dotnet new avalonia.app -n MyApp
|
|
96
|
+
dotnet publish -c Release -r win-x64 --self-contained
|
|
97
|
+
dotnet publish -c Release -r osx-arm64 --self-contained
|
|
98
|
+
dotnet publish -c Release -r linux-x64 --self-contained
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### MAUI
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
dotnet new maui -n MyApp
|
|
105
|
+
dotnet build -t:Publish -f net9.0-windows10.0.19041.0
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
### Common Pitfalls
|
|
109
|
+
|
|
110
|
+
| Issue | Fix |
|
|
111
|
+
|-------|-----|
|
|
112
|
+
| Runtime missing | `--self-contained` publish |
|
|
113
|
+
| macOS signing | Apple Developer ID |
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## Selection Guide
|
|
118
|
+
|
|
119
|
+
| Scenario | Recommended | Size |
|
|
120
|
+
|----------|------------|------|
|
|
121
|
+
| High performance / embedded / industrial | Qt | 30–80MB |
|
|
122
|
+
| Mobile + desktop unified | Flutter | 20–50MB |
|
|
123
|
+
| C#/.NET team | Avalonia | 30–60MB |
|