ABOUTME 索引
讀取 .claude/aboutme-index.json 以根據用途尋找檔案,而非使用 grep 搜尋。
使用方法
- 讀取索引:
cat .claude/aboutme-index.json
- 使用 jq 依關鍵字過濾:
cat .claude/aboutme-index.json | jq 'to_entries[] | select(.value | test("auth|jwt"; "i"))'
- 讀取相關檔案。
命令
| 命令 | 說明 |
|---|---|
/aboutme-check | 尋找遺失 ABOUTME 標頭的檔案 |
/aboutme-rebuild | 重建整個索引 |
/aboutme-stale | 檢查過時的標頭 |
cat .claude/aboutme-index.json | 直接讀取索引 |
索引格式
{
"app/src/auth.py": "用於 AWS Cognito 存取令牌的 JWT 認證模組…",
"app/src/config.py": "使用 Pydantic 設定的集中式組態…"
}
索引會在工作階段開始時自動重建,並在檔案編輯時增量更新。