flow-execute
Skill2 starsChanged 6 days agoMITView on GitHub
Dùng khi có plan ở trạng thái APPROVED và tới lúc bắt tay làm, khi quay lại làm tiếp sau phiên mới hoặc sau khi ngữ cảnh bị nén, hoặc ngay trước khi commit, push, mở PR trong repo có `.flow/`. Người dùng hay nói "bắt đầu đi", "làm theo plan", "code đi", "làm tiếp", "chạy hết task".
In this repository13 other files it gives its agents.
- flow-contextSkill
- flow-exploreSkill
- flow-initSkill
- flow-learnSkill
- flow-planSkill
- flow-postSkill
- flow-reviewSkill
- flow-runbookSkill
- flow-secretsSkill
- flowSkill
- flow-syncSkill
- flow-testSkill
- flow-worktreeSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 47
Commit theo commit.* của profile.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
flow-execute — thi hành
Plan APPROVED thì tự đi hết danh sách task tới mức autonomy.level. Ngoài sáu điểm dừng dưới, không dừng để hỏi "làm tiếp không", vì người dùng đã duyệt cả danh sách.
autonomy.level | Được làm tới |
local | Commit trên nhánh cục bộ |
pr | Push nhánh và mở PR |
merge | Merge khi mọi cổng xanh, trừ phần thuộc branches.ownerOnly |
Sáu điểm dừng phải hỏi
- Sắp ghi lên nhánh được bảo vệ.
- Việc tiếp theo vượt mức tự chủ.
- Thao tác không đảo ngược trên môi trường dùng chung.
- Cần trình duyệt tương tác trên môi trường thật.
- Plan sai phạm vi, hoặc review chặn lặp lại.
- Sắp vi phạm một luật critical.
Pre-flight
Một lần ở đầu, chạy lệnh thật, không suy từ plan:
flow where, nhánh hiện tại, cây làm việc sạchflow plan status <slug> EXECUTINGflow gates --changed --print executeflow verifyđể có mốc trước khi sửa
Cây đang dùng chung với phiên khác thì sang skill flow-worktree.
Vòng mỗi task
flow task next <slug>- Tìm trước khi viết:
flow dup find "<ý đồ>", grep. Gặp lỗi import thì sửa import, không tạo lại module. - Viết test, chạy thấy đỏ đúng lý do. Chi tiết ở skill
flow-test. - Viết mã vừa đủ.
- Chạy test thấy xanh.
- Có helper mới:
flow task note <slug> "formatDueDate ở loan/format.ts" --kind helper, để task sau và subagent khác tìm được. git add <tệp cụ thể>. Khônggit add -A, vì sẽ cuốn theo thứ của người khác.flow check --stagedflow commitmsg --message "…"- Commit theo
commit.*của profile. flow task done <slug> <Tn> --commit <sha>- Định kỳ, sau vài task hoặc sau task rủi ro: review độc lập bằng skill
flow-review.
Công cụ cản trở hay tài liệu sai thì ghi ngay, không để trôi:
flow task note <slug> "…" --kind frictionKhông sửa công cụ kiểm để qua. check đỏ thì sửa mã, hoặc hỏi người dùng nếu nghĩ công cụ sai.
Phiên mới hoặc sau khi nén
flow where, rồi flow task next <slug>. Đó là đủ để tiếp tục. Không dựa vào trí nhớ về trạng thái; plan và git mới là nguồn đúng.
Subagent song song
- Mỗi subagent một worktree, dùng skill
flow-worktree. - Giao đúng phạm vi: task nào, tệp nào, helper nào đã có, luật nào áp dụng.
- Sau mỗi đợt chạy
flow dup check --base <nhánh gốc>, vì các subagent không nhìn thấy nhau và dễ viết trùng. - Kết quả của subagent phải được kiểm lại bằng lệnh, không chỉ đọc báo cáo.
Hết task
Chuyển sang skill flow-post. Chưa qua bước đó thì chưa được nói xong.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

