agentleFS
www-donghanhcungban-orgwww-donghanhcungban-org/X-Templates/.agents/skills/autopilot/SKILL.md

autopilot

Skill16 starsChanged 7 days agoMITView on GitHub

Chạy tự động pha BUILD theo khung X-Templates — kế hoạch gọn (G0–G4 mức S), phiên chính tự duyệt mọi điểm quyết định, vòng lặp có bằng chứng máy (xt.py loop) trong MỘT phiên: build đợt → audit delta → sửa/đợt kế, lặp tới khi hết việc rồi /complete phát hành; không hỏi người (việc cần người: loop defer). Dùng khi người dùng mô tả dự án/tính năng mới, muốn "làm tự động đến khi xong", hoặc gõ /autopilot.

  • Commits and pushes

90 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review-bugbot, split-to-prs and 10 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.
  • 0mlkrizzz655335vSkill

    review-bugbot

    缺陷导向代码审查。用 Bugbot 子代理找 bug。

    Also in 3 projects that use this

  • Tsumugii24Skill

    split-to-prs

    Split current work into small reviewable PRs. Use when the user asks to split a chat, set of changes, branch, or PR.

    Also in 5 projects that use this

  • Jurel89Skill

    ultraqa

    QA cycling loop — build/lint/test, fix, retry up to 5 cycles

    Also in 3 projects that use this

  • 0mlkrizzz655335vSkill

    rename-chat

    重命名当前聊天。按聊天内容改标题。"disable-model-invocation: true

    Also in 3 projects that use this

  • PandelisZSkill

    update-cli-config

    View and modify Cursor CLI configuration settings in ~/.cursor/cli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.

    Also in 3 projects that use this

  • 32103210Skill

    migrate-to-skills

    Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent Skills format (.cursor/skills/). Use when you want to migrate rules or commands to skills, convert .mdc rules to SKILL.md format, or consolidate commands into the skills directory.

    Also in 3 projects that use this

  • +1 more from 0mlkrizzz655335v

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 81 edited versions we read keep these.

  • 0

    Distinctive

    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
  1. Very specific:

    Stop hook quyết: continue/verify → làm theo lý do nó in.

    line 30

“Common” is measured: kept by at least 6 in 10 of the 81 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/autopilot — pha build: nhanh nhất trên sàn máy, code tới khi có bản thử

Giao thức đầy đủ: <FW>/11-autonomous-loop/README.md; file này là checklist pha build (ADR-0046). <FW> = .xtemplates/framework (dự án đích) hoặc framework (repo khung); <XT> = python3 .xtemplates/scripts/xt.py (hoặc python3 scripts/xt.py). Máy in sẵn bước kế. Một phiên tới khi hết việc (ADR-0009). Sàn không bỏ (stop-points-and-escalation.md §Điểm dừng): guard chặn không đảo ngược/đối ngoại/bí mật; điểm dừng tiền/dữ liệu/khoá thật (loop defer); Gate máy mỗi task; cổng commit; CI xanh để merge; verify --all trước khi dừng. Bị chặn là kết luận.

Bước 0 — chuẩn bị

  1. Tên phiên <Tên repo> — <tên nhánh> (SessionStart in sẵn; nhánh chính → tạo <type>/<mô-tả>).
  2. <XT> doctor --fix — ✗ còn → báo lệnh install.py một lần, làm tiếp; ⚠ là việc của phiên.
  3. Chế độ quyền Auto. delivery_phase (xt.yaml): build → checklist này; harden → thêm luật PR /complete bước 4; không tự đổi pha (ADR-0037).

Pha 1 — kế hoạch gọn (G0–G4 mức S, lifecycle.md quy tắc 6), không code

