FilledDown

Codebase Intelligence — Development skill for Claude Code

Development community

Agent Skill that helps Claude understand unfamiliar codebases and simulate the impact of changes.

How to install Codebase Intelligence

This entry records only its repository, not the path inside it, so there is no exact command to give. Open FilledDown/codebase-intelligence and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Codebase Intelligence does

Agent Skill that helps Claude understand unfamiliar codebases and simulate the impact of changes.

Alternatives in Development

README

codebase-intelligence

An Agent Skill that helps Claude understand an unfamiliar repository as a *system* (how files, modules, configuration, data and events relate) and use that understanding to answer questions such as "what breaks if I change this?"

It is a prompt-and-tooling package, not a service. Claude does the reasoning; small read-only Python scripts supply facts (an import graph, a file inventory, fingerprints) that are tedious to gather by hand. Every important claim is tagged **VERIFIED**, **INFERRED** or **UNKNOWN**.

What problem it addresses

Asking a model about a codebase tends to produce plausible, file-by-file answers. The failure cases are specific: a change looks local but a second module re-implements its rule; two files are coupled through an environment variable or an event name that no import shows; the README describes an architecture the code no longer has. This skill adds a procedure and some tools aimed at those cases, plus rules about what may be claimed (coverage must be stated, "no reference found" is not "unaffected").

It does not replace running the code, the test suite, or human architectural judgment.

Features

  • Change impact simulation (main feature): static reverse reach from a seed file, then a structured search for what imports cannot show (env keys, string-keyed events, config, schemas, external contracts). Output: directly / indirectly / potentially affected / unaffected-with-reason.
  • Architecture audit (15 sections), onboarding map, debugging across modules, technical debt prioritisation, implementation planning, decision records (ADR).
  • Graph export: Mermaid, DOT, JSON; edges are marked discovered or inferred.
  • Incremental analysis: opt-in .codebase-intelligence/ cache with fingerprints; diff shows changed files and their dependents.
  • Report verifier: checks that a finished report cites only paths that exist and contains no leftover TODO markers.

How it fits together

flowchart LR