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 設定的集中式組態..."
}
索引會在會話啟動時自動重建,並在檔案編輯時增量更新。