validation-supervision
Skill này làm gì
Skill này quản lý các lần kiểm chứng tự động trên thay đổi code đã hoàn tất trong Firstmate. Skill dành cho người muốn code được kiểm tra trước khi phát hành và muốn tránh mở rộng phạm vi trong lúc kiểm tra.
Khi nào nên dùng
- ✓Khi một thay đổi code đã sẵn sàng và cần bắt đầu một lần kiểm chứng tự động.
- ✓Khi có yêu cầu mới xuất hiện trong lúc kiểm chứng.
- ✓Khi một lần kiểm chứng hỏi một câu cần quyết định.
Liên kết skill
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/validation-supervision/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
“Bắt đầu kiểm chứng cho thay đổi đã hoàn tất của tôi, và gửi mọi ý tưởng mới đến một tác vụ theo dõi thay vì tác vụ này.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Worker bắt đầu lần kiểm chứng và dẫn nó qua từng cổng. Các yêu cầu mới thường trở thành công việc theo dõi, còn các sửa lỗi cần để giữ hành vi đã thống nhất đúng thì ở lại tác vụ hiện tại.
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.
Validation supervision
For a no-mistakes ship, trigger validation on the same worker after its implementation commit, using the harness invocation owned by harness-adapters.
The task worker that starts a no-mistakes run drives the pipeline and owns every no-mistakes axi run and no-mistakes axi respond call through the next gate or outcome.
Firstmate never invokes no-mistakes axi respond for a crew-owned run.
bin/fm-dod-lib.sh owns the worker-side --intent contract.
Once validation starts, prefer routing new requirements to follow-up work rather than expanding the current task, unless a new requirement completely invalidates the work being validated; however, the smallest downstream changes needed to keep already accepted product or engineering behavior correct, add behavioral tests where an executable contract exists, or keep documentation accurate remain within the current task even when they touch files not named at intake, and corrections required to satisfy already accepted intent are not new requirements.
Only a current, explicit captain instruction that completely invalidates the work being validated keeps the task with the same worker instead of routing it to follow-up work or handing it to a replacement.
That worker cancels the active run through no-mistakes axi's supported abort command and confirms through axi status that the run has stopped before changing any code.
The worker then follows branch_sync.next_action from structured axi status: use axi sync's supported guarded recovery only when its code is recover_custody, and otherwise proceed only when structured status confirms that branch ownership is already returned and no recovery is required.
Custody recovery settles branch ownership, not content: the worker must replace the obsolete work from the correct pre-invalidation base rather than building on top of the recovered-but-obsolete head, keeping the obsolete run's own pipeline-fix commits out of what gets validated and shipped.
Apart from that single supported abort, do not hand-edit, commit, restart, or start a second validation run while the obsolete run still owns the branch.
Once ownership is settled, validate exactly once against that final head so no obsolete or intermediate head is ever treated as authoritative.
An ask-user finding returns as needs-decision; firstmate loads ask-user-authority and either decides or escalates per that skill.
Send the same worker one exact decision naming the decision key, step, action, affected finding IDs, instructions where needed, and exact response command, passing --resolve-key so the worker's open decision record closes at answer time.
Require the matching resolved event, forbid --yes, and require the worker to process every synchronous return until completion or a genuinely new escalation.
Resume fleet supervision immediately after the decision lands.
Judge validation by the resolved state line from bin/fm-crew-state.sh, whose header owns outcome mappings and CI-monitor/daemon exceptions, never by shell liveness, the last status event, or a raw run record.
Workers parked at approval or fix-review must follow the active gate help.
A worker hand-editing, committing, aborting, or restarting during an active validation run duplicates pipeline ownership outside the supersession sequence above; steer it back to the gate response flow.
The worker reports the PR when CI first becomes green rather than waiting for merge monitoring to finish.
Câu hỏi thường gặp
Một yêu cầu mới có thể thay đổi tác vụ hiện tại không?
Chỉ khi một chỉ dẫn rõ ràng làm mất hiệu lực hoàn toàn công việc đang được kiểm chứng.
Ai trả lời các câu hỏi kiểm chứng?
Worker gửi chúng lên để quyết định, còn agent không tự trả lời.
Có thể dừng một lần kiểm chứng không?
Có. Dùng lệnh hủy được hỗ trợ, và việc dừng được xác nhận trước khi có thay đổi nào.
Chi tiết
Mô tả gốc của tác giả
Load when a ship starts or already has an active no-mistakes validation run, including a mid-run requirement change or finding, and before deciding or answering any ask-user finding.
repo: kunchenguid/firstmate
Độ phổ biến
- Sao GitHub
- 8.5k
- Vị trí xếp hạng
- #12450
- 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ự
test-driven-development
311kDạy agent của bạn viết kiểm thử thất bại trước, xem nó thất bại, rồi viết đoạn mã ngắn nhất để vượt qua trước khi làm bất kỳ tính năng hay bản sửa nào.
verification-before-completion
311kDạy agent của bạn chạy kiểm tra thực tế và đọc kết quả đầu ra trước khi khẳng định một việc, bản sửa hoặc bản build đã hoàn thành hay vượt qua.
migrate-to-shoehorn
310kThay các ép kiểu rủi ro trong tệp kiểm thử bằng thư viện shoehorn, để các bài kiểm thử dùng dữ liệu một phần vẫn qua được kiểm tra kiểu.