flow
Skill2 starsChanged 6 days agoMITView on GitHub
Dùng khi sắp làm bất kỳ việc gì liên quan đến mã trong một repo có `.flow/profile.json` ở thư mục này hoặc thư mục cha — thêm tính năng, vá lỗi, refactor, soát mã, tìm hiểu hệ thống — và nạp trước khi mở mã nguồn. Cũng dùng khi người dùng nhắc "flow", "quy trình", "harness", "luật dự án", "đọc gì trước", hoặc khi có điều cần họ chốt.
33 other projects use a version of this.
Adopted by
Most recently taken up by
- phuthuycoding/kanban-flowtheir own version, first seen Nov 8, 2026
- jocarrd/crux-agentstheir own version, first seen Nov 8, 2026
- cofin/flowtheir own version, first seen Nov 7, 2026
- retospect/precis-mcptheir own version, first seen Nov 6, 2026
- luckys/agent-skillstheir own version, first seen Nov 1, 2026
- lidaye910416/prompt-polishtheir own version, first seen Nov 1, 2026
Used with
Projects with it also use grill, implement and 5 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
renatorozasSkillgrill
Adversarial code review. Don't let me ship until the changes pass your scrutiny.
Also in 3 projects that use this
Hugging FaceSkillimplement
Make tests pass. Invoke after /write-tests produces failing tests.
Also in 5 projects that use this
SentrySkillreview
Fixture review skill.
Also in 6 projects that use this
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 3 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 3 projects that use this
AWSSkillship
Finalize dev work on an issue branch — update docs, push, and open a PR.
Also in 3 projects that use this
Other versions33 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 33
- react/react★ 252ksame name
- facebook/react★ 252ksame name
- software-mansion/react-native-audio-api★ 856same name
- simota/agent-skills★ 96same name
- panayiotism/claude-harness★ 79same name
- rainday/smart-blog-skills★ 35same name
- cofin/flow★ 19same name
- basezh/agent-skills-on-base★ 15same name
- retospect/precis-mcp★ 11same name
- foryouself83/harness-tier★ 10same name
23 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- flow-contextSkill
- flow-executeSkill
- flow-exploreSkill
- flow-initSkill
- flow-learnSkill
- flow-planSkill
- flow-postSkill
- flow-reviewSkill
- flow-runbookSkill
- flow-secretsSkill
- flow-syncSkill
- flow-testSkill
- flow-worktreeSkill
The file
Files
flow — cửa vào
Định vị
Chạy flow where. Sau đó:
- Có
.flow/: đọc theo thứ tự dưới. - Không có
.flow/: làm theo quy ước sẵn có của repo, không tự khởi tạo.flow fingerprintđọc được repo bất kỳ và không ghi gì. Người dùng muốn đưa dự án vào quy trình thì dùng skillflow-init. flow onboardcòn điều cần chốt: hỏi người dùng trước khi sửa mã.
Thứ tự đọc
Đủ để làm thì dừng, vì mỗi tệp đọc thừa lấy chỗ của ngữ cảnh cần về sau.
.flow/PROJECT.md.flow/services.md- Luật khớp tệp sắp chạm:
flow rules find --path <tệp> - Memory:
flow memory --text <từ khoá> .flow/contracts.md.flow/consumed/.flow/reference/.flow/coverage.mdCONTEXT.mdcủa module- Mã
Cỡ task
| Cỡ | Dấu hiệu | Đường đi |
| S | Một module, vài tệp, không chạm tiền, auth, schema, hợp đồng | Sửa, rồi skill flow-post |
| M | Nhiều tệp hoặc nhiều module, cần chia bước | Skill flow-explore → flow-plan → flow-execute → flow-post |
| L | Nhiều repo, tiền, auth, schema, sự kiện, luật critical | Như M, thêm người dùng duyệt plan trên chat |
Post không bao giờ bỏ, kể cả với S, vì đó là nơi phép đo thật diễn ra.
Các skill
- Vào dự án: skill
flow-init, skillflow-sync - Đường chính: skill
flow-explore, skillflow-plan, skillflow-execute, skillflow-post - Chất lượng: skill
flow-test, skillflow-review, skillflow-runbook - Kiến thức: skill
flow-context, skillflow-learn - Hỗ trợ: skill
flow-worktree, skillflow-secrets
Nguyên tắc
- Kiểm bằng lệnh, không suy luận hay nhớ, vì trí nhớ không theo kịp mã.
- Tài liệu có thể cũ, mã là sự thật. Thấy lệch thì sửa tài liệu ngay, để người sau không vấp lại.
- Tái hiện lỗi trước khi sửa, nếu không sẽ không biết bản sửa có tác dụng.
- Kết quả rỗng cần phép đo đối chứng, vì lệnh sai cũng cho ra rỗng.
- Công cụ tĩnh xanh chưa chứng minh hành vi; biên dịch được không có nghĩa là chạy đúng.
- Đề phòng thất bại im lặng:
catchrỗng, giá trị mặc định che lỗi, consumer bỏ qua thông điệp. - Kiến thức để trong tài liệu module, luật, tên định danh, tên test; không để trong chú thích hay thân commit, vì những chỗ đó không ai tìm tới.
- Mọi luật cần có cách kiểm, luật không kiểm được sẽ mục dần.
- Không nới công cụ kiểm để qua, vì như vậy là tắt chuông báo.
- Báo cáo trung thực cả phần đỏ và phần bỏ qua, vì người đọc quyết định dựa trên đó.
- Nhánh được bảo vệ do người dùng quyết.
- Tìm mã có sẵn trước khi viết mới, vì bản thứ hai sẽ lệch khỏi bản thứ nhất.
- Không in bí mật, vì lịch sử phiên giữ lại mọi thứ đã in.
- Tiết kiệm ngữ cảnh: grep có mục tiêu, đọc đúng đoạn cần.
Quy ước của repo
Đọc từ .flow/profile.json, không mang từ repo khác sang. Mỗi giá trị có nguồn ở _sources. Thứ tự phân giải, lớp sau thắng lớp trước:
- Mặc định trung tính
- Sở thích người dùng ở
~/.agent-flow/user.json - Quy ước đo được và tệp chỉ dẫn của dự án (
instructions) - Điều người dùng chốt
| Khoá | Áp cho |
language.code | Tên định danh, chuỗi trong mã |
language.team | Mô tả PR, tên test, tài liệu lên repo |
language.user | Chat, nội dung trong .flow/ |
hygiene.comments | Nghĩa |
off | Không kiểm chú thích |
no-new | Không thêm chú thích mới, chú thích cũ để yên |
unit | Đơn vị bị chạm (hàm, khai báo) phải sạch chú thích |
file | Tệp bị chạm phải sạch chú thích |
Chỉ dẫn máy đọc luôn được giữ ở mọi mức: build tag, lint directive, type-check directive, migration marker, đầu tệp mã sinh, shebang. Phép thử: bỏ đi thì công cụ đổi hành vi.
Commit & PR
- Tiêu đề nói thay đổi cho người đọc, không nói tên tệp hay tên hàm. Ví dụ:
feat: let members renew a loan once. - Thân theo
commit.body, kiểu theocommit.style, ngôn ngữ theocommit.language. - Mô tả PR ngắn, lời thường, theo template của repo nếu có, không thì
<gói>/templates/pr-description.md. - Không nhắc harness trong mã, commit, PR.
- Kiểm bằng
flow commitmsg --message "…"vàflow prmsg <tệp>.
Hỏi người dùng
Mọi quyết định của người dùng được đưa thẳng lên chat kèm lựa chọn. Tài liệu chỉ là biên bản, vì không ai đọc câu hỏi nằm trong tệp.
- Chỉ hỏi điều thật sự thuộc quyền họ. Phần còn lại tự quyết và liệt kê mỗi việc một dòng.
- Hỏi sớm, gom một lượt.
- Mỗi câu tự đứng được, người đọc không cần mở tệp nào.
- Claude Code: dùng công cụ AskUserQuestion, tối đa 4 câu, mỗi câu 2–4 lựa chọn, khuyến nghị đặt đầu.
- CLI khác: in khối dưới rồi dừng chờ.
**D1 · Trả muộn có tính phí không** — `Loan` quá hạn hiện chỉ cảnh báo; tính phí sẽ đổi màn hình của `Member`.
1. Có, tính theo ngày (khuyến nghị)
2. Không, giữ cảnh báoCó câu trả lời thì ghi bằng flow plan decide <slug> <Dn> "<lựa chọn>". Xin duyệt plan cũng trên chat, tóm tắt tối đa 10 dòng.
Nhắc nhanh
- Người dùng sửa cách làm: ghi ngay bằng skill
flow-learn. - Một việc song song một worktree: skill
flow-worktree. - Lệnh của repo thắng lệnh của bộ skill.
- Gọi skill: Claude Code
/flow-x, Gemini/flow:x, Codex/prompts:flow-x.
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.

