flow-init
Skill2 starsChanged 6 days agoMITView on GitHub
Dùng khi người dùng muốn đưa một dự án vào quy trình lần đầu — dự án trắng, repo đang có đội làm chung, hệ thống đang chạy production, hoặc repo đã có sẵn tài liệu cho agent cần nhận về. Người dùng hay nói "khởi tạo", "cài quy trình cho repo này", "mới vào dự án", "tôi vừa nhận repo này", "init".
2 other projects use a version of this.
Adopted by
Most recently taken up by
- foryouself83/harness-tiertheir own version, first seen Oct 13, 2026
- fancylight/skillstheir own version, first seen Jul 23, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- foryouself83/harness-tier★ 10same name
- fancylight/skills★ 1same name
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-learnSkill
- flow-planSkill
- flow-postSkill
- flow-reviewSkill
- flow-runbookSkill
- flow-secretsSkill
- flowSkill
- flow-syncSkill
- flow-testSkill
- flow-worktreeSkill
The file
Files
flow-init — vào dự án
Bộ skill trung tính: không giả định stack, ngôn ngữ hay kiểu commit. Đo trước, cấu hình sau, hỏi phần lệch.
Ai thắng ở đâu
- Thứ đội nhìn thấy (commit, PR, tên test, định dạng mã, ngôn ngữ tài liệu): theo đội.
- Thứ chỉ người dùng thấy (ngôn ngữ chat, ghi chú trong
.flow/): theo người dùng.
Sở thích cá nhân xem bằng flow user, đặt bằng flow user set <khoá> <giá trị>. Lớp này luôn nằm dưới quy ước dự án.
Các bước chung
flow fingerprint— đo quy ước, không ghi gì. Đọc kết quả trước khi quyết định.flow init— tạo.flow/và ghi.git/info/exclude. Thêm--stack,--gates,--comments,--commit-body,--context,--namekhi kết quả đo chưa đúng.flow onboard— xem điều còn lệch. Hỏi người dùng trên chat, ghi bằngflow onboard decide <Dn> <số>.- Soát
modules,verify,canonicaltrong.flow/profile.json. Điền.flow/PROJECT.mdvà.flow/services.md. - Rà bí mật ngay, dùng skill
flow-secrets, vì nên biết trước khi có thêm công cụ đọc repo. - Làm theo loại dự án dưới.
- Chốt.
Bốn loại dự án
Dự án mới
- Sở thích người dùng trở thành quy ước.
- Điền bản đồ service và module từ thiết kế, kể cả khi chưa có mã.
- Gieo vài luật đầu tiên bằng
flow rules new, mỗi luật có cách kiểm. - Chọn gate theo rủi ro:
flow init --gates ui-change,schema-migration.
Repo có đội
- Đọc tệp chỉ dẫn của dự án trước mọi thứ khác, vì chúng thắng bộ skill.
verifyưu tiên đúng lệnh CI đang chạy, để kết quả cục bộ và CI khớp nhau.- Không sinh ngữ cảnh hàng loạt. Module nào chạm tới thì sinh khi đó bằng skill
flow-context. - Không đổi quy ước của đội, không thêm tệp lên repo.
Hệ đang chạy production
- Bắt đầu chỉ đọc, đặt
autonomy.levellàlocal. - Đo baseline:
flow verifyđể biết cái gì đỏ sẵn, nếu không sẽ không phân biệt được lỗi cũ với lỗi do mình gây ra. - Rút luật từ lịch sử sửa lỗi (
git log --grep) và hỏi người dùng những điều cấm kỵ, vì chúng hiếm khi nằm trong mã. - Xác nhận
branches.protectedvàbranches.ownerOnlyvới người dùng. - Viết characterization test trước khi sửa, để giữ hành vi đang có.
- Chỉ chặn trùng lặp mới:
flow dup baseline. - Mọi thao tác production đi qua runbook, dùng skill
flow-runbook.
Có sẵn hệ ngữ cảnh
- Trỏ vào qua
layout.legacy,layout.moduleContext,layout.contracts. Không di chuyển, không đổi tên, vì người khác và công cụ khác đang dùng chúng. - Tên tệp ngữ cảnh module khác mặc định thì dùng
flow init --context <tên>. - Dự án có chủ trương track tài liệu harness thì dùng
--track-harness, không tự quyết.
Chốt
flow reindex
flow context coverage
flow doctor
flow sync --markflow onboard refresh để đo lại khi quy ước của dự án đổi. sync --mark chỉ chạy khi đã đọc ngữ cảnh hiện có và kiểm với mã.
Báo cáo
Ngắn, gồm:
- Loại dự án và lý do xếp vào loại đó
- Quy ước đo được, phần người dùng đã chốt
- Lệnh verify và cái gì đang đỏ sẵn
- Kết quả rà bí mật
- Điều còn thiếu và bước kế tiếp
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.

