跳到正文
TakoAPI
返回技能列表

agentlens

由 nguyenphutrong 提供

Coding Agents & IDEs
3.7k下载量由 clawskills.sh 提供
3星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Navigate and understand codebases using agentlens hierarchical.

描述

该技能的功能

AgentLens provides hierarchical documentation files that agents use to navigate codebases without reading source files directly. It organizes project knowledge into indexed layers covering modules, symbols, dependencies, and annotations like TODOs and warnings.

Reading outline.md to locate symbols before opening source files cuts down on unnecessary full-file reads in large codebases.

何时使用

  • Finding where a specific function is defined in a large file
  • Reviewing all TODOs and warnings before modifying a module
  • Getting a project overview when joining an unfamiliar codebase
  • Tracing file dependencies before refactoring
  • Locating which module owns a feature or class

示例工作流

输入

User asks: where is the payment validation logic defined?

智能体
  1. 1

    Read .agentlens/INDEX.md to get project module list

  2. 2

    Search module names for payment-related slug

  3. 3

    Read modules/{slug}/MODULE.md to confirm module scope

  4. 4

    Read modules/{slug}/outline.md to find the validation function symbol

  5. 5

    Open only the relevant section of the source file

输出

Exact file path and line range for the payment validation function

安装

clawhub install nguyenphutrong/agentlens

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接