跳至主要内容
小龙虾小龙虾AI
🤖

Agentlens

Navigate and understand codebases using agentlens hierarchical documentation. Use when exploring new projects, finding modules, locating symbols in large files, finding TODOs/warnings, or understanding code structure.

下载5.6k
星标4
版本1.0.0
效率办公
安全通过

技能说明


name: agentlens description: Navigate and understand codebases using agentlens hierarchical documentation. Use when exploring new projects, finding modules, locating symbols in large files, finding TODOs/warnings, or understanding code structure. metadata: short-description: Codebase navigation with agentlens author: agentlens version: "1.0"

AgentLens - Codebase Navigation

Before Working on Any Codebase

Always start by reading .agentlens/INDEX.md for the project map.

Navigation Hierarchy

LevelFilePurpose
L0INDEX.mdProject overview, all modules listed
L1modules/{slug}/MODULE.mdModule details, file list
L1modules/{slug}/outline.mdSymbols in large files
L1modules/{slug}/memory.mdTODOs, warnings, business rules
L1modules/{slug}/imports.mdFile dependencies
L2files/{slug}.mdDeep docs for complex files

Navigation Flow

INDEX.md → Find module → MODULE.md → outline.md/memory.md → Source file

When To Read What

You NeedRead This
Project overview.agentlens/INDEX.md
Find a moduleINDEX.md, search module name
Understand a modulemodules/{slug}/MODULE.md
Find function/class in large filemodules/{slug}/outline.md
Find TODOs, warnings, rulesmodules/{slug}/memory.md
Understand file dependenciesmodules/{slug}/imports.md

Best Practices

  1. Don't read source files directly for large codebases - use outline.md first
  2. Check memory.md before modifying code to see warnings and TODOs
  3. Use outline.md to locate symbols, then read only the needed source sections
  4. Regenerate docs with agentlens command if they seem stale

For detailed navigation patterns, see references/navigation.md For structure explanation, see references/structure.md

如何使用「Agentlens」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Agentlens技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能