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.
Files changed (53) hide show
  1. package/.cursorrules +23 -23
  2. package/CLAUDE.md +25 -25
  3. package/LICENSE +21 -0
  4. package/README.md +404 -295
  5. package/audit.md +224 -224
  6. package/bin/packwise.js +322 -155
  7. package/install.sh +123 -0
  8. package/package.json +32 -31
  9. package/skill.md +944 -719
  10. package/sub-skills/ai/local-llm.md +183 -183
  11. package/sub-skills/ai/python-ml.md +164 -164
  12. package/sub-skills/backend/go-server.md +184 -184
  13. package/sub-skills/backend/java-spring.md +241 -241
  14. package/sub-skills/backend/node-server.md +164 -164
  15. package/sub-skills/backend/php-laravel.md +175 -175
  16. package/sub-skills/backend/python-server.md +164 -164
  17. package/sub-skills/backend/rust-backend.md +118 -118
  18. package/sub-skills/cli/python-cli.md +236 -236
  19. package/sub-skills/cli/sdk-library.md +497 -497
  20. package/sub-skills/cloud/ci-cd-pipelines.md +350 -350
  21. package/sub-skills/cloud/docker.md +191 -191
  22. package/sub-skills/cloud/kubernetes.md +277 -277
  23. package/sub-skills/cloud/payment-integration.md +307 -307
  24. package/sub-skills/cross-platform/multiplatform.md +252 -252
  25. package/sub-skills/desktop/electron.md +783 -783
  26. package/sub-skills/desktop/game-dev.md +443 -443
  27. package/sub-skills/desktop/native-app.md +123 -123
  28. package/sub-skills/desktop/scenarios.md +443 -443
  29. package/sub-skills/desktop/smart-platforms.md +324 -324
  30. package/sub-skills/desktop/tauri.md +428 -428
  31. package/sub-skills/desktop/vr-ar.md +252 -252
  32. package/sub-skills/desktop/web-to-desktop.md +153 -153
  33. package/sub-skills/embedded/car-infotainment.md +129 -129
  34. package/sub-skills/embedded/esp32.md +184 -184
  35. package/sub-skills/embedded/ros.md +150 -150
  36. package/sub-skills/embedded/stm32.md +160 -160
  37. package/sub-skills/mobile/android.md +322 -322
  38. package/sub-skills/mobile/capacitor.md +232 -232
  39. package/sub-skills/mobile/flutter-mobile.md +138 -138
  40. package/sub-skills/mobile/harmonyos.md +150 -150
  41. package/sub-skills/mobile/ios.md +245 -245
  42. package/sub-skills/mobile/react-native.md +443 -443
  43. package/sub-skills/mobile/wearables.md +230 -230
  44. package/sub-skills/plugins/browser-extension.md +308 -308
  45. package/sub-skills/plugins/jetbrains-plugin.md +226 -226
  46. package/sub-skills/plugins/vscode-extension.md +204 -204
  47. package/sub-skills/security/security-tools.md +174 -174
  48. package/sub-skills/web/monorepo.md +274 -274
  49. package/sub-skills/web/pwa.md +220 -220
  50. package/sub-skills/web/serverless-edge.md +295 -295
  51. package/sub-skills/web/spa.md +266 -266
  52. package/sub-skills/web/ssr.md +228 -228
  53. package/sub-skills/web/wasm.md +243 -243
