X-Templates / scripts
AGENTS.md16 starsChanged 6 days agoMITView on GitHub
Quy ước riêng của thư mục này, nạp khi làm việc ở scripts/ (Claude Code: qua CLAUDE.md cùng thư mục). Luật chung: ../AGENTS.md; mẫu theo thư mục: XC-DOCAI-011. Tệp này không được cài sang dự án đích (install.py copy theo danh sách tên tệp).
In this repository39 other files it gives its agents.
- AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- scripts/CLAUDE.mdCLAUDE.md
- tests/CLAUDE.mdCLAUDE.md
- adrSkill
- auditSkill
- autopilotSkill
- blueprintSkill
- completeSkill
- debugSkill
- factorySkill
- gateSkill
- handoverSkill
- incidentSkill
- migrate-dbSkill
- optimizeSkill
- researchSkill
- reviewSkill
- tddSkill
- ui-verifySkill
- upgradeSkill
- adrSkill
- auditSkill
- autopilotSkill
- blueprintSkill
- completeSkill
- debugSkill
- factorySkill
- gateSkill
- handoverSkill
- incidentSkill
- migrate-dbSkill
- optimizeSkill
- researchSkill
- reviewSkill
- tddSkill
- ui-verifySkill
- upgradeSkill
The file
Files
AGENTS.md — scripts/
Quy ước riêng của thư mục này, nạp khi làm việc ở
scripts/(Claude Code: quaCLAUDE.mdcùng thư mục). Luật chung:../AGENTS.md; mẫu theo thư mục:XC-DOCAI-011. Tệp này không được cài sang dự án đích (install.pycopy theo danh sách tên tệp).
- Chuẩn mã: theo
../AGENTS.md§7;mypy --strict --python-version 3.13(không cú pháp/API 3.14+, ADR-0094; nhómexceptluôn có ngoặc); C901 ≤ 10; khôngnoqa/pragma. Tệp.pymới thêm vào lệnhtypecheckở../xt.yaml; dự án đích cần nó thì thêm vàooptional_scriptscủainstall.py. - Trần byte (
tests/test_docs_budget.py, ADR-0043): agent không tự nới trần; nới là quyết định ADR (ADR-0089). - Trần dòng (
../tests/test_docs_budget.py, T-5016) áp dụng choxt.pyvà../.claude/hooks/guard.py. Đặt logic mới vào module riêng. Nới trần cần ADR. - Tên định danh: tránh
secret/token/password/credential/trusted: CodeQL báoclear-text-*khi giá trị mang tên nhạy cảm đi vào log hay tệp (đã gặp vớitrusted_archive, PR #706; đổi tên thay vì thêm chú thích bỏ qua). Danh sách heuristic của CodeQL (SensitiveDataHeuristics.qll, đọc 2026-11-21) cósecret,trusted,pass(wd|word),api.?(key|tok); không thấycredentialhaytokenđứng riêng — vẫn tránh cả năm tên cho chắc. - Lệnh mới của
xt.py: thêm dòng ở bảng../README.md§Công cụ (test_readme_lists_every_subcommandkiểm), dòng ở../CHANGELOG.md, test có đủ nhánh (coverage 100 %). - Cổng cục bộ:
scripts/dev-task.sh gate-fast; CI là cổng đầy đủ. Chi tiết quy trình sửa khung:../AGENTS.md§7.
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.

