/alfred-codebase:learn-this-codebasefrom alfred-codebase
Maps an unfamiliar codebase: modules, entry points, riskiest files, recent changes, and rules. Writes to CODEBASE.md and answers questions with sources.
Ships in alfred-codebase. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
If CODEBASE.md exists and is less than a week behind git log, read it and skip to step 2. Otherwise build it:
git log --since=90.days --name-only), largest files, files with the most importers. These are the risky ones.PLAN.md, CONTRIBUTING.md, AGENTS.md, CLAUDE.md, lint configs and CI that you must not break.Write it to CODEBASE.md, short enough to read in five minutes. Note the commit it was built at.
rg), read, and add what you learned to CODEBASE.md.git log --follow and git blame.Walk them through, in order: what it does, the main modules, the riskiest files and why, what changed in the last 30 days, the rules not to break, where tests are thin. End with "Which area do you want to dig into first?"
Before anyone edits, use see-what-a-change-breaks.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub wednesday-solutions/alfred --plugin alfred-codebase7 skills in this plugin
/audit-a-moduleHealth check one module or service and recommend what to do with it: leave it, clean it up, refactor it with care, or don't touch it without a senior. Covers what it does, who depends on it, risk, test coverage, churn and rule breaks. Use when the user says "audit this module", "is it safe to refactor X", "how healthy is this service" or "should we rewrite X"./deploy-without-fearCheck everything before and after a production deploy, with a rollback plan and clear rollback triggers. Use when the user is about to deploy or just deployed, or says "is it safe to deploy", "pre-deploy check", "post-deploy check" or "we're going to prod". Not for committing, opening PRs or app store releases./plan-from-scratchPlan a new project before any code exists. Researches the domain, then has an architect, a product lead and a security lead plan it independently, and merges them into one PLAN.md that names where they disagree. Use when the user is starting something new and says "plan this", "help me start this project", "write a PLAN.md" or "what should the stack be". Not for changes to an existing codebase (use learn-this-codebase first)./see-what-a-change-breaksBefore editing a file or symbol, find everything that depends on it, score how risky the change is, and stop for approval when it's high. Use before changing a shared function, type, API, schema or config, or when the user asks "is it safe to change this", "what breaks if I change X" or "what's the blast radius"./stay-in-the-linesCheck that code follows the project's architecture rules, such as which modules may import which, no cycles, and services talking only through their APIs. Reports each new violation with the commit that added it and a fix. Use on a PR that crosses module boundaries, when the user asks "are we following the architecture" or "is this import allowed", or as a weekly health check./tests-for-old-codeAdd end-to-end tests to code that has none, in tiers by confidence, and run every test before handing it over. Use before refactoring untested code, after inheriting a project, or when the user says "add tests for this flow", "write e2e tests for login" or "we have no tests for X".Other plugins' skills for the same job