agentlens
بواسطة nguyenphutrong
Coding Agents & IDEsموجز
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
Read .agentlens/INDEX.md to get project module list
- 2
Search module names for payment-related slug
- 3
Read modules/{slug}/MODULE.md to confirm module scope
- 4
Read modules/{slug}/outline.md to find the validation function symbol
- 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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.