package/README.md CHANGED
@@ -1,295 +1,404 @@
1
- # packwise-skills
2
-
3
- > One skill that turns your AI into a build consultant — scan, recommend, package, and audit any project.
4
-
5
- <p align="center">
6
- <a href="https://github.com/Thomas520TOM/packwise-skills/commits/main">
7
- <img src="https://img.shields.io/github/last-commit/Thomas520TOM/packwise-skills?style=flat-square&logo=github" alt="last commit">
8
- </a>
9
- <a href="https://github.com/Thomas520TOM/packwise-skills/blob/main/LICENSE">
10
- <img src="https://img.shields.io/badge/license-MIT-blue?style=flat-square&logo=github" alt="license">
11
- </a>
12
- <a href="https://github.com/Thomas520TOM/packwise-skills/tree/main/sub-skills">
13
- <img src="https://img.shields.io/badge/skills-44-brightgreen?style=flat-square" alt="skills">
14
- </a>
15
- <a href="#supported-platforms">
16
- <img src="https://img.shields.io/badge/platforms-20%2B-orange?style=flat-square" alt="platforms">
17
- </a>
18
- <a href="#supported-platforms">
19
- <img src="https://img.shields.io/badge/frameworks-40%2B-purple?style=flat-square" alt="frameworks">
20
- </a>
21
- <a href="#tested-framework-versions">
22
- <img src="https://img.shields.io/badge/tested-10-success?style=flat-square" alt="tested">
23
- </a>
24
- <a href="#installation">
25
- <img src="https://img.shields.io/badge/works%20with-Claude%20Code%20%7C%20OpenCode%20%7C%20Cursor-yellow?style=flat-square" alt="works with">
26
- </a>
27
- </p>
28
-
29
- ---
30
-
31
- **Packwise** is a universal build & packaging skill for AI-assisted development. Instead of your AI guessing at build commands and hoping for the best, Packwise gives it a structured, consultant-grade workflow that scans your project, asks the right questions, recommends solutions with reasoning, and executes builds with mandatory security audits across 20+ platforms and 40+ frameworks.
32
-
33
- ---
34
-
35
- ## Why This Exists
36
-
37
- Packaging software is where most AI coding assistants fail. They suggest outdated flags, forget platform-specific quirks, skip credential scans, and have no concept of a proper build plan. **Packwise fixes this** by turning your AI into a structured build consultant with real domain knowledge.
38
-
39
- <div align="center">
40
-
41
- | Without Packwise | With Packwise |
42
- |:---:|:---:|
43
- | `"Try running npm run build"` | Scans project identifies framework/version recommends with reasoning |
44
- | No security checks | Mandatory credential scan, `.env` detection, source map cleanup |
45
- | Guesses platform differences | Asks target platform, arch, signing, output — all upfront |
46
- | One-shot answer | Full workflow: recommend alternatives → confirm → execute |
47
- | No post-build verification | Mandatory audit: credentials, integrity, file structure |
48
-
49
- </div>
50
-
51
- ---
52
-
53
- ## How It Works
54
-
55
- Packwise runs a **consultant-style 8-step workflow** the same process a human build engineer would follow:
56
-
57
- | Step | Action | Result |
58
- |:----:|--------|--------|
59
- | **1** | **Scan** — detect framework, language, dependencies, `.env` files | Project analysis |
60
- | **2** | **Intake** report findings, ask 12 structured questions | User preferences |
61
- | **3** | **Analyze** — combine scan + answers + online research (if needed) | Strategy options |
62
- | **4** | **Recommend** — present best approach with reasoning + alternatives | Decision support |
63
- | **5** | **Confirm** — user selects, final build plan generated | Confirmed plan |
64
- | **6** | **Execute** load sub-skill, run build commands | Installers / packages |
65
- | **7** | **Audit** credentials, `.env`, `.map`, package integrity | Security report |
66
- | **8** | **Report** structured final build report | Delivery |
67
-
68
- ---
69
-
70
- ## Key Advantages
71
-
72
- Packwise is more than a build script. It's a **complete packaging intelligence layer** that works across your entire stack.
73
-
74
- | Capability | What It Means |
75
- |------------|---------------|
76
- | **44 sub-skills** | Deep, platform-specific knowledge — not generic advice |
77
- | **20+ platforms** | Desktop, mobile, web, backend, AI/ML, CLI, plugins, embedded, cloud |
78
- | **Mandatory security** | Every build ends with a credential and integrity audit |
79
- | **Consultant workflow** | Recommend confirm execute, never auto-builds without approval |
80
- | **Version-verified** | Build commands checked against npm, PyPI, crates.io, official registries |
81
- | **CI/CD templates** | GitHub Actions and GitLab CI configs included in every sub-skill |
82
- | **Cross-tool support** | Works with Claude Code, OpenCode, Cursor, Codex CLI, and more |
83
-
84
- ---
85
-
86
- ## Installation
87
-
88
- ### npm (Recommended)
89
-
90
- ```bash
91
- npm install -g packwise-skills
92
- ```
93
-
94
- Then invoke in your AI agent:
95
-
96
- ```
97
- > package my Electron app for Windows
98
- ```
99
-
100
- <details>
101
- <summary><strong>Git clone</strong>install from source</summary>
102
-
103
- ```bash
104
- # User-level (all projects)
105
- cd ~/.claude/
106
- git clone https://github.com/Thomas520TOM/packwise-skills.git skills/packwise
107
-
108
- # Project-level (this project only)
109
- cd your-project/
110
- mkdir -p .claude/skills/
111
- git clone https://github.com/Thomas520TOM/packwise-skills.git .claude/skills/packwise
112
- ```
113
- </details>
114
-
115
- <details>
116
- <summary><strong>Curl one-liner</strong> — install with a single command</summary>
117
-
118
- ```bash
119
- curl -fsSL https://raw.githubusercontent.com/Thomas520TOM/packwise-skills/main/install.sh | bash
120
- ```
121
- </details>
122
-
123
- <details>
124
- <summary><strong>Other AI tools</strong> OpenCode, Cursor, Hermes, Codex CLI, WorkBuddy</summary>
125
-
126
- **OpenCode** — copy to `.opencode/skills/packwise/` and reference in prompts:
127
- ```bash
128
- mkdir -p .opencode/skills/packwise/
129
- cp skill.md audit.md .opencode/skills/packwise/
130
- cp -r sub-skills/ .opencode/skills/packwise/
131
- ```
132
-
133
- **Cursor** — add to `.cursor/skills/` or reference via `@packwise` in prompts.
134
-
135
- **Hermes / LangChain Agents** — add to `hermes.config.yaml`:
136
- ```yaml
137
- skills:
138
- - path: /path/to/packwise/
139
- name: packwise
140
- ```
141
-
142
- **Codex CLI** — copy to project root as `PACKWISE.md` (auto-read as context).
143
-
144
- **WorkBuddy** copy to `~/.workbuddy/skills/` or use `/project:packwise`.
145
-
146
- **Any LLM agent** — copy `skill.md` + `sub-skills/` to your project and prompt:
147
- ```
148
- Read skills/package-skill.md and help me package this project
149
- ```
150
-
151
- Full instructions: [INSTALL.md](INSTALL.md)
152
- </details>
153
-
154
- ---
155
-
156
- ## Supported Platforms
157
-
158
- | Category | Frameworks | Build Verified |
159
- |----------|-----------|:--------------:|
160
- | **Desktop** | Electron 43, Tauri 2.11, Qt, Flutter Desktop, Pake, Neutralinojs | Electron, Tauri |
161
- | **Mobile** | Android (Kotlin), iOS/iPadOS, HarmonyOS NEXT, Flutter 3.44, React Native 0.86, Capacitor 8 | — |
162
- | **Web** | Vite 8, Next.js 16, PWA, Serverless/Edge, Monorepo, WebAssembly | Vite, Next.js |
163
- | **Backend** | Node.js 26, Python 3.12, Go 1.26, Rust, Java/Spring Boot 3.5, PHP/Laravel | Node, Python, Rust, Java |
164
- | **AI/ML** | PyTorch, TensorFlow, ONNX Runtime, Ollama, llama.cpp, vLLM | — |
165
- | **CLI/SDK** | PyInstaller, Nuitka, npm/PyPI/crates.io publishing | PyInstaller |
166
- | **Plugins** | Chrome/Firefox Extensions, VS Code, JetBrains | — |
167
- | **Embedded** | ESP32, STM32, ROS/ROS2, Car Infotainment | — |
168
- | **Cloud** | Docker, Kubernetes, CI/CD (GitHub Actions) | — |
169
- | **Wearables** | watchOS, Wear OS, Galaxy Watch | — |
170
-
171
- > Checked = build tested on real projects. — = documentation verified against official sources.
172
-
173
- ---
174
-
175
- ## Architecture
176
-
177
- ```
178
- skill.md (Main Orchestrator)
179
-
180
- ├─ Step 1: Project Scan ─────── Detect framework, language, deps, env
181
-
182
- ├─ Step 2: Intake ───────────── Ask 12 questions (platform, arch, signing...)
183
- │ ├─ Part A: Project Summary ← scan results displayed
184
- │ ├─ Part B: Questions ← interactive options with defaults
185
- │ └─ Part C: Confirmation ← summary table for user approval
186
-
187
- ├─ Step 3: Analyze & Research ── Combine data + online research if needed
188
-
189
- ├─ Step 4: Recommend ⭐ ──────── Best solution + alternatives + reasoning
190
-
191
- ├─ Step 5: Confirm ───────────── User selects → final build plan
192
-
193
- ├─ Step 6: Execute ───────────── Load sub-skill → run build commands
194
- │ ├─ sub-skills/desktop/ Electron, Tauri, Qt, games, VR...
195
- │ ├─ sub-skills/mobile/ Android, iOS, Flutter, RN, watchOS...
196
- │ ├─ sub-skills/web/ Vite, Next.js, PWA, WASM...
197
- │ ├─ sub-skills/backend/ Node, Python, Go, Rust, Java, PHP
198
- │ ├─ sub-skills/ai/ PyTorch, Ollama, llama.cpp
199
- │ ├─ sub-skills/cli/ PyInstaller, npm/PyPI publishing
200
- │ ├─ sub-skills/plugins/ Chrome, VS Code, JetBrains
201
- │ ├─ sub-skills/embedded/ ESP32, STM32, ROS, car
202
- │ ├─ sub-skills/security/ Pentest tools, scanners
203
- │ ├─ sub-skills/cloud/ Docker, K8s, CI/CD
204
- │ └─ sub-skills/cross-platform/ .NET MAUI, KMP
205
-
206
- ├─ Step 7: Audit (mandatory) ── Credentials, .env, .map, package check
207
-
208
- └─ Step 8: Final Report ─────── Build report with all results
209
- ```
210
-
211
- ---
212
-
213
- ## Security Model
214
-
215
- Packwise enforces security at every stage — no build completes without a clean audit.
216
-
217
- | Stage | Check |
218
- |-------|-------|
219
- | **Pre-build scan** | Detect `.env` files, hardcoded API keys, secrets in source |
220
- | **Build execution** | Delete source maps, exclude `.env` from package, clean test data |
221
- | **Post-build audit** | Verify no credentials, `.map` files, or `.env` in final package |
222
- | **Network check** | Optional: verify no unexpected outbound connections |
223
-
224
- ---
225
-
226
- ## What's Inside
227
-
228
- ### 44 Sub-Skills — Every Major Platform Covered
229
-
230
- Each sub-skill contains:
231
- - **Version-verified** build commands (checked against official registries)
232
- - **Step-by-step** packaging workflows with copy-paste examples
233
- - **Common pitfalls** table with solutions (from real build testing)
234
- - **CI/CD** configuration templates (GitHub Actions, GitLab CI)
235
- - **Security** best practices specific to the platform
236
-
237
- ### Tested Framework Versions
238
-
239
- | Framework | Version | Verified |
240
- |-----------|:-------:|:--------:|
241
- | Electron | 43.x | |
242
- | Tauri | 2.11.x | ✅ |
243
- | Vite | 8.1.3 | ✅ |
244
- | Next.js | 16.2.10 | ✅ |
245
- | Node.js | 26 LTS | ✅ |
246
- | Python | 3.12 | ✅ |
247
- | Rust | 1.96 | ✅ |
248
- | Java | 21 LTS | |
249
- | React Native | 0.86.x | — |
250
- | Flutter | 3.44.x | — |
251
- | Capacitor | 8.x | — |
252
- | Go | 1.26 | — |
253
-
254
- ---
255
-
256
- ## Contributing
257
-
258
- Contributions are welcome. Before submitting, please:
259
-
260
- 1. Write all instructions in **English** only
261
- 2. Verify framework versions against **official registries** (npm, PyPI, GitHub Releases)
262
- 3. Include a **Common Pitfalls** table in every new sub-skill
263
- 4. Test build commands when possible
264
- 5. Never commit secrets, API keys, or credentials
265
-
266
- ```bash
267
- git clone https://github.com/YOUR_USER/packwise-skills.git
268
- cd packwise-skills
269
- git checkout -b feat/my-improvement
270
- # edit skill.md or sub-skills/
271
- git commit -m "feat: add [framework] support"
272
- git push origin feat/my-improvement
273
- # open a PR against main
274
- ```
275
-
276
- ---
277
-
278
- ## License
279
-
280
- <div align="center">
281
-
282
- [![License: MIT](https://img.shields.io/badge/License-MIT-blue?style=flat-square&logo=github)](https://opensource.org/licenses/MIT)
283
-
284
- This project is licensed under the [MIT License](LICENSE).
285
-
286
- </div>
287
-
288
- ---
289
-
290
- <div align="center">
291
- Built with care for the AI-assisted development community.
292
- <br><br>
293
- <a href="https://github.com/Thomas520TOM/packwise-skills">GitHub</a> · <a href="https://github.com/Thomas520TOM/packwise-skills/issues">Issues</a> · <a href="https://github.com/Thomas520TOM/packwise-skills/blob/main/INSTALL.md">Install Guide</a>
294
- <br>
295
- </div>
1
+ # packwise-skills
2
+
3
+ > One skill that turns your AI into a build consultant — scan, recommend, package, and audit any project.
4
+
5
+ <p align="center">
6
+ <a href="https://github.com/Thomas520TOM/packwise-skills/commits/main">
7
+ <img src="https://img.shields.io/github/last-commit/Thomas520TOM/packwise-skills?style=flat-square&logo=github" alt="last commit">
8
+ </a>
9
+ <a href="https://github.com/Thomas520TOM/packwise-skills/blob/main/LICENSE">
10
+ <img src="https://img.shields.io/badge/license-MIT-blue?style=flat-square&logo=github" alt="license">
11
+ </a>
12
+ <a href="https://github.com/Thomas520TOM/packwise-skills/tree/main/sub-skills">
13
+ <img src="https://img.shields.io/badge/skills-44-brightgreen?style=flat-square" alt="skills">
14
+ </a>
15
+ <a href="#supported-platforms">
16
+ <img src="https://img.shields.io/badge/platforms-20%2B-orange?style=flat-square" alt="platforms">
17
+ </a>
18
+ <a href="#supported-platforms">
19
+ <img src="https://img.shields.io/badge/frameworks-40%2B-purple?style=flat-square" alt="frameworks">
20
+ </a>
21
+ <a href="#tested-framework-versions">
22
+ <img src="https://img.shields.io/badge/tested-10-success?style=flat-square" alt="tested">
23
+ </a>
24
+ <a href="#installation">
25
+ <img src="https://img.shields.io/badge/works%20with-Claude%20Code%20%7C%20Cursor%20%7C%20OpenCode%20%7C%20Copilot-yellow?style=flat-square" alt="works with">
26
+ </a>
27
+ </p>
28
+
29
+ ---
30
+
31
+ **Packwise** is a universal build & packaging skill pack that gives your AI a structured, consultant-grade workflow scanning, recommending, and executing builds with mandatory security audits across 20+ platforms.
32
+
33
+ ---
34
+
35
+ ## Why This Exists
36
+
37
+ Most AI coding assistants treat build as an afterthought they suggest a command and hope for the best. **Packwise** gives your AI a real packaging workflow.
38
+
39
+ <div align="center">
40
+
41
+ | Without Packwise | With Packwise |
42
+ |:---:|:---:|
43
+ | `npm run build` and pray | Scans project, identifies framework/version, recommends with reasoning |
44
+ | No security checks | Mandatory credential scan, `.env` detection, source map cleanup |
45
+ | Ignores platform specifics | Asks target platform, arch, signing, output upfront |
46
+ | One-shot, no follow-up | Recommend → confirm → execute, with alternatives |
47
+
48
+ </div>
49
+
50
+ ---
51
+
52
+ ## Quick Demo
53
+
54
+ ```
55
+ You: > package my Electron app for Windows and macOS
56
+
57
+ AI: Scan Results:
58
+ - Framework: Electron 31 + React 18 + Express + SQLite
59
+ - Language: TypeScript | Complexity: L2
60
+ Is this correct? [Correct / Add / Exclude / Correct]
61
+
62
+ You: Correct
63
+
64
+ AI: [Popup] Target users? General consumers
65
+ [Popup] Platform? Windows + macOS
66
+ [Popup] Architecture? Win x64 | macOS Universal
67
+ ... (17 interactive questions via popups)
68
+
69
+ AI: RECOMMENDED: Electron 31 + electron-builder
70
+ Alternative A: Tauri (3-10MB, needs Rust rewrite)
71
+ Which approach? [Recommended / Alt A / Alt B / Custom]
72
+
73
+ You: 1
74
+
75
+ AI: FINAL BUILD PLAN | Reply 'yes' to start
76
+
77
+ You: yes
78
+
79
+ AI: [Popup] Logo? /path/to/icon.png | Crop corners?Yes
80
+ [Popup] Output? ./release/
81
+ [Popup] Config changes: [1] Add electron-builder.yml [2] ...
82
+ [Popup] Approve? Approve all
83
+
84
+ AI: Building... Done
85
+ Audit: No credentials, no .env, no .map
86
+ Output:
87
+ MyApp-v1.0.0-windows-x64.exe
88
+ MyApp-v1.0.0-macos-universal.dmg
89
+ ```
90
+
91
+ ---
92
+
93
+ ## How It Works
94
+
95
+ A **9-step build workflow**:
96
+
97
+ | Step | Action | Result |
98
+ |:----:|--------|--------|
99
+ | **1** | **Scan** — detect framework, language, dependencies, `.env` files | Project analysis |
100
+ | **2** | **Intake** — build overview confirmation, then 18 questions (some per-platform) | User preferences |
101
+ | **3** | **Analyze** combine scan + answers + online research (if needed) | Strategy options |
102
+ | **4** | **Recommend** — present best approach with reasoning + alternatives | Decision support |
103
+ | **5** | **Confirm** — user selects, final build plan generated | Confirmed plan |
104
+ | **6** | **Prepare** — detect config gaps, propose fixes, user approves each | Ready-to-build project |
105
+ | **7** | **Execute** — load sub-skill, run build commands | Installers / packages |
106
+ | **8** | **Audit** — credentials, `.env`, `.map`, package integrity | Security report |
107
+ | **9** | **Report** — structured final build report | Delivery |
108
+
109
+ ---
110
+
111
+ ## Key Advantages
112
+
113
+ What makes Packwise different from a generic build command:
114
+
115
+ | Capability | What It Means |
116
+ |------------|---------------|
117
+ | **44 sub-skills** | Platform-specific knowledge, not generic advice |
118
+ | **20+ platforms** | Desktop, mobile, web, backend, AI/ML, CLI, plugins, embedded, cloud |
119
+ | **Mandatory security** | Every build ends with a credential and integrity audit |
120
+ | **Consultant workflow** | Recommends, confirms, then executes — no auto-builds |
121
+ | **Version-verified** | Build commands checked against npm, PyPI, crates.io, official registries |
122
+ | **Selective install** | Install only the skills you need via `--only` |
123
+ | **11 agents** | Claude Code, Cursor, OpenCode, Copilot, and 7 more |
124
+ | **Interactive Q&A** | All questions via popup UI, not text dumps |
125
+
126
+ ---
127
+
128
+ ## Installation
129
+
130
+ ### npx (No Install Required)
131
+
132
+ Run directly without installing globally:
133
+
134
+ ```bash
135
+ npx packwise-skills
136
+ ```
137
+
138
+ ### npm (Recommended)
139
+
140
+ ```bash
141
+ npm install -g packwise-skills
142
+ ```
143
+
144
+ ### Curl One-liner
145
+
146
+ ```bash
147
+ curl -fsSL https://raw.githubusercontent.com/Thomas520TOM/packwise-skills/main/install.sh | bash
148
+ ```
149
+
150
+ ### Git Clone
151
+
152
+ ```bash
153
+ # User-level (all projects)
154
+ cd ~/.claude/
155
+ git clone https://github.com/Thomas520TOM/packwise-skills.git skills/packwise
156
+
157
+ # Project-level (this project only)
158
+ cd your-project/
159
+ mkdir -p .claude/skills/
160
+ git clone https://github.com/Thomas520TOM/packwise-skills.git .claude/skills/packwise
161
+ ```
162
+
163
+ Then invoke in your AI agent:
164
+
165
+ ```
166
+ > package my Electron app for Windows
167
+ ```
168
+
169
+ ### Updating
170
+
171
+ ```bash
172
+ npx packwise-skills update
173
+ ```
174
+
175
+ This automatically detects your installation method and updates to the latest version.
176
+
177
+ ---
178
+
179
+ ### Selective Installation
180
+
181
+ Install only the sub-skills you need with `--only`. Core files (`skill.md`, `audit.md`, `CLAUDE.md`) are always installed.
182
+
183
+ **By category:**
184
+ ```bash
185
+ npx packwise-skills --only desktop,mobile
186
+ npx packwise-skills --only backend,cloud
187
+ ```
188
+
189
+ **By specific framework:**
190
+ ```bash
191
+ npx packwise-skills --only electron,tauri,react-native
192
+ npx packwise-skills --only docker,kubernetes
193
+ ```
194
+
195
+ **Mix both:**
196
+ ```bash
197
+ npx packwise-skills --only electron,mobile
198
+ ```
199
+
200
+ Works with curl too:
201
+ ```bash
202
+ curl -fsSL https://raw.githubusercontent.com/Thomas520TOM/packwise-skills/main/install.sh | bash -s -- --only electron,mobile
203
+ ```
204
+
205
+ **Categories:** `desktop` `mobile` `web` `backend` `ai` `cli` `plugins` `embedded` `security` `cloud` `cross-platform`
206
+
207
+ **Frameworks:** `electron` `tauri` `android` `ios` `react-native` `flutter-mobile` `docker` `kubernetes` `spa` `ssr` and [more](bin/packwise.js)
208
+
209
+ ---
210
+
211
+ <details>
212
+ <summary><strong>Other AI tools</strong> — OpenCode, Cursor, Codex CLI, OpenClaw, WorkBuddy, Trae, Hermes, GitHub Copilot</summary>
213
+
214
+ **OpenCode** — copy to `.opencode/skills/packwise/` and reference in prompts:
215
+ ```bash
216
+ mkdir -p .opencode/skills/packwise/
217
+ cp skill.md audit.md .opencode/skills/packwise/
218
+ cp -r sub-skills/ .opencode/skills/packwise/
219
+ ```
220
+
221
+ **Cursor** add to `.cursor/skills/` or reference via `@packwise` in prompts.
222
+
223
+ **Codex CLI** — copy to project root as `PACKWISE.md` (auto-read as context).
224
+
225
+ **OpenClaw** — copy to `.openclaw/skills/packwise/` and reference in prompts:
226
+ ```bash
227
+ mkdir -p .openclaw/skills/packwise/
228
+ cp skill.md audit.md .openclaw/skills/packwise/
229
+ cp -r sub-skills/ .openclaw/skills/packwise/
230
+ ```
231
+
232
+ **WorkBuddy** copy to `~/.workbuddy/skills/` or use `/project:packwise`.
233
+
234
+ **Trae** copy to `.trae/skills/packwise/` and reference in prompts:
235
+ ```bash
236
+ mkdir -p .trae/skills/packwise/
237
+ cp skill.md audit.md .trae/skills/packwise/
238
+ cp -r sub-skills/ .trae/skills/packwise/
239
+ ```
240
+
241
+ **Hermes / LangChain Agents** add to `hermes.config.yaml`:
242
+ ```yaml
243
+ skills:
244
+ - path: /path/to/packwise/
245
+ name: packwise
246
+ ```
247
+
248
+ **GitHub Copilot** copy to `.copilot/skills/packwise/` and reference in prompts:
249
+ ```bash
250
+ mkdir -p .copilot/skills/packwise/
251
+ cp skill.md audit.md .copilot/skills/packwise/
252
+ cp -r sub-skills/ .copilot/skills/packwise/
253
+ ```
254
+
255
+ **Any LLM agent** — copy `skill.md` + `sub-skills/` to your project and prompt:
256
+ ```
257
+ Read skills/skill.md and help me package this project
258
+ ```
259
+
260
+ Full instructions: [INSTALL.md](INSTALL.md)
261
+ </details>
262
+
263
+ ---
264
+
265
+ ## Supported Platforms
266
+
267
+ | Category | Frameworks | Build Verified |
268
+ |----------|-----------|:--------------:|
269
+ | **Desktop** | Electron 43, Tauri 2.11, Qt, Flutter Desktop, Pake, Neutralinojs | Electron, Tauri |
270
+ | **Mobile** | Android (Kotlin), iOS/iPadOS, HarmonyOS NEXT, Flutter 3.44, React Native 0.86, Capacitor 8 | — |
271
+ | **Web** | Vite 8, Next.js 16, PWA, Serverless/Edge, Monorepo, WebAssembly | Vite, Next.js |
272
+ | **Backend** | Node.js 26, Python 3.12, Go 1.26, Rust, Java/Spring Boot 3.5, PHP/Laravel | Node, Python, Rust, Java |
273
+ | **AI/ML** | PyTorch, TensorFlow, ONNX Runtime, Ollama, llama.cpp, vLLM | — |
274
+ | **CLI/SDK** | PyInstaller, Nuitka, npm/PyPI/crates.io publishing | PyInstaller |
275
+ | **Plugins** | Chrome/Firefox Extensions, VS Code, JetBrains | — |
276
+ | **Embedded** | ESP32, STM32, ROS/ROS2, Car Infotainment | — |
277
+ | **Cloud** | Docker, Kubernetes, CI/CD (GitHub Actions) | — |
278
+ | **Wearables** | watchOS, Wear OS, Galaxy Watch | — |
279
+
280
+ > Checked = build tested on real projects. — = documentation verified against official sources.
281
+
282
+ ---
283
+
284
+ ## Architecture
285
+
286
+ ```
287
+ skill.md (Main Orchestrator)
288
+
289
+ ├─ 1. Scan ─────────── Detect framework, language, deps, env
290
+
291
+ ├─ 2. Intake ────────── Build overview confirm scope → ask 18 questions
292
+
293
+ ├─ 3. Analyze ───────── Combine scan + answers + online research
294
+
295
+ ├─ 4. Recommend ⭐ ──── Best approach + alternatives + reasoning
296
+
297
+ ├─ 5. Confirm ───────── User selects → final build plan
298
+
299
+ ├─ 6. Prepare ───────── Logo + output location → detect config gaps → user approves
300
+
301
+ ├─ 7. Execute ───────── Load sub-skill → run platform-specific build
302
+ │ │
303
+ │ ├─ desktop/ ──────── Electron, Tauri, Qt, Flutter Desktop, games, VR
304
+ │ ├─ mobile/ ───────── Android, iOS, HarmonyOS, Flutter, React Native
305
+ │ ├─ web/ ──────────── Vite, Next.js, PWA, Serverless, WASM
306
+ │ ├─ backend/ ──────── Node.js, Python, Go, Rust, Java, PHP
307
+ │ ├─ ai/ ───────────── PyTorch, Ollama, llama.cpp, vLLM
308
+ │ ├─ cli/ ──────────── PyInstaller, npm/PyPI publishing
309
+ │ ├─ plugins/ ──────── Chrome, VS Code, JetBrains
310
+ │ ├─ embedded/ ─────── ESP32, STM32, ROS, car infotainment
311
+ │ ├─ cloud/ ────────── Docker, Kubernetes, CI/CD
312
+ │ ├─ security/ ─────── Pentest tools, scanners
313
+ │ └─ cross-platform/ ─ .NET MAUI, Kotlin Multiplatform
314
+
315
+ ├─ 8. Audit 🔒 ──────── Credentials, .env, .map, package integrity
316
+
317
+ └─ 9. Report ────────── Structured final build report
318
+ ```
319
+
320
+ ---
321
+
322
+ ## Security Model
323
+
324
+ Packwise enforces security at every stage — no build completes without a clean audit.
325
+
326
+ | Stage | Check |
327
+ |-------|-------|
328
+ | **Pre-build scan** | Detect `.env` files, hardcoded API keys, secrets in source |
329
+ | **Build execution** | Delete source maps, exclude `.env` from package, clean test data |
330
+ | **Post-build audit** | Verify no credentials, `.map` files, or `.env` in final package |
331
+ | **Network check** | Optional: verify no unexpected outbound connections |
332
+
333
+ ---
334
+
335
+ ## What's Inside
336
+
337
+ ### 44 Sub-Skills — Every Major Platform Covered
338
+
339
+ Each sub-skill contains:
340
+ - **Version-verified** build commands (checked against official registries)
341
+ - **Step-by-step** packaging workflows with copy-paste examples
342
+ - **Common pitfalls** table with solutions (from real build testing)
343
+ - **CI/CD** configuration templates (GitHub Actions, GitLab CI)
344
+ - **Security** best practices specific to the platform
345
+
346
+ ### Tested Framework Versions
347
+
348
+ | Framework | Version | Verified |
349
+ |-----------|:-------:|:--------:|
350
+ | Electron | 43.x | ✅ |
351
+ | Tauri | 2.11.x | ✅ |
352
+ | Vite | 8.1.3 | ✅ |
353
+ | Next.js | 16.2.10 | ✅ |
354
+ | Node.js | 26 LTS | ✅ |
355
+ | Python | 3.12 | ✅ |
356
+ | Rust | 1.96 | ✅ |
357
+ | Java | 21 LTS | ✅ |
358
+ | React Native | 0.86.x | — |
359
+ | Flutter | 3.44.x | — |
360
+ | Capacitor | 8.x | — |
361
+ | Go | 1.26 | — |
362
+
363
+ ---
364
+
365
+ ## Contributing
366
+
367
+ Contributions are welcome. Before submitting, please:
368
+
369
+ 1. Write all instructions in **English** only
370
+ 2. Verify framework versions against **official registries** (npm, PyPI, GitHub Releases)
371
+ 3. Include a **Common Pitfalls** table in every new sub-skill
372
+ 4. Test build commands when possible
373
+ 5. Never commit secrets, API keys, or credentials
374
+
375
+ ```bash
376
+ git clone https://github.com/YOUR_USER/packwise-skills.git
377
+ cd packwise-skills
378
+ git checkout -b feat/my-improvement
379
+ # edit skill.md or sub-skills/
380
+ git commit -m "feat: add [framework] support"
381
+ git push origin feat/my-improvement
382
+ # open a PR against main
383
+ ```
384
+
385
+ ---
386
+
387
+ ## License
388
+
389
+ <div align="center">
390
+
391
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue?style=flat-square&logo=github)](https://opensource.org/licenses/MIT)
392
+
393
+ This project is licensed under the [MIT License](LICENSE).
394
+
395
+ </div>
396
+
397
+ ---
398
+
399
+ <div align="center">
400
+ Built with care for the AI-assisted development community.
401
+ <br><br>
402
+ <a href="https://github.com/Thomas520TOM/packwise-skills">GitHub</a> · <a href="https://github.com/Thomas520TOM/packwise-skills/issues">Issues</a> · <a href="https://github.com/Thomas520TOM/packwise-skills/blob/main/INSTALL.md">Install Guide</a>
403
+ <br>
404
+ </div>