From 8e7abb20925a4a30557883c6a0b3dbe85c7b670b Mon Sep 17 00:00:00 2001 From: Zhang Jiahao Date: Tue, 21 Apr 2026 01:04:56 +0800 Subject: [PATCH] Add tool.md catalog to sidecar imports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit note.md 写"怎么用"越写越重, 每次查"装了什么"要翻半天; tool.md 只做 一行一工具的索引表 (name + 用途), 和 note 解耦。CLAUDE.md §5 导入 链同步加入 @~/.claude/tool.md; mdTemplet 提供初始快照。 --- CLAUDE.md | 1 + mdTemplet/tool.md | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 mdTemplet/tool.md diff --git a/CLAUDE.md b/CLAUDE.md index 265d171..e519cb2 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -76,6 +76,7 @@ Strong success criteria let you loop independently. Weak criteria ("make it work These files expand into context at session start: +- Tool catalog: @~/.claude/tool.md - Practice notes: @~/.claude/note.md - Debug pitfalls: @~/.claude/debug.md diff --git a/mdTemplet/tool.md b/mdTemplet/tool.md new file mode 100644 index 0000000..e3d020f --- /dev/null +++ b/mdTemplet/tool.md @@ -0,0 +1,14 @@ +# Tool Catalog + +额外安装的 CLI 工具速查。详细用法见 `note.md`,踩坑见 `debug.md`。 + +## 定位 / 搜索 +- `repomix` — 整仓打包为 LLM 友好的 XML(pnpm global) +- `eza` — 现代化 `ls` / `tree`(带 git 状态、`.gitignore` 过滤) +- `fd` — 快速文件搜索(默认尊重 `.gitignore`) +- `rg` — 内容搜索(ripgrep) +- `broot` — 交互式目录浏览(仅 TTY,CLI/pipeline 不用) + +## 协作 +- `gh` — GitHub CLI(已登录) +- `curl` — Gitea API 交互(见 CLAUDE.md §0)