一键导入
gem-release
Build and release the smalruby3 gem to RubyGems. Handles version bump, gem build, and push.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build and release the smalruby3 gem to RubyGems. Handles version bump, gem build, and push.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
autopilot の総合サポート。初期設定(必要情報のインタビュー → 起動スクリプト tmp/autopilot_up.sh の生成 → 起動コマンド提示)、Issue の enroll ショートカット(本文や末尾に「enroll autopilot」)、トラブル診断(check-autopilot へ委譲)、運用中の操作支援。「init autopilot」「autopilot開始」「go autopilot」「play autopilot」「enroll autopilot」など、autopilot と一緒にやろうと汲み取れるひとことで起動する。
autopilot daemon の状態確認と異常(Blocked / 認証失効 / stuck)の診断・復旧支援。「check autopilot」「check autopilot
/upstream:merge - Interactive Upstream Merge Workflow. upstream scratch-editor の変更を Smalruby に取り込む半自動ワークフロー。
smalruby3-editor の devcontainer 設定 (.devcontainer/devcontainer.json) を対話的に作成する。テンプレート (.example) を基に、利用者の環境に合わせて mounts セクションを ON/OFF する。devpod / VS Code Dev Containers で開発したい人が初回に使う。
プログラム不具合報告 (smalruby-bug-report) を DynamoDB から取得し、添付作品を S3 からダウンロードして GitHub Issue 化し、対応後に状態・返信を報告者へ書き戻す。管理者の追加/削除も行う。
Google Form のフィードバック(Google Spreadsheet からコピー)を GitHub Discussions の Feedback カテゴリに転記する。
| name | gem-release |
| description | Build and release the smalruby3 gem to RubyGems. Handles version bump, gem build, and push. |
| argument-hint | [version e.g. 26.31.291] |
smalruby3 gem をビルドして RubyGems に公開する。
$ARGUMENTS — リリースバージョン(例: 26.31.291)バージョン未指定の場合は ruby/smalruby3/lib/smalruby3/version.rb の現在のバージョンを使用する。
| フィールド | 意味 | 例 |
|---|---|---|
| YY (MAJOR) | 年の下2桁 | 26 = 2026 |
| MR (MINOR) | 月 × 10 + 月内リリース番号 | 31 = 3月1回目 |
| DDR (PATCH) | 日 × 10 + 日内リリース番号 | 291 = 29日1回目 |
ruby/smalruby3/lib/smalruby3/version.rb の現在のバージョンを読むversion.rb を更新するdocker compose run --rm smalruby3 bash -c "bundle exec standardrb && bundle exec rake test"
テストが失敗した場合はリリースを中止する。
cd ruby/smalruby3
gem build smalruby3.gemspec
ビルド成功を確認し、gem specification smalruby3-VERSION.gem で metadata を表示する。
以下を表示してユーザーに確認を求める:
「gem push を実行してよいですか?」と確認する。
IMPORTANT: この手順はユーザーの明示的な承認後のみ実行する。
cd ruby/smalruby3
gem push smalruby3-VERSION.gem
初回は認証情報の入力が必要。ユーザーに ! gem push smalruby3-VERSION.gem の実行を案内する(インタラクティブ認証が必要なため)。
バージョン更新がある場合はコミット:
git add ruby/smalruby3/lib/smalruby3/version.rb
git commit -m "release: smalruby3 vVERSION"
タグを作成:
git tag smalruby3-vVERSION
プッシュ:
git push origin HEAD
git push origin smalruby3-vVERSION
smalruby3-vVERSION