本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)8.5k · #12431

bootstrap-diagnostics

できること

このスキルは、Firstmateの起動時に表示される警告行、たとえばツールの不足や古さなどの扱い方を説明します。何かを変える前に確認を求めるセットアップを望む、Firstmateの利用者向けです。

使う場面

  • ✓起動時の確認で、ツールが足りず、インストールのコマンドが出たとき。
  • ✓起動時の確認で、ツールが古すぎて更新が必要と出たとき。
  • ✓起動時の確認で、作業を始める前にGitHubへのサインインが必要と出たとき。

スキルのリンク

https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/bootstrap-diagnostics/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/bootstrap-diagnostics/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“起動時の確認でツールが足りないと出ています。何が必要かを説明し、インストールする前に私に尋ねてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、不足または古いツールを、それぞれの用途とインストールコマンドとともに一覧にします。インストールや更新の前にあなたの承認を待ち、必要なツールとサインインが揃うまで作業を始めません。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

bootstrap-diagnostics

Handle each printed line as below, before dispatching work that depends on it. The line formats themselves are owned by bin/fm-bootstrap.sh's header; this playbook owns the response to actionable lines. The session-start rules in session-start-recovery still bind: detect, then consent, then install or upgrade - never change a tool the captain has not approved in this session - and no work is dispatched until the tools it needs are present and GitHub auth is good. When any diagnostic needs captain attention, report the plain consequence and requested action using AGENTS.md section 9's captain-facing translation contract; do not name the diagnostic label unless the captain needs to paste it into a command or issue.

  • MISSING: <tool> (install: <command>) - the tool is absent; list the missing tools to the captain with a one-line purpose each plus the printed install commands, wait for consent (one approval may cover the list), then run bin/fm-bootstrap.sh install <approved tools...>. An installed tool below its floor, or one missing a required capability, reports OUTDATED: instead.
  • OUTDATED: <tool> (installed: <version|unparseable>; requires <floor|capability>; upgrade: <command>) - the tool is present but below what this home needs, so it is an upgrade request, not an install. Report the installed version and the printed upgrade: command and wait for the same consent rule before running it; a printed command that is the tool's own installer means that tool ships no self-updater yet, so the upgrade reuses its install command. bin/fm-bootstrap.sh owns the floor policy, and never argue the floor down to whatever the home happens to have installed. For no-mistakes, the floor is 1.46.0 because this repo's PR gate requires structured pipeline attestation that older builds do not write. For treehouse, the requirement is treehouse get --lease support. For tasks-axi, the requirement also covers the separate feature probe (bin/fm-tasks-axi-lib.sh owns the definition); config/backlog-backend=manual only suppresses the verbose BOOTSTRAP_INFO: tasks-axi available fact, not this report. For quota-axi, bootstrap requires it because firstmate reads its current output directly before resolving every crew-dispatch profile array; without it, report the requirement and do not choose around an unexamined candidate.
  • PRESENTATION_UNAVAILABLE: lavish-axi ... - explain that visual presentation is unavailable and continue nonvisual work with plain-text decisions and reports; do not hold unrelated dispatch for installation consent. Do not use Lavish until it satisfies the floor owned by bin/fm-bootstrap.sh; when visual work needs it, request consent for the printed install or upgrade command, then rerun bootstrap to confirm compatibility before using it. Scout briefs check the same floor when scaffolded and ask for a text report instead of a Lavish loop, so scaffold a visual scout only after that rerun confirms compatibility.
  • MISSING_MANUAL: <tool> (instructions: <url>) - tell the captain why the tool is required and give them the printed instructions URL, but do not pass the tool to bin/fm-bootstrap.sh install; wait for the captain to complete the manual installation, then rerun session start to confirm the dependency is present.
  • BACKEND_INVALID: <name> (known: <names>) - the resolved runtime backend has no verified dependency or lifecycle contract, so do not dispatch work until the invalid FM_BACKEND or config/backend value is corrected to one of the listed backends.
  • NEEDS_GH_AUTH - ask the captain to run ! gh auth login (interactive; you cannot run it for them). This probe now arrives from the deferred network stage, so it is also how an unreachable network shows up: gh cannot validate its token offline and reports the same failure. Confirm reachability before asking the captain to re-authenticate a credential that may be fine.
  • NETWORK_CHECKS: <what did not complete>; rerun <command> - the deferred network stage itself could not finish, so the checks it names are simply unknown, not failed. Rerun the printed command; it is idempotent and re-derives every finding. A hit the ...s bound line means one of those checks is slow or unreachable - most often a remote secondmate host - and the stage stopped rather than letting it wedge; a recorded fleet lock holder changed line means lock line 1 no lo
よくある質問

確認なしでインストールしますか?

いいえ。必要なものを一覧にし、インストールや更新の前にあなたの承認を待ちます。

GitHubのサインインがない場合はどうなりますか?

エージェントはサインインが必要と報告し、それが終わるまで作業は始まりません。

ツール名を知っている必要がありますか?

いいえ。エージェントが、各ツールを平易な言葉で、何に必要かとともに説明します。

詳細

作者による元の説明

Load when the session-start digest's bootstrap or network-checks section, or a standalone bin/fm-bootstrap.sh or bin/fm-startup-network.sh run, prints an actionable diagnostic line - MISSING, MISSING_MANUAL, OUTDATED, PRESENTATION_UNAVAILABLE, BACKEND_INVALID, NEEDS_GH_AUTH, TANGLE, STARTUP_MEMORY_BUDGET, CREW_DISPATCH invalid, FLEET_SYNC, NETWORK_CHECKS, HOME_SUMMARY, BACKLOG_RECONCILE, SECONDMATE_SYNC, SECONDMATE_LIVENESS, SECONDMATE_HANDOFF, NUDGE_SECONDMATES, or FMX - or reports that an interrupted backlog cleanup may have left an endpoint or local copy. A silent bootstrap section, or any

repo: kunchenguid/firstmate

人気

GitHubのスター
8.5k
ランキング
#12431
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル