Skill
Đưa request tới PR readiness với ak:vibe
Điều phối planning cô lập, implementation, verification, GitHub delivery cùng merge và CI convergence tùy chọn mà không bypass gate.
Dùng ak:vibe khi một GitHub issue hoặc feature request có boundary rõ cần đi
qua isolated worktree, validated plan, implementation hoặc repair, local review,
pull request và merge tùy chọn. Pipeline điều phối owning Skill; nó không thay
thế test, approval gate, branch protection hay security rule của chúng.
Chọn ak:vibe cho end-to-end delivery
Dùng ak:vibe khi
- GitHub issue là source of truth cho feature hoặc bugfix.
- Natural-language request cụ thể cần trở thành issue cùng reviewed PR.
- Bạn muốn cùng pipeline chọn
ak:cookcho feature work hoặcak:fixcho bug, regression, failing CI hay incident evidence. - Bạn muốn optional beta delivery, dual-stage promotion hoặc advisory checkpoint.
Chọn workflow khác khi
- Requirement hoặc product scope vẫn cần khám phá. Bắt đầu với
ak:brainstormhoặcak:plan. - Bạn cần local implementation và không cấp quyền GitHub mutation, branch push
hay PR creation. Dùng trực tiếp
ak:cookhoặcak:fix. - Bạn chỉ cần review. Dùng
ak:code-reviewhoặcak:review-pr. - Repository hiện tại không khớp supplied issue repository.
- Work phải chạy trực tiếp trên protected hoặc shared integration branch.
Chuẩn bị delivery authority
Trước khi bắt đầu:
- Hoàn thành Làm quen và xác nhận mọi Engineer Skill được điều phối đã cài cho đúng runtime cùng scope.
- Mở Git repository khớp với clean hoặc reusable isolated feature worktree strategy.
- Cài AgentKit CLI, Git cùng
ghCLI authenticated có permission cần cho issue, label, branch, PR, review cùng merge action được yêu cầu. - Cung cấp GitHub issue URL/number hoặc feature request có outcome, scope, constraint, acceptance criteria cùng non-goal.
- Quyết định run chỉ được tới PR readiness hay có thể merge và converge CI.
- Giữ unrelated work và xác định protected branch cùng promotion policy.
| Runtime | Cách gọi | Ranh giới khả dụng |
|---|---|---|
| Claude Code | /ak:vibe ... | Phân phối native là mặc định. Source trực tiếp định nghĩa nested Skill cùng advisory orchestration cho runtime này. |
| Cursor | /ak:vibe ... | Cách gọi bằng slash đã được người dùng xác minh, nhưng full parity cho nested Skill, agent, GitHub action cùng long CI monitoring chưa được thiết lập. |
| Codex | $ak:vibe ... | Native discovery áp dụng cho main Skill. Nested slash-form call cần runtime adaptation; Kongming có Codex-specific model projection nhưng full pipeline parity vẫn phụ thuộc capability. |
Xem Runtime adapter trước khi bắt đầu run dài, nhiều mutation ngoài runtime có evidence mạnh nhất.
Chọn ship mode có chủ đích
/ak:vibe --beta "Add exportable audit logs with existing authorization, focused tests, and no breaking API changes"/ak:vibe --beta "Add exportable audit logs with existing authorization, focused tests, and no breaking API changes"$ak:vibe --beta "Add exportable audit logs with existing authorization, focused tests, and no breaking API changes"| Input | Delivery target cùng stopping point |
|---|---|
| Không có ship flag | Tạo official/stable-target PR, review và fix, gắn ready label rồi dừng không merge |
--beta | Tạo và chuẩn bị beta/dev-target PR rồi dừng không merge |
--ship | Dùng stable target, merge ready PR và watch hoặc fix target-branch CI |
--ship --beta | Dùng beta target, merge ready PR và converge beta CI |
--both | Bao gồm merge authority; hoàn tất beta merge cùng green CI trước stable promotion, merge và green CI |
--advice | Thêm Kongming checkpoint và post post-CI assessment lên PR cùng source issue; compose với mọi ship mode |
Mode resolution là --both trên --beta trên default stable. Khi cả hai flag
cùng xuất hiện, Skill cảnh báo một lần rồi tiếp tục dual-stage mode.
PR readiness vẫn mutate Git và GitHub
Bỏ --ship ngăn merge, nhưng pipeline vẫn tạo hoặc update issue, tạo label,
ghi plan, đổi code, commit, push, mở PR, post review reply và update label. Dùng
Skill hẹp hơn nếu các effect đó chưa được cấp quyền.
Hiểu điều gì xảy ra trong một lần chạy
- Skill resolve request. Skill xác minh repository identity, đọc issue title, body cùng comment khi được cung cấp, extract contract, chọn feature hoặc bugfix route và tìm existing durable plan.
- Skill tạo isolation.
ak:worktreetạo hoặc reuse matching clean worktree cùng descriptive branch. Skill không implement trực tiếp trên common protected hoặc integration branch. - Skill validate plan. Existing
plan.mdhợp lệ được reuse; nếu không,ak:plan --tddtạo plan. Validation, red-team cùng whole-plan consistency sweep luôn chạy trước implementation. - Skill project state lên GitHub. Workflow tạo delivery label còn thiếu, tạo hoặc update source issue, ghi branch, route, plan, mode cùng acceptance criteria, rồi link issue vào local plan index.
- Skill implement scoped work. Feature dùng
ak:cook --tdd --auto; bugfix dùngak:fix --auto. Issue đổi từready to cooksangin progresstrước khi code change bắt đầu. - Skill thực hiện local review.
ak:code-review --pendingkiểm tra spec compliance cùng quality. Critical và Important finding được fix rồi relevant validation chạy lại. - Skill ship PR.
ak:ship betahoặcak:ship officialfinalize plan file, merge target branch vào feature branch, test, review, commit, push, mở PR và ghi linked PR. - Skill converge PR review.
ak:review-pr --fix --replyreview full PR, fix actionable finding, push verified fix, post final review và chờ required check thành terminal cùng green. - Skill đánh dấu readiness. Issue và PR nhận ready label đúng; stale implementation label được remove.
- Skill tùy chọn merge và monitor.
--shipcùng--bothmerge theo repository convention, watch target-branch CI hoặc deploy workflow và chạy bounded follow-up fix branch cho deterministic failure.
Dual-stage mode không bắt đầu stable delivery tới khi beta CI green. Trước promotion merge, Skill liệt kê commit được mang theo và dừng xin duyệt nếu promotion sweep unrelated work.
Giữ approval gate nguyên vẹn
--shipcấp quyền merge PR chỉ sau khi readiness gate pass; nó không cấp quyền force push, direct push vào protected target, bypass review hay che check fail.--bothcấp quyền hai delivery stage nhưng không cho unrelated promotion sweep.- Public-contract, security-sensitive, business hoặc irreversible decision vẫn là human gate ngay trong automatic implementation mode.
- Branch protection cùng required review vẫn authoritative. Pending check có thể dùng repository-supported auto-merge; failed hoặc conflicting state không thể bị force qua.
- Cùng unresolved CI blocker chỉ được thử tối đa ba lần trước khi run dừng và handoff evidence.
--advicethêm counsel cùng external PR/issue comment. Kongming không edit code hay cung cấp approval thay user.
Tính network, process, disk và cost
- GitHub issue, label, PR, review, merge cùng workflow operation dùng authenticated network request và mutate shared repository state.
- Worktree creation ghi checkout khác; owning Skill có thể install dependency dựa trên lockfile, dùng đáng kể network, CPU cùng disk.
- Planning, implementation, test, build, review, commit cùng follow-up fix có thể spawn nhiều local process và tạo durable file.
- CI cùng deploy workflow dùng runner hoặc provider capacity của repository sau push và merge. Skill không định giá; account billing cùng quota áp dụng.
- Issue body, comment, plan, PR text, log cùng advisory comment phải loại secret, token, customer data, private environment value và sensitive command output chưa redact.
Xác minh kết quả
Một PR-readiness run hoàn tất nên cung cấp:
- Source issue hoặc created issue URL, isolated branch cùng worktree, durable plan, implementation route và resolved ship mode.
- Acceptance criteria được current test cùng local review evidence hỗ trợ.
- Pushed PR có structured evidence, linked plan, final review verdict, green required check cùng ready label đúng.
- Không có unresolved Critical hoặc Important review finding.
- Completion report nêu review iteration, blocker cùng unresolved question.
Merge-enabled run còn phải hiển thị merge result, merge commit, target-branch CI conclusion cùng mọi follow-up fix. Dual-stage completion cần evidence PR, merge và CI riêng cho beta cùng stable.
Xử lý sự cố hoặc tiếp tục
| Triệu chứng | Bước tiếp theo an toàn |
|---|---|
| Issue thuộc repository khác | Dừng và chuyển sang matching repository hoặc cung cấp matching issue. |
| Plan resolution mơ hồ | Trình bày candidate đã xác minh và chọn trước khi tạo worktree. |
| Validation hoặc red-team finding còn lại | Sửa plan; không bắt đầu implementation. |
| GitHub label hoặc issue mutation fail | Báo exact gh error và dừng trước khi implementation state diverge. |
| Test hoặc review fail | Giữ evidence hiển thị và fix qua owning Skill trước khi ship. |
| PR CI vẫn pending | Tiếp tục monitor; không báo ready hoặc merged sớm. |
| CI fail vì thiếu secret hoặc human approval | Ghi external blocker mà không làm yếu test hay expose secret value. |
| Promotion chứa unrelated commit | Dừng và yêu cầu explicit approval cho expanded merge scope. |
| Cùng fix fail ba lần | Dừng với attempted fix, exact failure evidence cùng bounded handoff. |
| Runtime không project được nested Skill hoặc agent | Dừng tại stage đã hoàn tất và báo missing capability; đừng mô phỏng thành công. |
Biết các giới hạn hiện tại
- Full run phụ thuộc nested Skill tương thích, GitHub access, repository convention, branch protection, test infrastructure cùng CI availability.
- Natural-language input gây GitHub issue creation sau plan gate; đây không phải local-only shortcut.
- Automatic implementation không loại business hoặc irreversible-action gate.
- Package stable và beta hiện chứa cùng instruction cùng invocation behavior cho
ak:vibe.
Triển khai công việc đã duyệt với ak:cook
Cung cấp cho ak:cook một task rõ ràng hoặc plan đã duyệt, giữ quyền kiểm soát tại các review gate và xác minh implementation tạo ra.
Cải thiện mechanical metric với ak:loop
Chạy thử nghiệm tuần tự được Git theo dõi trên một numeric metric với guard, bằng chứng rollback và hard stop condition.