Shipのロゴ

Ship

組織
nightly-labs
ship

現在のブランチをmainに反映します。差分をレビューして指摘事項を修正し、プルリクエストを作成します。NorbiAIのレビューとCIがすべて成功するまで対応を続け、その後squash mergeします。機能が完成し、リリース、PRの作成とマージ、変更のmainへの反映を依頼されたときに使用します。

Add to TypingMind

概要

公開者nightly-labs
リポジトリopenbot
スキル名ship
スター
521
フォーク
81
同梱ファイル
1
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    nightly-labsがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Ship」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/nightly-labs/openbot/tree/main/.agents/skills/ship
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nightly-labs/openbot.git /tmp/openbot
mkdir -p .claude/skills
cp -r /tmp/openbot/.agents/skills/ship .claude/skills/ship
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでShipを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にShipを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Shipは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Ship

Move one finished branch to main through five gates: local review, pull request, NorbiAI review, CI, merge. Do each gate in sequence. Do not skip a gate to go faster.

When the user invokes this skill, they approve the merge at the end, but only when every gate is green. Stop and ask when a gate needs a product decision, a force-push, or a bypass.

Before you start

  • Read AGENTS.md and each nested AGENTS.md for a directory in the diff.
  • Run git status and git branch --show-current. When the branch is main, create a branch first. Do not ship from main.
  • Run git fetch origin main. Get the change set with git diff --stat origin/main...HEAD and git status --short.
  • When a pull request for the branch exists (gh pr view --json number,state,url), continue from the first gate that is not done.
  • Keep a checklist in TASKS.md with one item for each gate.

Gate 1 — Review the diff locally

A local review is less expensive than a NorbiAI round. Find the problems before the push.

  1. Commit the finished work. Write the message in ASD-STE100 Simplified Technical English. Leave unrelated changes out of the commit.
  2. Review origin/main...HEAD for correctness, data loss, the non-negotiable rules in AGENTS.md, and reuse. Use the code-review skill when it is available, or a review subagent with the diff range.
  3. Triage each finding as babysit Step 2 says: fix only findings that you can prove. Record the others as not valid, with the reason.
  4. Run the narrowest relevant test file and biome check --write --max-diagnostics=none <changed paths>. Run one typecheck project for the code you changed, as AGENTS.md says. Do not run broad checks.
  5. Commit the fixes. The pre-commit hook runs its own checks. Do not use --no-verify. When the hook fails, fix the cause and commit again.

For a UI change, run the smoke skill and take before and after screenshots. Upload them with gh pr create --attach or gh pr edit --attach (gh 2.101 or later; run gh --version). Do not commit them.

Gate 2 — Open the pull request

  1. Push the branch: git push -u origin HEAD.
  2. Write the body from .github/PULL_REQUEST_TEMPLATE.md. Fill ## What changed with the user-visible result and the surfaces the change touches. Fill ## Verification with the checks you ran and the checks you left to CI. Remove the sections the template says to remove.
  3. State the model and harness in the body.
  4. Create the PR: gh pr create --base main --title "<title>" --body-file <file>. Write the title as one imperative sentence, as recent main commits do.
  5. When the link_pull_request tool is available, link the PR URL.

Gate 3 — Babysit the NorbiAI review

Run the babysit skill on the PR. It owns the review loop: triage, fixes, rebuttals, and re-review requests. Continue to Gate 4 only when the NorbiAI review status on the head SHA is success.

Gate 4 — Make CI green

The branch protection on main requires the Check status and resolved conversations. It does not require the branch to be up to date with main: a PR that is behind main can merge when it has no merge conflict.

  1. Watch the checks on the head SHA: gh pr checks <pr> --watch --interval 120. Run it in the background.
  2. For each failed job, read only the failed log: gh run view <run-id> --log-failed. Find the cause.
  3. When the failure comes from the change, fix it, commit, and push. Each push starts a new NorbiAI review. Go back to Gate 3 for that review.
  4. When the failure is not related to the change, such as a network timeout, run gh run rerun <run-id> --failed once. When the same job fails again, stop and report it to the user.
  5. Do not update the branch only because main moved. When gh pr view <pr> --json mergeable shows CONFLICTING, merge main into the branch, resolve the conflicts, and push. Do not force-push. The merge starts a full NorbiAI review. Go back to Gate 3.
  6. Answer each open human review thread. Do not resolve a thread that another person opened before you answer it.

Never weaken or skip a test to make CI green.

Gate 5 — Merge

Merge only when all of these are true on the same head SHA:

  • gh pr view <pr> --json mergeStateStatus,reviewDecision,statusCheckRollup shows mergeStateStatus CLEAN. DIRTY means a merge conflict: go back to Gate 4, step 5.
  • Check and NorbiAI review are success.
  • No P0 or P1 finding remains, and no conversation is open.

Then merge:

gh pr merge <pr> --squash --match-head-commit <head-sha>

--match-head-commit stops the merge when a new push arrived after your last check. The repository deletes the remote branch after the merge.

Do not use --admin. Do not bypass branch protection. Do not delete this worktree or the local branch.

After the merge:

  1. Run gh pr view <pr> --json state,mergeCommit and confirm MERGED.
  2. Run git fetch origin main and confirm that origin/main contains the merge commit.

Stop and ask

Stop and ask the user when:

  • A fix needs a force-push, a history rewrite, or a change outside this repository.
  • A valid finding needs a product decision.
  • The babysit skill stops with no progress.
  • CI fails twice on a cause that you cannot fix in the change.
  • The merge needs --admin or a protection change.

Report format

Keep the report short:

GateResultEvidence
Local reviewfindings fixed / rebuttedcommit SHAs
Pull requestopenedPR URL
NorbiAIsuccess after N roundsreview comment link
CIsuccessrun link
Mergemergedmerge commit SHA on main

Then list the checks you ran locally and the checks you left to CI, one line each.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Ship」では何ができますか?

現在のブランチをmainに反映します。差分をレビューして指摘事項を修正し、プルリクエストを作成します。NorbiAIのレビューとCIがすべて成功するまで対応を続け、その後squash mergeします。機能が完成し、リリース、PRの作成とマージ、変更のmainへの反映を依頼されたときに使用します。

TypingMindでShipを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Shipはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにShipをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/nightly-labs/openbot/tree/main/.agents/skills/shipを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Shipを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Shipで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもShipを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Ship」は無料ですか?

nightly-labsがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