mirror of
https://github.com/JimLiu/baoyu-skills.git
synced 2026-07-09 20:51:22 +00:00
3cc1225b18
Extracts resources and JavaScript from any installed Electron app's app.asar. When .js.map files embed sourcesContent, restores the original source tree (TypeScript/JSX included); otherwise formats minified JS/CSS with Prettier in place. Always skips node_modules and webpack/runtime/* entries. Source-map paths are resolved relative to each .js.map file first, so bundler-relative entries like ../../src/main.ts restore to readable paths under restored/ instead of hashed placeholders. Auto-discovers apps on macOS (/Applications, ~/Applications) and Windows (%LOCALAPPDATA%\Programs, %PROGRAMFILES%, %PROGRAMFILES(X86)%, %APPDATA%). On other platforms pass --asar <path> explicitly. Safety: refuses to write to /, the user home, or the current working directory, and refuses non-empty existing output dirs without --force.
43 lines
1.3 KiB
JSON
43 lines
1.3 KiB
JSON
{
|
|
"name": "baoyu-skills",
|
|
"owner": {
|
|
"name": "Jim Liu (宝玉)",
|
|
"email": "junminliu@gmail.com"
|
|
},
|
|
"metadata": {
|
|
"description": "Skills shared by Baoyu for improving daily work efficiency",
|
|
"version": "1.118.0"
|
|
},
|
|
"plugins": [
|
|
{
|
|
"name": "baoyu-skills",
|
|
"description": "Content generation, AI backends, and utility tools for daily work efficiency",
|
|
"source": "./",
|
|
"strict": false,
|
|
"skills": [
|
|
"./skills/baoyu-article-illustrator",
|
|
"./skills/baoyu-comic",
|
|
"./skills/baoyu-compress-image",
|
|
"./skills/baoyu-cover-image",
|
|
"./skills/baoyu-danger-gemini-web",
|
|
"./skills/baoyu-danger-x-to-markdown",
|
|
"./skills/baoyu-diagram",
|
|
"./skills/baoyu-electron-extract",
|
|
"./skills/baoyu-format-markdown",
|
|
"./skills/baoyu-imagine",
|
|
"./skills/baoyu-infographic",
|
|
"./skills/baoyu-markdown-to-html",
|
|
"./skills/baoyu-post-to-weibo",
|
|
"./skills/baoyu-post-to-wechat",
|
|
"./skills/baoyu-post-to-x",
|
|
"./skills/baoyu-slide-deck",
|
|
"./skills/baoyu-translate",
|
|
"./skills/baoyu-url-to-markdown",
|
|
"./skills/baoyu-image-cards",
|
|
"./skills/baoyu-youtube-transcript",
|
|
"./skills/baoyu-wechat-summary"
|
|
]
|
|
}
|
|
]
|
|
}
|