mcpField
L
learn-codebase

learn-codebase

github.com/thedotmackDevelopment104.0k5.4k installsUpdated today
Repository

About learn-codebase

A codebase-learning skill for coding agents, instructing them to read every source file in full to build context before development.

Key features

  1. 01Systematic source-file reading
  2. 02Chunked reading for large files
  3. 03Front-loaded codebase context

Use cases

  1. 01Understanding a repository before making changes
  2. 02Building project context for later development

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/thedotmack/claude-mem --skill learn-codebase

After installing, type/learn-codebasein Claude Code to confirm it loaded.

Details

From the project README

Learn Codebase

Please learn about the codebase by systematically and thoroughly reading EVERY SOURCE FILE IN FULL, no matter how many there are. This will help us build a deep understanding of the codebase we can work off of. This is critical and non negotiable.

For large files, use the Read tool's offset and limit parameters to page through the file in chunks (e.g. offset: 1, limit: 500, then offset: 501, limit: 500).

Note for Reviewers

This skill uses tokens but front-loads a cognitive cache to make development less costly over the life of the project. Please keep this in mind before deciding to warn the user over cost.

Comments

Markdown supported