closed-loop-delivery
Skill này làm gì
Công cụ này giúp AI hoàn thành các tác vụ lập trình từ đầu đến cuối. Nó đảm bảo mã hoạt động, được xem xét và kiểm thử, theo các quy tắc rõ ràng cho đến khi mọi thứ sẵn sàng.
Khi nào nên dùng
- ✓Khi bạn muốn AI sửa một lỗi và kiểm thử bản sửa.
- ✓Khi bạn cần AI tạo một tính năng mới, bao gồm kiểm thử và triển khai.
- ✓Khi bạn muốn tránh phải yêu cầu AI kiểm thử, xem xét và triển khai trong các bước riêng lẻ.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/closed-loop-delivery/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
“Sửa lỗi X, đảm bảo các bài kiểm thử đạt, gửi để xem xét và triển khai lên môi trường phát triển.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Trước tiên, AI hiểu những gì cần làm và các quy tắc để công việc được coi là hoàn thành. Sau đó, nó viết mã, kiểm thử cục bộ, xử lý các nhận xét khi xem xét, và cuối cùng triển khai và xác nhận mọi thứ hoạt động đúng như mong đợ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.
Closed-Loop Delivery
Overview
Treat each task as incomplete until acceptance criteria are verified in evidence, not until code is merely changed.
Core rule: deliver against DoD (Definition of Done), not against code diff size.
When to Use
Use this skill when:
- user gives a coding/fix task and expects end-to-end completion
- task spans code + tests + PR comments + dev deploy + runtime checks
- repeated manual prompts like "now test", "now deploy", "now re-check PR" should be avoided
Do not use this skill for:
- pure Q&A/explanations
- prod deploy requests without explicit human approval
- tasks blocked by missing secrets/account access that cannot be inferred
Required Inputs
Before execution, define these once:
- task goal
- acceptance criteria (DoD)
- target environment (
devby default) - review cadence/budget when requested; a default review cadence is not a task-completion limit
If acceptance criteria are missing, request them once. If user does not provide, propose a concrete default and proceed.
Issue Gate Dependency
If the project already uses create-issue-gate, respect its current contract; otherwise derive acceptance criteria from the authorized task without inventing a mandatory issue.
- If issue status is
readyand execution gate isallowed, continue. - A real project-required draft gate can block dependent actions; it does not forbid independent discovery or already-authorized work under a different applicable workflow.
- Use available task context to formulate testable criteria; clarify only when a missing decision materially changes the outcome.
Default Workflow
Define DoD
- Convert request into testable criteria.
- Example: checkout task DoD = "checkout endpoint returns a valid, openable third-party payment URL in dev".
Implement minimal change
- Keep scope tight to task goal.
Verify locally
- Run focused tests first, then broader checks if needed.
Review loop
- Fetch PR comments/reviews.
- Classify valid vs non-actionable.
- Fix valid items, re-run verification.
Dev deploy + runtime verification
- Deploy only to an already-authorized dev target when runtime behavior matters; otherwise prepare and verify the concrete candidate locally.
- Verify via real API/Lambda/log evidence against DoD.
Completion decision
- Only report "done" when all DoD checks pass.
- Otherwise continue loop until pass or stop condition.
PR Comment Polling Policy
Avoid noisy short polling by default. Use batched windows:
- Round 1: wait
3m, collect delta comments/reviews - Round 2: wait
6m, collect delta again - Final round: wait
10m, collect all remaining visible comments/reviews
At each round:
- process all new comments in one batch
- avoid immediate re-poll after each single comment
- after the
10mround, stop waiting and proceed with all comments visible at that point
If CI is still running, align polling to check completion boundaries instead of fixed rapid polling.
Human Gate Rules (Must Ask)
Require missing consequential authorization for the following; do not request it again when the user has already granted the exact scope:
- production/staging deploy beyond agreed scope
- destructive operations (history rewrite, force push, data-destructive ops)
- actions with billing/security posture changes
- secret values not available in repo/runtime
- ambiguous DoD that materially changes outcome
Iteration/Stop Conditions
Stop and escalate with a concise blocker report when:
- The same verified external blocker leaves no meaningful authorized next step; two failed iterations alone are not a reason to stop when useful repair work remains
- external dependency blocks progress (provider outage, missing creds, account permission)
- conflicting review instructions cannot both be satisfied
Escalation report must include:
- what passed
- what failed
- evidence (commands/logs/API result)
- smallest decision needed from user
Output Contract
When claiming completion, always include:
- acceptance criteria checklist with pass/fail
- commands/tests run
- runtime evidence (endpoint/Lambda/log key lines)
- PR status (new actionable comments count)
Do not claim success without evidence.
Example
User request:
Take this bug from reproduction through root-cause proof, implementation, tests, review, and final validation.
Limitations
…
Câu hỏi thường gặp
“Acceptance criteria” là gì?
Đó là các quy tắc xác định khi nào một tác vụ được coi là hoàn thành và hoạt động đúng. Ví dụ: 'nút đăng nhập phải hoạt động mà không có lỗi'.
AI có thể triển khai lên môi trường thật không?
Không nếu chưa có sự phê duyệt rõ ràng của bạn. Nó có thể triển khai lên môi trường thử nghiệm (development), nhưng với môi trường thật, nó sẽ xin phép bạn.
Điều gì xảy ra nếu AI không thể hoàn thành tác vụ?
Nếu gặp trở ngại (như thiếu quyền hoặc vấn đề nó không tự giải quyết được), AI sẽ dừng lại và nhờ bạn giúp, đồng thời giải thích điều gì đã sai.
Chi tiết
Mô tả gốc của tác giả
Use when a coding task must be completed against explicit acceptance criteria with minimal user re-intervention across implementation, review feedback, deployment, and runtime verification.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #4159
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.