Đọc repo (stack/CI/test từ file thật) → <XT> compose … --out BLUEPRINT.md (không tick; quy mô: ADR-0081) → docs/autopilot/PLAN.md (đợt sau: PLAN-<đợt>.md) theo mẫu <FW>/templates/PLAN.md: 4 dòng Khung đầu PLAN (vấn đề · người dùng · 1 chỉ số · không làm) khi chưa có PROJECT.md; task ≤ 1 ngày, mỗi task một Gate máy kiểm + Given/When/Then và ca biên ngắn trong dòng task, (sau: …; files: …), (topo: parallel; exec: deep) cho việc khó; T-001 dựng nền (xt.yaml lệnh thật, CI, MUST sàn bảo mật/cấu hình/dữ liệu); Ủy quyền production nếu cần. researcher + ADR chỉ khi thêm phụ thuộc/dịch vụ/luật ngành; SPEC riêng chỉ cho nghiệp vụ không tầm thường (tiền, quyền, trạng thái); thiết kế chỉ phần code cần (ADR-0041). Tự duyệt PLAN: tóm tắt ≤ 30 dòng đầu PLAN, <XT> loop decide --question "Duyệt PLAN …" …, làm tiếp không chờ. Điểm quyết định: tự duyệt (AGENTS.md §4), <XT> loop decide … → D-NNN; mặc định tự host. Có sổ giai đoạn: PLAN khai Giai đoạn sản phẩm: N (C-NNN) (<XT> stage status, ADR-0058).

Pha 2 — vòng lặp có bằng chứng (G5–G6)

  1. <XT> loop init --plan docs/autopilot/PLAN.md --blueprint BLUEPRINT.md --single-session [--hours <H>] (exit 2 "đang có vòng" → <XT> loop attach, không tự --force).
  2. Mỗi vòng: <XT> loop status --json → làm đúng task theo topology (thiếu=self; review: reviewer-alt rà trước PR; audit: /audit — harden: cả hai dồn về cổng ký; parallel: giao executor — LOOP-ORCH-024); milestone_done → làm tiếp (audit cuối đợt/cổng ký, D-500) → Gate chạy y nguyên qua <XT> loop record --task T-NNN [--executor <agent>] -- '<Gate>' → exit 0: máy tự tick [x], commit nhỏ; exit ≠ 0: sửa — lần 2 cùng lỗi → đổi cách (D-NNN), máy chuyển cấp sau 2 lần đỏ, BLOCKED sau 3. Không nới cổng.
  3. Một luồng dùng thử (UI/API/dữ liệu/test) → một PR: PROGRESS.md (≤ 8 KB) vào commit cuối → đẩy một lần, mở PR nháp (gh pr create --draft; chỉ PR số nhỏ nhất cùng nhánh đích gh pr ready; PR đáy chưa merge thì không mở PR lát kế — LOOP-STOP-031) → <XT> pr next --pr <N> → làm đúng do (theo chính sách nhánh đích, ADR-0079) → <XT> merge-watch --pr <N> nền, làm lát kế ngay; PR đổi → lại pr next. Push thêm: gói sửa vào một commit.
  4. Blueprint: tick [x] mục task vừa chứng minh kèm — Kiểm: <lệnh>`` chạy lại được (không có lệnh: — Bằng chứng: <file|URL>); [~] — Không áp dụng: <điều kiện>; MUST muốn miễn → loop defer. MUST mở không chặn done ở build (đợt kế//complete).
  5. Việc cần người (AGENTS.md §Điểm dừng): <XT> loop defer --task <ID> --reason "…" rồi làm tiếp; mọi việc còn lại phụ thuộc → <XT> loop block --reason "…". Việc production: <XT> grant-check <nhóm> khoá=giá trị exit 0 mới làm.
  6. ≥ 80 % trần vòng/giờ/tiền → Bàn giao vào PROGRESS, commit + push.

Kết thúc đợt → audit → đợt kế (không dừng — ADR-0047)

  • Stop hook quyết: continue/verify → làm theo lý do nó in; blocked/budget → dừng, báo lý do + bước kế, không khai "xong".
  • done/done-pending-human → <XT> loop stats, báo cáo ≤ 20 dòng, gọi <XT> loop next-step --prs <JSON pr next của đợt>. pr → bước 6; stage-submit → trình MVP ngay; audit → /audit delta (lần đầu full); replan → PLAN đợt kế từ 🔴/🟠 + MUST mở (chép nguyên dòng task chờ người), tự duyệt, loop init → bước 5; verify → loop verify --all; blocked/budget → dừng, báo; ready-for-complete → feedback collect, đề xuất /complete, dừng.
  • stage-submit → trình, gọi lại loop next-step; smoke đỏ → replan. stage-approve → đối chiếu tiêu chí MVP trong PLAN, duyệt hoặc mở lại theo reason. stage-reopen → mở lại, tiếp tục giai đoạn 1. wait-approval → báo người, dừng.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.