docs: add AGENTS.md as shared dotfile maintenance conventions

Point Cursor and Claude rules at AGENTS.md for cross-tool agent guidance.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-25 15:19:25 +08:00
parent 67291a9a50
commit 84c7f37c53
3 changed files with 106 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
---
description: dotfile 维护约定(详见 AGENTS.md)
alwaysApply: true
---
# dotfile 项目
修改本仓库前请先阅读并遵循根目录 **[AGENTS.md](../AGENTS.md)** 中的维护约定(目录结构、`*-install` / `*-init`、脚本 `-h`、`ff` 入口、软链 init 等)。
AGENTS.md 为跨工具单一事实来源(Cursor、Claude Code、Codex 等均可使用)。