Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)8.5k · #12431

bootstrap-diagnostics

Skill này làm gì

Skill này giải thích cách xử lý các dòng cảnh báo in ra khi Firstmate khởi động, như công cụ bị thiếu hoặc quá cũ. Skill dành cho người chạy Firstmate muốn thiết lập hỏi ý kiến trước khi thay đổi bất cứ thứ gì.

Khi nào nên dùng

  • ✓Khi kiểm tra khởi động báo một công cụ bị thiếu và đưa ra lệnh cài đặt.
  • ✓Khi kiểm tra khởi động báo một công cụ quá cũ và cần nâng cấp.
  • ✓Khi kiểm tra khởi động báo cần đăng nhập GitHub trước khi công việc có thể bắt đầu.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/bootstrap-diagnostics/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Kiểm tra khởi động báo một công cụ bị thiếu. Hãy giải thích nó cần gì và hỏi tôi trước khi cài đặt bất cứ thứ gì.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent liệt kê từng công cụ bị thiếu hoặc lỗi thời cùng mục đích và lệnh cài đặt. Nó chờ bạn đồng ý trước khi cài hoặc nâng cấp, và không bắt đầu công việc cho đến khi các công cụ cần thiết và đăng nhập đã sẵn sàng.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Nó có cài đặt mà không hỏi không?

Không. Nó liệt kê những gì cần thiết và chờ bạn đồng ý trước khi cài hoặc nâng cấp.

Nếu thiếu đăng nhập GitHub thì sao?

Agent báo rằng cần đăng nhập, và không công việc nào bắt đầu cho đến khi xong.

Tôi có cần biết tên các công cụ không?

Không. Agent giải thích từng công cụ bằng lời đơn giản và nói nó cần cho việc gì.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
8.5k
Vị trí xếp hạng
#12431
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự