Chuyển đến nội dung
Skillpedia
Kiểm thử8.5k · #12450

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.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/validation-supervision/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

“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

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ự