Lens

Analyze codebases to trace data flow and map module structures.

68|14|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/simota/agent-skills --skill lens-simota
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Lens
Source: https://github.com/simota/agent-skills/tree/main/lens
Command: npx skills add https://github.com/simota/agent-skills --skill lens-simota

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers quickly understand complex codebases by systematically investigating code structure, data flow, and feature existence, transforming vague questions into actionable insights.

Core Features & Use Cases

  • Codebase Comprehension: Deeply understand how features work, where data flows, and module responsibilities.
  • Feature Discovery: Determine if specific functionalities exist within the codebase.
  • Structure Mapping: Visualize module relationships and architectural patterns.
  • Use Case: A new developer joins a project and needs to understand how the user authentication flow works. They can use Lens to trace the execution from the login request to token generation and database interaction, receiving a clear, evidence-backed explanation.

Quick Start

Use the Lens skill to investigate how the user login flow works.

Frequently Asked Questions about Lens

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I understand an existing codebase and trace data flow quickly?

Codebase comprehension involves systematically investigating code structure and data flow to understand module responsibilities. It clarifies how specific features work and where data travels, providing evidence-backed explanations of architectural patterns.

What is the best way to discover if a specific feature exists in a software project?

Feature discovery confirms whether specific functionalities exist within a software project by systematically investigating the codebase. It traces execution paths and data flow to verify feature presence and provides clear outputs for downstream consumption.

How do I map module relationships and architectural patterns in a codebase?

Structure mapping visualizes module relationships and architectural patterns by analyzing the existing codebase. It clarifies module responsibilities and interactions, transforming complex structural dependencies into clear, mapped outputs.

Can I trace execution flows from API requests to database interactions?

Yes, you can trace execution flows from API requests to database interactions using data flow analysis. This process systematically follows data paths through the codebase to generate clear, evidence-backed explanations of feature mechanics.

Does this codebase analysis approach require specific dependencies or environments?

No specific dependencies are required to perform this codebase analysis. It relies on defined investigation patterns and output formats to ensure clarity, requiring only access to the existing software project code.