claude

codebase-survey

Bootstraps and maintains an AI-consumable map of an existing codebase with per-module CODEBASE.md and derived CLAUDE.md rules.

7 on GitHubby Max TrenseMITupdated todayworkflow
/

Plugin codebase-survey from marketplace mtrense-skills in mtrense/skills. Commands read from the repo's manifest — today.

What it installs

Skills (5)

  • codebase-architecture-assessment

    Cross-cutting architecture pass after per-module surveys are complete. Reads every <module>/CODEBASE.md and the top-level CODEBASE.md, looks for domain- boundary leaks, coupling hotspots, deviations between stated and actual architecture, and stack inconsistencies. Writes findings to docs/codebase/a

  • codebase-derive-instructions

    Read the assembled codebase survey (CODEBASE.md files, docs/codebase/*.md, assessment findings) and produce a lean, source-anchored CLAUDE.md at the repo root plus one per module that has rules. Lifts kind:rule findings only; observations stay in assessment.md. Verifies length budgets, rule duplicat

  • codebase-survey-init

    Bootstrap a codebase survey: delegate raw structural discovery to the structural-discovery subagent, synthesize the module map (judgment call — stays in the main session), then write the top-level CODEBASE.md plus per-module stub files. Run once per repository, before per-module deep-dives.

  • codebase-survey-module

    Deep-dive survey of one module. Spawns the dep-grapher, api-surface-extractor, wire-api-extractor, test-auditor, and ops-detective subagents in parallel, then assembles the module's CODEBASE.md from their reports. Idempotent — re-running rewrites the file. Trigger after /codebase-survey-init has pro

  • codebase-survey-update

    Incremental refresh of an existing codebase survey. With no argument, each module is diffed from its own recorded surveyed_sha to HEAD. With a commit range or PR# argument, that range is used uniformly. Maps changed paths to affected module docs, dispatches narrowly-scoped subagents for only those m

Subagents (6)

  • api-surface-extractor

    Extracts the language-level public API surface of a module — exported symbols, types, functions, classes, traits — using language-aware tooling first (cargo public-api, tsc --emitDeclarationOnly, go doc, pdoc) and import-grep as fallback. Returns a structured listing. Used during a per-module survey

  • dep-grapher

    Computes inbound and outbound dependencies for a module by running the project's native dependency tooling (cargo tree, npm ls, pip-deptree, go mod graph, mvn dependency:tree, etc.). Returns a structured report. Skips cleanly if no native tool is available. Use during a per-module survey to populate

  • ops-detective

    Surveys CI/CD pipelines, container builds, deploy manifests, secrets handling, observability hooks, and logging libraries — without executing anything. Returns a structured inventory of what runs where and what watches it. Used during the per-module survey and the repo-level CODEBASE.md.

  • structural-discovery

    Discovers raw structural signals about an unknown codebase: build manifests, workspace declarations, top-level layout, and language mix. Returns a structured report. Does NOT infer module boundaries — that synthesis is left to the caller. Use for the first pass of a codebase survey.

  • test-auditor

    Audits a module's test situation: discovers test files, runs the project's test runner in collect-only / list mode to count tests by layer (unit / integration / e2e), and surfaces coverage when readily available. Returns pyramid-shape numbers, not opinions about adequacy. Used during a per-module su

  • wire-api-extractor

    Extracts the external/network API surface of a module: HTTP routes, gRPC services, GraphQL schemas, AsyncAPI / message-broker topics. Prefers spec artifacts (OpenAPI, .proto, .graphql) and framework introspection over greps; falls back to grepping route-registration patterns. Distinct from api-surfa

View source on GitHub

More from mtrense/skills

All 9 plugins →

research

claude

Multi-phase research workflow for building cited, audited knowledge bases.

21 skills · 10 agents

7

Domain-driven build workflow: vision grounding, EventStorming, bounded-context mapping, and a dependency-ordered task backlog driven to done by TDD workers.

12 skills · 9 agents

7

Design-system authoring workflow: reference-grounded Socratic foundation, themable token sets (light+dark), and pure HTML/CSS Tailwind component kitchen-sinks with accessibility and i18n baked in.

12 skills · 6 agents

7

Demo-driven, proof-driven build workflow: vision kickoff, demos as executable human checkpoints (a scenario plus an end-to-end check that alone turns them green), tasks in one flat dependency graph, decisions with explicit proof obligations, parallel TDD burn-down with grading and demo checks after merges, and a verified human test cycle.

7 skills · 9 agents

7

Authoring workflow for Synaptic interactive-learning tracks: grounded ingestion, prerequisite-DAG structuring, node/question drafting, gap auditing, and CLI integrity gating.

9 skills · 6 agents

7

common

claude

Cross-workflow utilities: /commit, /pr, /audit-context, /deckset.

8 skills · 5 agents

7

Similar plugins

superpowers

claudecodex

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

15 skills · hooks

obra/superpowers 316,836

AI-powered codebase understanding — analyze, visualize, and explain any project

9 skills · 10 agents · hooks

Egonex-AI/Understand-Anything 92,410

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

Perform AI code review on Git diffs — supports workspace changes, branch ranges, and single commits with concurrent per-file analysis, codebase search, and deep context-aware review.

2 commands

alibaba/open-code-review 50,068

gitnexus

claudecodex

Code intelligence powered by a knowledge graph. Provides execution flow tracing, blast radius analysis, and augmented search across your codebase.

12 skills · 1 MCP server · hooks

abhigyanpatwari/GitNexus 48,482

Backend API design, GraphQL architecture, workflow orchestration with Temporal, and test-driven backend development

9 skills · 1 command · 8 agents

wshobson/agents 42,461

Maintain codebase-survey?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins9 plugins