AgentSkillsCN

repo-d-local-packaging

为<PRIVATE_REPO_D>运行基于Windows本地的打包与发布验证流程。在构建分发包、修复打包回归问题,或在不引入CI工作流的情况下验证安装程序/便携式输出时,请务必使用此方法。

SKILL.md
--- frontmatter
name: repo-d-local-packaging
description: Run Windows-local packaging and release validation for <PRIVATE_REPO_D>. Use when building distributables, fixing packaging regressions, or validating installer/portable outputs without introducing CI workflows.

Repo D Sandbox Local Packaging

Use this skill for deterministic local packaging in <PRIVATE_REPO_D>.

Workflow

  1. Confirm Node LTS and npm workspace setup.
  2. Run baseline checks before packaging:
bash
npm install
npm run build
npm run lint
  1. Build distributables:
bash
npm run dist
  1. Run packaging verification (desktop workspace):
bash
npm --workspace apps/desktop run verify
  1. Use PowerShell wrappers when requested:
powershell
powershell -ExecutionPolicy Bypass -File scripts/build.ps1
powershell -ExecutionPolicy Bypass -File scripts/package.ps1

Evidence to Capture

  • Commands executed and pass/fail status.
  • Artifact paths under apps/desktop/release.
  • Any blocker with explicit reproduction steps.

References

  • Packaging checklist: references/packaging-checklist.md