shorebird-patch
Handles mobile app patching workflows including staging, promotion, and deployment verification.
Install
mkdir -p .claude/skills/shorebird-patch && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12128" && unzip -o skill.zip -d .claude/skills/shorebird-patch && rm skill.zipInstalls to .claude/skills/shorebird-patch
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Shorebird OTA パッチの作成・配布(staging → promote → stable)Key capabilities
- →Create a Shorebird patch for staging
- →Promote a staging patch to stable
- →Verify asset differences in a patch
- →Report patch details including asset differences
How it works
The skill creates a Shorebird OTA patch for staging, allows verification, and then promotes it to stable.
Inputs & outputs
When to use shorebird-patch
- →Create staging patch for mobile
- →Promote patch to stable
- →Verify patch asset readiness
About this skill
Shorebird パッチ配布
Shorebird OTA パッチを staging に作成し、検証後に stable へ昇格する。
新バージョンのリリースは
/release-mobileスキルを使用する。 アセット差分でパッチが適用されない場合も、/release-mobileでリリース後に再パッチする。
フロー概要
patch (staging) → デバッグ画面で検証 → promote (stable) → 全ユーザーに配信
パッチ手順
1. バージョン確認
grep '^version:' apps/mobile/pubspec.yaml
version: X.Y.Z+N の値を記録する(= <version>)。
2. パッチ作成 (staging)
引数でプラットフォームが指定された場合はそのまま使う。指定がなければユーザーに確認する。
# iOS
bash .claude/skills/shorebird-patch/patch.sh ios <version>
# Android
bash .claude/skills/shorebird-patch/patch.sh android <version>
# 両方の場合は順番に実行
スクリプトが以下を一括で行う:
shorebird patchで staging にパッチ作成--allow-asset-diffsによりアセット変更の確認プロンプトを自動スキップ
完了後の出力から パッチ番号 を記録する(= <patch-number>)。
3. アセット差分の検証(重要)
パッチ出力に以下の警告が含まれていないか確認する:
[WARN] Your app contains asset changes, which will not be included in the patch.
この警告が出た場合、パッチは publish されるが実機に適用されない可能性が高い。
対処法
アセット差分が検出された場合、ユーザーに以下を報告する:
- 警告内容: どのファイルにアセット差分があるか(例:
MaterialIcons-Regular.otf) - 影響: パッチは作成されるが、デバイスでダウンロード後に適用されない
- 推奨対応:
/release-mobileで新リリースを作成してから、クリーンな状態でパッチを再作成する
4. 検証(staging)
パッチが staging に配信されたら、以下の方法で検証する:
- ローカル:
shorebird preview --track=staging --release-version=<version> - 実機(TestFlight等): アプリのデバッグ画面(ロゴ5連打)→ Update Track を Staging に変更 → アプリ再起動
5. Promote (staging → stable)
検証が問題なければ stable に昇格する:
bash .claude/skills/shorebird-patch/promote.sh <version> <patch-number>
6. 完了報告
以下を報告する:
- パッチ番号
- 対象プラットフォーム
- リリースバージョン
- トラック: staging → promote 前 / stable → promote 後
- アセット差分: あり/なし(ありの場合は警告を明記)
npm scripts
npm run shorebird:patch:android -- <release-version>
npm run shorebird:patch:ios -- <release-version>
npm run shorebird:promote -- <release-version> <patch-number>
トラブルシュート
- アセット差分でパッチが適用されない:
--allow-asset-diffsでパッチ作成は成功するが、アセット変更(フォント、画像等)を含むパッチは実機で適用に失敗する。/release-mobileで新リリースが必要 - 署名エラー(exportArchive): IPA生成時のエラーはShorebirdパッチ自体には影響しない。パッチが
Published Patch N!と表示されていれば成功 - インタラクティブプロンプト:
shorebirdコマンドを直接実行する場合は--release-versionフラグ必須(省略するとインタラクティブプロンプトで非TTY環境がエラーになる) - パッチが反映されない場合の確認: 設定画面のバージョン表示で
(patch N)が出ているか確認。出ていなければShorebirdリリースビルドでない可能性がある - staging パッチの確認方法: デバッグ画面(ロゴ5連打)→ Update Track を Staging に変更 → アプリ再起動
When not to use it
- →When releasing a new version of the mobile app
- →When asset differences prevent patch application
Limitations
- →Asset changes are not included in the patch
- →IPA generation errors do not affect patch success
How it compares
This automates the patch creation and promotion steps, including asset difference checks, instead of manual command execution.
Compared to similar skills
shorebird-patch side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| shorebird-patch (this skill) | 0 | 5mo | Review | Beginner |
| stac-quickstart | 1 | 6mo | Review | Beginner |
| flutter-development | 1,555 | 5mo | No flags | Intermediate |
| flutter-expert | 73 | 4mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
stac-quickstart
StacDev
Help initialize and validate a Stac-enabled Flutter project and ship a first server-driven screen. Use when users ask to set up Stac CLI, run stac init/build/deploy, verify project prerequisites, or troubleshoot first-run setup and missing configuration files.
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
flutter-expert
sickn33
Master Flutter development with Dart 3, advanced widgets, and multi-platform deployment. Handles state management, animations, testing, and performance optimization for mobile, web, desktop, and embedded platforms. Use PROACTIVELY for Flutter architecture, UI implementation, or cross-platform features.
mobile-games
davila7
Mobile game development principles. Touch input, battery, performance, app stores.
flutter
alinaqi
Flutter development with Riverpod state management, Freezed, go_router, and mocktail testing
mobile-developer
sickn33
Develop React Native, Flutter, or native mobile apps with modern architecture patterns. Masters cross-platform development, native integrations, offline sync, and app store optimization. Use PROACTIVELY for mobile features, cross-platform code, or app optimization.