
package-release
by peteonrails
package-releaseは、ソフトウェア開発を効率化するスキルです。開発ワークフロー全体をサポートし、チームの生産性向上とコード品質の改善を実現します。
SKILL.md
name: package-release description: Package voxtype for release. Creates deb and rpm packages from binaries. Use when building distribution packages. user-invocable: true allowed-tools:
- Bash
- Read
- Glob
Package Release
Build distribution packages (deb, rpm) for voxtype releases.
Prerequisites
fpm- Install withgem install fpmrpmbuild- Install withsudo dnf install rpm-buildorsudo pacman -S rpm-tools- Pre-built binaries in
releases/${VERSION}/
Quick Package
If binaries already exist:
./scripts/package.sh --skip-build ${VERSION}
Full Build + Package
Build binaries and create packages:
./scripts/package.sh ${VERSION}
Options
| Flag | Description |
|---|---|
--skip-build | Use existing binaries, don't rebuild |
--deb-only | Build only Debian package |
--rpm-only | Build only RPM package |
--no-validate | Skip package validation |
--release N | Set package release number (default: 1) |
--arch ARCH | Target architecture: x86_64 or aarch64 |
Output
Packages are created in releases/${VERSION}/:
voxtype_${VERSION}-1_amd64.debvoxtype-${VERSION}-1.x86_64.rpm
Validation
The script automatically:
- Validates binaries for CPU instruction contamination
- Checks deb package structure for duplicate fields
- Verifies required control file fields
Workflow
- Build binaries (Docker for AVX2/Vulkan, local for AVX-512)
- Verify binary versions match expected version
- Run
./scripts/package.sh --skip-build ${VERSION} - Test package installation in a VM or container
Common Issues
Binary not found:
Error: Binary not found: releases/0.4.14/voxtype-0.4.14-linux-x86_64-avx2
Build binaries first or check the version number.
fpm not found:
gem install fpm
Validation failed: Check the specific error. Usually means Docker cache is stale.
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
1ヶ月以内に更新
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です

