captain-hold-lifecycle
Skill này làm gì
Skill này bảo đảm mỗi câu hỏi cần quyết định của bạn được ghi lại như một tác vụ đang giữ trước khi công việc được gọi là xong. Skill dành cho người dùng Firstmate không muốn quyết định nào bị trôi mất.
Khi nào nên dùng
- ✓Khi một cuộc điều tra hoặc rà soát sắp được đánh dấu hoàn thành và nó đã nêu một câu hỏi cho bạn.
- ✓Khi bạn trả lời một câu hỏi đang giữ và agent cần ghi lại câu trả lời của bạn.
- ✓Khi lệnh kiểm tra đánh thức báo có sự không khớp giữa bản ghi và backlog.
Liên kết skill
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/captain-hold-lifecycle/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Trước khi bạn đánh dấu cuộc điều tra này xong, hãy đảm bảo mọi câu hỏi cần quyết định của tôi đã được lưu như một tác vụ đang giữ.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent ghi mỗi câu hỏi mở thành một tác vụ đang giữ cho bạn, kèm các lựa chọn. Công việc không thể được đánh dấu hoàn thành cho đến khi các câu hỏi đó được các tác vụ đang giữ mang theo.
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.
Captain-hold lifecycle
A decision is not a separate thing: it is simply a task waiting on the captain.
The one primitive is an ordinary backlog task held for the captain through bin/fm-captain-hold.sh hold; its identity is the task id, and that wrapper owns the deterministic mechanics this policy relies on.
The agent performs the semantic inventory because scripts must not infer captain calls from report prose, visual-review artifacts, terminal output, or chat.
Policy
Every unresolved question that belongs to the captain and is discovered while producing, reading, presenting, or ending an investigation or visual review must be carried by a captain-held task in the authoritative backlog of the home that owns the originating work before that work or review may be treated as complete.
For a Lavish board-backed handoff, pass the reply through bin/fm-procevent-lavish.sh arm --agent-reply-file before appending the status; the adapter owns version-specific acceptance ordering.
Prefer holding the work item the question gates over minting a new row; create a new task only when no work item exists to hold.
The originating investigation or review is never its own inventory entry, so hold a separate task for the call and pass --origin <origin-id> so complete can check it.
Put the question and its options in the hold reason, and keep one held task per genuine gate: a multi-question review is one held task pointing at its report, not a row per question. Represent that task with exactly one board card that consolidates its questions and options; never fan one task id into duplicate same-key cards.
Register or re-hold through bin/fm-captain-hold.sh hold, which is idempotent per task id.
After inventorying the whole report and review surface, firstmate runs bin/fm-captain-hold.sh complete with every captain-held task id, or with --none when nothing waits on the captain.
A scout may attest its own empty inventory only through the narrow command exception in its generated brief's Definition of done.
For a non-empty inventory or a refused command, the scout reports to firstmate rather than writing metadata or backlog records.
A completed investigation and an ended visual review use this same owner and completion command; a visual tool, including Lavish, never owns a parallel completion policy.
Run the command in the originating work's authoritative FM_HOME; secondmate-owned work registers in that secondmate home's backlog, and a question already held anywhere is never re-registered as a second row.
Do not close a captain-held task merely because the originating investigation completed, its report was archived, its visual review ended, or its task was torn down.
Holding the work item the question gates is safe for exactly that reason: cleanup keeps such a row open with the finished work's deliverable recorded and returns it to the queue, so it still reads as the captain's own call.
Only answer with the captain's words or an evidence-backed reconcile close may resolve it.
Never close anything the captain owns without recording what he actually said: bin/fm-captain-hold.sh answer writes his exact words into the task and closes a question-shaped call, while --release frees a captain-gated work item to proceed.
A merge approval uses that existing release path because approval permits the merge to proceed; cleanup closes the work only after it lands and records what shipped.
Closing a held row at merge approval instead records completion before landing, so the backlog claims completion before the work actually ships.
When the answer changes what a task must build, follow AGENTS.md section 7's mid-task ask rule to preserve the captain's words in the brief and steer the worker.
When the captain says "later", that is an answer too: re-hold with bin/fm-captain-hold.sh hold <id> --reason "<reason>" --until <date> so the item leaves the live Captain's Call and resurfaces on its date, instead of leaving a live-looking card or fabricating a closure.
"A keyed answer resolves its matching captain-held task" is one capability with one owner, bin/fm-captain-hold.sh answers, and every channel that carries a captain answer feeds it the same task id and answer; a channel never maps keys to tasks, records a decision, or resolves anything itself.
Chat already feeds it through bin/fm-send.sh --resolve-key, and a captured-answer source feeds it once bound with bin/fm-captain-hold.sh bind <source-id>; bind before arming
Câu hỏi thường gặp
Câu hỏi được lưu ở đâu?
Nó được lưu như một tác vụ đang giữ trong backlog của dự án sở hữu công việc đó.
Mỗi câu hỏi có một tác vụ riêng không?
Có. Mỗi quyết định thật có một tác vụ đang giữ riêng, được liên kết với lần rà soát nơi nó xuất phát.
Nếu chưa có tác vụ cho câu hỏi thì sao?
Agent chỉ tạo tác vụ mới khi không có mục công việc sẵn có nào để gắn câu hỏi vào.
Chi tiết
Mô tả gốc của tác giả
Load before treating an investigation, scout report, structured review, or Lavish review as complete, before ending a visual review that exposed a captain decision, when recording or routing the captain's answer, and on any RECORD DIVERGENCE line the wake drain prints.
repo: kunchenguid/firstmate
Độ phổ biến
- Sao GitHub
- 8.5k
- Vị trí xếp hạng
- #12432
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
afk
8.5kGiúp agent của bạn tiếp tục làm việc khi bạn vắng mặt, giữ các quyết định cho lúc bạn quay lại và gửi bạn một bản tóm tắt rõ ràng khi bạn về.
ahoy
8.5kGiúp agent của bạn tóm tắt ngắn những gì đã xảy ra trong phiên và hướng dẫn bạn qua các quyết định vẫn đang chờ bạn.
ask-user-authority
8.5kGiúp agent của bạn tự quyết các câu hỏi rà soát khi chúng khớp rõ với kế hoạch đã thống nhất, chỉ hỏi bạn khi câu hỏi mơ hồ hoặc có rủi ro.
away-quiet-supervision
8.5kĐặt các quy tắc an toàn khi giám sát công việc ở chế độ vắng mặt hoặc im lặng, để agent giữ tin nhắn rõ ràng và giữ các quyết định cần bạn.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.