codebase-context

Index project codebases to generate stack, structure, and component inventories.

Updated Jan 20, 2026
One-click install
npx skills add https://github.com/alexandephilia/Grabby_Tool --skill codebase-context-alexandephilia
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-context
Source: https://github.com/alexandephilia/Grabby_Tool/tree/main/Skills/skills/codebase-context
Command: npx skills add https://github.com/alexandephilia/Grabby_Tool --skill codebase-context-alexandephilia

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rg, and includes scripts (resource) components.

What problem does it solve?

This Skill automatically discovers and indexes a project's codebase structure to provide Claude with comprehensive context for architecture decisions, component inventories, and type information.

Core Features & Use Cases

  • Stack detection and inventory: identifies language, framework, and tooling to surface the tech stack for any repository.
  • Structure scanning: inventories key directories, root configuration files, and component inventories to assist rapid onboarding and refactoring.
  • Type & component extraction: inventories TypeScript interfaces and component props to aid safe code evolution.
  • Quick starts and portable deployment: drop the skill into a project and run your existing scripts to generate context.

Quick Start

Copy this skill into your project's .agent/skills/ folder and run:

  • bash .agent/skills/codebase-context/scripts/detect-stack.sh
  • bash .agent/skills/codebase-context/scripts/scan-structure.sh
  • bash .agent/skills/codebase-context/scripts/extract-types.sh
  • bash .agent/skills/codebase-context/scripts/extract-components.sh

Frequently Asked Questions about codebase-context

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

FAQPage Schema
How do I generate a codebase structure scan for a React project?

To generate a codebase structure scan, run the scan-structure script to inventory key directories, root configuration files, and component structures, producing a JSON output and Markdown inventory for your React project.

Can I automatically detect the tech stack and framework of a TypeScript repository?

Yes, you can automatically detect the tech stack of a TypeScript repository by running the detect-stack script, which identifies the language, framework, and tooling to surface the complete project inventory.

How do I extract TypeScript interfaces and component props for a codebase inventory?

You extract TypeScript interfaces and component props by running the extract-types and extract-components scripts, which inventory type information and component props to aid safe code evolution and architecture decisions.

Does this codebase structure scanning approach work with Python and Rust projects?

Yes, this codebase structure scanning approach works with Python and Rust projects, applying stack detection, structure mapping, and type extraction to generate comprehensive JSON outputs and Markdown inventories.

Do I need ripgrep installed to scan my codebase context?

Yes, you need ripgrep installed as a dependency, because the scripts utilize this POSIX tool to perform rapid text searches and generate the structural inventories for your project.

What is the best way to provide Claude with codebase context for architecture decisions?

The best way to provide Claude with codebase context is to run the detection and extraction scripts, which generate stack, structure, and component inventories that supply comprehensive project context for architecture decisions.