[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ENQS9NSRVHANWN41Y26F5H":3,"skill-same:01M7ENQS9NSRVHANWN41Y26F5H":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":48},"01M7ENQS9NSRVHANWN41Y26F5H","desktop-packaging",null,"Build and troubleshoot MineContext desktop packaging, including the PyInstaller backend, Electron packages, frontend backend copy, and macOS helper binaries.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fminecontext\u002Fsub-skills\u002Fdesktop-packaging\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: desktop-packaging\ndescription: \"Build and troubleshoot MineContext desktop packaging, including\n  the PyInstaller backend, Electron packages, frontend backend copy, and macOS\n  helper binaries.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# desktop-packaging\n\nUse this sub-skill when a task asks to build or troubleshoot the MineContext\nstandalone desktop application: the PyInstaller `opencontext` backend\nexecutable, copying that backend into `frontend\u002Fbackend\u002F`, Electron packaging\nfrom the `frontend\u002F` package, macOS helper binaries, signing\u002Fnotarization\npreflight, or failures in the build scripts.\n\nRoute backend server startup, FastAPI routes, runtime configuration, and\n`opencontext start` behavior to [runtime-service](..\u002Fruntime-service\u002FSKILL.md)\ninstead of diagnosing them here. This sub-skill only owns build\u002Fpackage\nmechanics and package-time file placement.\n\n## Natural triggers\n\nUse this sub-skill for requests that mention:\n\n- \"build MineContext app\", `pnpm build:mac`, `pnpm build:win`, `pnpm build:linux`, or Electron packaging;\n- \"build backend\", `build.sh`, `build.bat`, `PyInstaller`, or `opencontext.spec`;\n- `copy-prebuilt-backend`, missing `frontend\u002Fbackend\u002Fmain`, missing `dist\u002Fmain\u002Fmain`, or backend executable copy failures;\n- `window_inspector`, `window_capture`, Quartz, macOS helper binaries, screen helper build skips, or helper `dist\u002F` outputs;\n- signing, notarization, Gatekeeper, keychain, `electron-builder`, frozen-lockfile failures, or build script failures.\n\n## First checks\n\n1. Confirm the agent is operating from a MineContext checkout or has a repo root\n   path. Package scripts expect a root containing `opencontext.spec`,\n   `hook-opencontext.py`, `build.sh`, and `frontend\u002Fpackage.json`.\n2. Run the bundled preflight before any mutating build:\n\n   ```bash\n   bash path\u002Fto\u002Fdesktop-packaging\u002Fscripts\u002Fcheck_packaging_env.sh --repo-root .\n   ```\n\n   [scripts\u002Fcheck_packaging_env.sh](scripts\u002Fcheck_packaging_env.sh) reports\n   Python, uv, Node, pnpm, platform, required packaging files, helper-binary\n   paths, and backend-copy readiness without installing anything.\n3. If the task is only to produce the backend executable, use the safer backend\n   wrapper and explicitly acknowledge its mutation of build outputs:\n\n   ```bash\n   bash path\u002Fto\u002Fdesktop-packaging\u002Fscripts\u002Fbuild_backend.sh --repo-root . --yes\n   ```\n\n   [scripts\u002Fbuild_backend.sh](scripts\u002Fbuild_backend.sh) wraps the repo backend\n   PyInstaller build, verifies `dist\u002Fmain\u002Fmain` or `dist\u002Fmain\u002Fmain.exe`, and can\n   optionally copy the built backend into `frontend\u002Fbackend\u002F`.\n4. If the task needs packaged app artifacts, read\n   [references\u002Fbuild-and-package.md](references\u002Fbuild-and-package.md) for the\n   exact backend, dependency, frontend copy, and Electron command sequence.\n5. If the failure involves `window_inspector`, `window_capture`, Quartz, or a\n   non-macOS helper skip, read\n   [references\u002Fhelper-binaries.md](references\u002Fhelper-binaries.md).\n6. If a command failed, map the symptom in\n   [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) before\n   reinstalling dependencies or deleting outputs.\n\n## Build ownership map\n\n| Surface | Owned here | Key expectation |\n| --- | --- | --- |\n| Backend executable | Yes | Root `build.sh`\u002F`build.bat` invoke PyInstaller with `opencontext.spec` and produce `dist\u002Fmain\u002Fmain` or `dist\u002Fmain\u002Fmain.exe`. |\n| Frontend backend copy | Yes | `frontend\u002Fscripts\u002Fcopy-prebuilt-backend.js` deletes and recreates `frontend\u002Fbackend\u002F` from root `dist\u002Fmain\u002F` plus `dist\u002Fconfig\u002F`. |\n| Electron package | Yes | Run package scripts from `frontend\u002F`, not the root `package.json`. macOS\u002FWindows package scripts copy the backend first; Linux currently requires an explicit backend copy before packaging. |\n| macOS helpers | Yes | `window_inspector` and `window_capture` are Quartz\u002FPyObjC helpers copied into the macOS app as `bin\u002Fwindow_inspector` and `bin\u002Fwindow_capture`. |\n| Server behavior | No | Route CLI flags, FastAPI health\u002FAPI behavior, backend logs at runtime, and config semantics to [runtime-service](..\u002Fruntime-service\u002FSKILL.md). |\n\n## Safe operating rules\n\n- Treat `build.sh`, `build.bat`, `pnpm run build*`, `electron-builder`, and\n  backend copy commands as mutating. They may delete or recreate root `dist\u002F`,\n  root `build\u002F`, `frontend\u002Fdist\u002F`, and `frontend\u002Fbackend\u002F`.\n- Do not run release\u002Fpublish commands or signing\u002Fnotarization flows by default.\n  Packaging can be tested unsigned; signed release builds require the user's\n  explicit credential setup and approval.\n- Do not fix `copy-prebuilt-backend` failures by reinstalling frontend\n  dependencies first. Check whether the root backend executable exists.\n- On Linux or Windows, a skipped `window_inspector`\u002F`window_capture` build is\n  expected for the JavaScript helper build path because those helpers use macOS\n  Quartz APIs.\n- Keep runtime API\u002Fconfig\u002Fdocument-processing questions in\n  [runtime-service](..\u002Fruntime-service\u002FSKILL.md); use this sub-skill only for\n  package-time mechanics.\n","# desktop-packaging\n\nUse this sub-skill when a task asks to build or troubleshoot the MineContext\nstandalone desktop application: the PyInstaller `opencontext` backend\nexecutable, copying that backend into `frontend\u002Fbackend\u002F`, Electron packaging\nfrom the `frontend\u002F` package, macOS helper binaries, signing\u002Fnotarization\npreflight, or failures in the build scripts.\n\nRoute backend server startup, FastAPI routes, runtime configuration, and\n`opencontext start` behavior to [runtime-service](..\u002Fruntime-service\u002FSKILL.md)\ninstead of diagnosing them here. This sub-skill only owns build\u002Fpackage\nmechanics and package-time file placement.\n\n## Natural triggers\n\nUse this sub-skill for requests that mention:\n\n- \"build MineContext app\", `pnpm build:mac`, `pnpm build:win`, `pnpm build:linux`, or Electron packaging;\n- \"build backend\", `build.sh`, `build.bat`, `PyInstaller`, or `opencontext.spec`;\n- `copy-prebuilt-backend`, missing `frontend\u002Fbackend\u002Fmain`, missing `dist\u002Fmain\u002Fmain`, or backend executable copy failures;\n- `window_inspector`, `window_capture`, Quartz, macOS helper binaries, screen helper build skips, or helper `dist\u002F` outputs;\n- signing, notarization, Gatekeeper, keychain, `electron-builder`, frozen-lockfile failures, or build script failures.\n\n## First checks\n\n1. Confirm the agent is operating from a MineContext checkout or has a repo root\n   path. Package scripts expect a root containing `opencontext.spec`,\n   `hook-opencontext.py`, `build.sh`, and `frontend\u002Fpackage.json`.\n2. Run the bundled preflight before any mutating build:\n\n   ```bash\n   bash path\u002Fto\u002Fdesktop-packaging\u002Fscripts\u002Fcheck_packaging_env.sh --repo-root .\n   ```\n\n   [scripts\u002Fcheck_packaging_env.sh](scripts\u002Fcheck_packaging_env.sh) reports\n   Python, uv, Node, pnpm, platform, required packaging files, helper-binary\n   paths, and backend-copy readiness without installing anything.\n3. If the task is only to produce the backend executable, use the safer backend\n   wrapper and explicitly acknowledge its mutation of build outputs:\n\n   ```bash\n   bash path\u002Fto\u002Fdesktop-packaging\u002Fscripts\u002Fbuild_backend.sh --repo-root . --yes\n   ```\n\n   [scripts\u002Fbuild_backend.sh](scripts\u002Fbuild_backend.sh) wraps the repo backend\n   PyInstaller build, verifies `dist\u002Fmain\u002Fmain` or `dist\u002Fmain\u002Fmain.exe`, and can\n   optionally copy the built backend into `frontend\u002Fbackend\u002F`.\n4. If the task needs packaged app artifacts, read\n   [references\u002Fbuild-and-package.md](references\u002Fbuild-and-package.md) for the\n   exact backend, dependency, frontend copy, and Electron command sequence.\n5. If the failure involves `window_inspector`, `window_capture`, Quartz, or a\n   non-macOS helper skip, read\n   [references\u002Fhelper-binaries.md](references\u002Fhelper-binaries.md).\n6. If a command failed, map the symptom in\n   [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) before\n   reinstalling dependencies or deleting outputs.\n\n## Build ownership map\n\n| Surface | Owned here | Key expectation |\n| --- | --- | --- |\n| Backend executable | Yes | Root `build.sh`\u002F`build.bat` invoke PyInstaller with `opencontext.spec` and produce `dist\u002Fmain\u002Fmain` or `dist\u002Fmain\u002Fmain.exe`. |\n| Frontend backend copy | Yes | `frontend\u002Fscripts\u002Fcopy-prebuilt-backend.js` deletes and recreates `frontend\u002Fbackend\u002F` from root `dist\u002Fmain\u002F` plus `dist\u002Fconfig\u002F`. |\n| Electron package | Yes | Run package scripts from `frontend\u002F`, not the root `package.json`. macOS\u002FWindows package scripts copy the backend first; Linux currently requires an explicit backend copy before packaging. |\n| macOS helpers | Yes | `window_inspector` and `window_capture` are Quartz\u002FPyObjC helpers copied into the macOS app as `bin\u002Fwindow_inspector` and `bin\u002Fwindow_capture`. |\n| Server behavior | No | Route CLI flags, FastAPI health\u002FAPI behavior, backend logs at runtime, and config semantics to [runtime-service](..\u002Fruntime-service\u002FSKILL.md). |\n\n## Safe operating rules\n\n- Treat `build.sh`, `build.bat`, `pnpm run build*`, `electron-builder`, and\n  backend copy commands as mutating. They may delete or recreate root `dist\u002F`,\n  root `build\u002F`, `frontend\u002Fdist\u002F`, and `frontend\u002Fbackend\u002F`.\n- Do not run release\u002Fpublish commands or signing\u002Fnotarization flows by default.\n  Packaging can be tested unsigned; signed release builds require the user's\n  explicit credential setup and approval.\n- Do not fix `copy-prebuilt-backend` failures by reinstalling frontend\n  dependencies first. Check whether the root backend executable exists.\n- On Linux or Windows, a skipped `window_inspector`\u002F`window_capture` build is\n  expected for the JavaScript helper build path because those helpers use macOS\n  Quartz APIs.\n- Keep runtime API\u002Fconfig\u002Fdocument-processing questions in\n  [runtime-service](..\u002Fruntime-service\u002FSKILL.md); use this sub-skill only for\n  package-time mechanics.\n",{"name":5,"license":24,"metadata":25,"description":7,"disable-model-invocation":27},"Apache 2.0",{"disco-role":26},"operating",true,"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fminecontext\u002Fsub-skills\u002Fdesktop-packaging",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":27},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill desktop-packaging",{"tool":42,"command":43},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill desktop-packaging",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill desktop-packaging","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fminecontext\u002Fsub-skills\u002Fdesktop-packaging\u002FSKILL.md",[49,55,59],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fbuild-and-package.md","REFERENCE","参考文档",8847,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fminecontext\u002Fsub-skills\u002Fdesktop-packaging\u002Freferences\u002Fbuild-and-package.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fhelper-binaries.md",4480,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fminecontext\u002Fsub-skills\u002Fdesktop-packaging\u002Freferences\u002Fhelper-binaries.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Ftroubleshooting.md",6998,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fminecontext\u002Fsub-skills\u002Fdesktop-packaging\u002Freferences\u002Ftroubleshooting.md",[64,73,78,85,92,99],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":72},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":74,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":72},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":72},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":72},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":72},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":72},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]