agentleFS
www-donghanhcungban-orgwww-donghanhcungban-org/X-Templates/CLAUDE.md

X-Templates

CLAUDE.md16 starsChanged 6 days agoMITView on GitHub

The file

We found no rules to list in this file: it reads as prose or reference rather than instructions.

Files
CLAUDE.md

CLAUDE.md

@AGENTS.md

Riêng cho Claude Code

  • Hook (.claude/settings.json): SessionStart nạp PROGRESS + trạng thái autopilot (cả sau compaction); PreCompact ghi checkpoint và in nó làm chỉ dẫn tóm tắt nén (autoCompactWindow 400K, D-613; env đặt độ sâu subagent 1 — LOOP-ORCH-001); PreToolUse là guard không hỏi người (ADR-0018) — chặn hành động không đảo ngược, lộ bí mật, tắt/bỏ qua hook, ghi tay .autopilot/, dấu review đăng tay, merge chưa đủ điều kiện, commit ghi tên model/URL phiên (ai_attribution), tiêu đề PR/subject commit sai luật (LOOP-HARNESS-029); còn lại cho chạy (deploy, sửa cổng kèm lý do, thêm phụ thuộc…). Nhóm và lý do: framework/11-autonomous-loop/stop-points-and-escalation.md §Điểm dừng; luật đầy đủ nằm trong .claude/hooks/guard.py. Lệnh Gate/xt.yaml do harness chạy cũng qua guard (LOOP-STOP-027). Bị chặn là kết luận (AGENTS.md §3).
  • Quyền: permissions.allow có Bash, ask rỗng — Bash chạy không hỏi; hàng rào là deny của settings + guard (ADR-0017/0018). XT_GUARD_POLICY=strict trả lại chế độ hỏi.
  • Chế độ quyền chọn theo phiên (defaultMode ở settings dự án bị bỏ qua với auto/bypassPermissions): phiên cloud chọn Auto ở bộ chọn chế độ quyền; CLI claude --permission-mode auto. Autopilot một phiên cần Auto (Stop hook cảnh báo khi phiên ở chế độ hỏi). Ở Auto bộ phân loại vẫn có thể chặn thêm — bị chặn là kết luận.
  • Việc lớn làm tương tác (WF-SDD-018): bắt đầu ở Plan Mode (claude --permission-mode plan, /plan hoặc Shift+Tab), duyệt kế hoạch rồi mới sửa (chi tiết phím ở WF-SDD-018); chạy tự hành vẫn dùng PLAN.
  • Skill quy trình: /autopilot /complete /optimize /blueprint /gate /research /audit /review /adr /handover; tác vụ: /debug /tdd /ui-verify /upgrade /migrate-db /incident (.claude/skills/*/SKILL.md). Headless cho CI: không --bare (mất hook/skill/CLAUDE.md).

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.