codenavi

Guide codebase navigation and modification through investigation-before-action and minimal change discipline.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/luizgmassa/Useful-Agent-Skills --skill codenavi-luizgmassa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codenavi
Source: https://github.com/luizgmassa/Useful-Agent-Skills/tree/main/skills/codenavi
Command: npx skills add https://github.com/luizgmassa/Useful-Agent-Skills --skill codenavi-luizgmassa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

codenavi helps you stop guessing in unfamiliar, messy, or undocumented codebases by guiding investigation first, then making minimal, verifiable changes while recording durable knowledge for future sessions.

Core Features & Use Cases

  • Mission-first code navigation: Runs a consistent briefing → recon → plan → execute → verify → debrief cycle to avoid wasted effort and collateral changes.
  • Surgical implementation: Touches only what the mission requires, matching existing conventions and leaving unrelated code alone.
  • Persistent project intelligence: Creates and updates a .notebook/ knowledge base (including INDEX.md reading) so discoveries compound across sessions.
  • No-assumption guardrails: Explicitly flags uncertainty and asks targeted questions when context is missing.
  • Summons allies as needed: Leverages other available skills, MCPs, and documentation when the mission demands it.

Quick Start

Use codenavi when you receive a request like: Fix this bug in this unfamiliar codebase by investigating the relevant flow first, then proposing a surgical patch and verification steps, while adding any valuable findings to .notebook/.

Frequently Asked Questions about codenavi

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

FAQPage Schema
How do I navigate an unknown codebase to fix a bug without making unnecessary changes?

To navigate an unknown codebase safely, enforce an investigation-first cycle spanning briefing, recon, plan, execute, verify, and debrief. This ensures source-based verification and surgical changes that touch only the code required for the specific bug fix.

What is the best way to investigate unfamiliar code flows before proposing a patch?

The best way to investigate unfamiliar code flows is by running a structured reconnaissance phase that reads existing project knowledge bases and uses source-based verification. This prevents guessing by explicitly flagging uncertainty when context is missing.

Can I persist codebase investigation findings across multiple development sessions?

You can persist codebase investigation findings by recording durable discoveries in a local .notebook/ knowledge base. This approach compounds project intelligence across sessions, allowing future work to read an INDEX.md for immediate context.

How do I perform surgical refactoring on a poorly documented codebase?

Surgical refactoring on poorly documented codebases requires matching existing conventions and touching only what the mission demands. By adhering to a strict mission cycle, you minimize collateral changes and maintain codebase integrity.

Does codebase investigation work if developer documentation and environment tooling are missing?

Codebase investigation works even without developer documentation by relying on source-based verification and summoning other available skills or MCPs as needed. It explicitly flags uncertainty and asks targeted questions to compensate for missing context.