agent-navigability

Audit codebase structure for agent navigability and propose structural fixes or phased migrations.

1|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/arndvs/ctrlshft --skill agent-navigability-arndvs
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: agent-navigability
Source: https://github.com/arndvs/ctrlshft/tree/main/skills/agent-navigability
Command: npx skills add https://github.com/arndvs/ctrlshft --skill agent-navigability-arndvs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Coding agents waste context re-exploring repositories on every session: they open irrelevant files, miss call sites, edit the wrong module, or pick dead code paths because names are unsearchable and structure is inconsistent. This Skill audits a codebase specifically for how easily an agent can navigate it and produces concrete, cost-ranked structural fixes. ## Core Features & Use Cases - Task-driven navigation audit: Attempts a real task in the repo first, recording which files were opened unnecessarily, where guesses were needed, and which searches returned too much, turning actual failures into findings. - Cost-ranked findings: Flags unsearchable names, missing entry points, untyped boundary data, duplicate authority, oversized files, non-mirroring tests, and undiscoverable commands, each with a location, concrete cost, and fix. - Migration mode: For repo-wide restructuring such as splitting client from server or breaking up a monolith, produces a phased plan ordered by reversibility with a stated payoff, breakage risks, and a stop condition. - Use Case: An agent keeps editing the wrong of two similar route-handler directories. Run the audit to identify the duplicate-authority finding and get a recommendation to consolidate or mark the dead path. ## Quick Start Ask the agent to audit this repository for navigability and report the highest-cost structural problems with fixes.

Frequently Asked Questions about agent-navigability

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

FAQPage Schema
How do I make my codebase easier for AI coding agents to navigate?▼

Audit for unsearchable names, missing entry points, untyped data crossing module boundaries, and duplicate files that could own the same behavior. Fix the highest-cost items first, typically renaming generic core types like Data or Item to specific names that grep cleanly.

How to audit a repository structure for agent legibility?▼

Attempt a real task in the repo and record where you opened irrelevant files, guessed locations, or got unhelpful search results. Then check deviations from the repo's dominant pattern using the structural checklist covering entry points, naming, types, tests, and commands.

What makes a file or type name unsearchable for agents?▼

Generic names like Data, Manager, Handler, Item, or util fail because grepping them returns hundreds of unrelated hits, forcing the agent to read files instead of searching. Specific names like InvoiceLineItem return roughly the places that matter.

When should I restructure a repo versus adding an AGENTS.md file?▼

Prefer orientation assets like AGENTS.md or priming commands when the structural fix is expensive or the code is under active development. Restructure only when the problem is ambiguity, such as two files plausibly owning the same behavior, which documentation cannot fix.

How do I plan a monolith split or client-server separation safely?▼

Phase by reversibility: mechanical renames and file moves first, then introduce a boundary seam, then the split itself, then cleanup. State the concrete payoff, name what breaks such as open PRs, and define a minimum viable phase so a partial migration still delivers value.

What are the limits of a navigability audit?▼

It only audits legibility, not correctness, runtime behavior, or error handling. It also cannot eliminate per-session re-derivation of structure entirely; that requires orientation assets like AGENTS.md or priming commands rather than more refactoring.