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": "JWT authentication module for AWS Cognito access tokens...",
"app/src/config.py": "Centralized configuration using Pydantic settings..."
}
索引会在会话启动时自动重建,并在文件编辑时增量更新。