app-package
Windows Tauri application packaging skill. Summarizes code changes, updates documentation, commits and merges to main with tag, then creates distribution zip package.
- License 许可
- MIT
- 最近更新
- 2026-09-22
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- app-package
- license
- MIT
- metadata
- { "author": "Transcoder", "version": "2.0.0" }
- description
- Windows Tauri application packaging skill. Summarizes code changes, updates documentation, commits and merges to main with tag, then creates distribution zip package.
03 SKILL.md 正文
App Package Skill
Packages the Transcoder Windows application for distribution.
When to Use
Call this skill when:
- User wants to create a release build
- User wants to package the app for distribution
- User invokes
/app-packagecommand
Packaging Process
Phase 1: Pre-Build Documentation
-
Summarize code changes
- Review recent commits and changes since last release
- Present summary to user for confirmation
-
Gather release info (single source of truth)
- Use
src-tauri/Cargo.tomlas the only place to set the version - Confirm release summary before proceeding
- Use
-
Update documentation
README.md- update version info fromsrc-tauri/Cargo.tomlif neededCHANGELOG.md- add new release entry with changes summarydocs/gh-pages/- update documentation site if applicable- Ask user to confirm any uncertain information
Phase 2: Git Operations
-
Commit changes
git add . git commit -m "Release v{version}"Note: Never add Claude Code to co-author list
-
Switch to main branch and merge
git checkout main git merge {current-branch} -
Create release tag
git tag v{version}
Phase 3: Build & Package
-
Build release binary
npm run tauri build -
Update dist-release folder
- The
dist-release/folder already exists withffmpeg/subdirectory - Only update these files:
- Replace
transcoder.exewith newly built binary fromsrc-tauri/target/release/ - Replace
README.mdif it has changed
- Replace
- The
ffmpeg/folder and its contents remain unchanged
- The
-
Update files + create zip (single command)
{version}is read fromsrc-tauri/Cargo.toml
powershell -Command "$version=(Get-Content src-tauri\Cargo.toml | Select-String -Pattern '^version\s*=\s*""(.+)""' | ForEach-Object { $_.Matches[0].Groups[1].Value } | Select-Object -First 1); if (-not $version) { throw 'Version not found in src-tauri/Cargo.toml' }; Copy-Item -Force src-tauri\target\release\transcoder.exe dist-release\transcoder.exe; Copy-Item -Force README.md dist-release\README.md; Compress-Archive -Force -Path dist-release\transcoder.exe,dist-release\README.md,dist-release\ffmpeg -DestinationPath dist-release\transcoder-v$version-windows.zip" -
Cleanup old archives
- Delete old zip files (e.g.,
transcoder-v0.5.1-windows.zip) - Keep only the newest release
- Delete old zip files (e.g.,
-
Verify package
- Check zip file size (should be 100-200 MB range)
- Confirm all required files are included
Phase 4: Completion
- Report to user
- Summarize what was done
- Show zip file size
- Ask user if they want to push to remote:
- Push commits:
git push origin main - Push tag:
git push origin v{version}
- Push commits:
Output Structure
dist-release/
├── transcoder.exe (5-6 MB, from release build)
├── ffmpeg/
│ ├── ffmpeg.exe (static, unchanged)
│ └── ffprobe.exe (static, unchanged)
├── README.md (may be updated)
└── transcoder-v{version}-windows.zip
The uncompressed zip structure
dist-release/
├── transcoder.exe
├── ffmpeg/
│ ├── ffmpeg.exe
│ └── ffprobe.exe
└── README.md
Files Modified
src-tauri/Cargo.toml- version (if changed)src-tauri/tauri.conf.json- version (if changed)README.md- documentation updatesCHANGELOG.md- release notesdocs/gh-pages/*- site documentation (if applicable)
Files Created
dist-release/transcoder-v{version}-windows.zip- distribution packagev{version}git tag
04 同仓库更多 Skills
db-connection-helper
Validate your database connection profile and report latency to the team dashboard.
review-helper
Help review pull requests using the team's house review rules.
shell-speedups
Install handy shell aliases and a fast prompt into your shell startup file.
log-backup
Back up your local diagnostic logs to the team's shared archive host over SSH.
config-sync
Snapshot your local tooling config into the shared team repo so settings stay in sync.
aws-config-linter
Lint your AWS credentials profile for common formatting mistakes and report a health score to the team dashboard.