agentleFS
pahlevikunpahlevikun/levistack/skills/knowledge/super-codebase-learner/SKILL.md

super-codebase-learner

Skill0 starsChanged 56 days agoMITView on GitHub

Learn a project's current state: deep-read, recon onboarding, ARCHITECTURE.md of what exists, diagnose layering and architecture smells, extract .claude/rules conventions, or plan site IA of an existing product. Use when onboarding, priming context, mapping modules and data flow, reviewing current architecture friction, generating CLAUDE.md, or planning sitemap of the product as built. Not for choosing a target stack, TCO, greenfield design, or a migration blueprint — use super-tech-blueprint.

The file

Files
SKILL.md

Super codebase learner

Answers what is this codebase today? Current-state only: onboarding, deep-read, architecture docs of what exists, smells and layering of existing code, conventions, site IA of the product as built.

Not for inventing a target stack, TCO, greenfield design, or a migration blueprint — use super-tech-blueprint. After this skill maps current state, hand off there for what to build toward.

Pick a mode from the user's words; load only that reference. Combine modes only when the user asks for both.

Router

If the user wants…ModeLoad
Read everything, prime, get up to speed on codedeep-readdeep-read-protocol
Join repo, onboarding guide, understand codebase, CLAUDE.mdonboardonboarding-flow
Document architecture, ARCHITECTURE.md, map the system, "edit here for X"summarizearchitecture-doc-template
Current architecture friction, shallow modules, layering smells, HTML architecture reviewdiagnosediagnose-current-architecture
Learn from project, extract rules, discover conventionsextract-rulesextract-project-rules
Sitemap, site structure, page hierarchy, IA, nav design, URL plan (marketing site as it exists or should be organized)site-iasite-information-architecture
Compare frameworks, pick a stack, TCO, greenfield blueprint, migrate to Xnot this skillsuper-tech-blueprint

Precedence: explicit user wording beats defaults. If unclear, prefer onboard for new repos, summarize when they ask for a durable doc, diagnose when they ask what is wrong with the architecture as it is.

Disambiguation

  • Repo folders, APIs, modules → onboard, summarize, diagnose, or deep-read — not site-ia.
  • Marketing pages, header nav, /blog/slug URLs → site-ia — not summarize.
  • "Learn the codebase" without "every file" → onboard; with insistence on exhaustive read → deep-read.
  • "Create onboarding docs" for developers → summarize (file) or onboard (chat guide); ask if they want ARCHITECTURE.md on disk.
  • "Improve the architecture" that means document or smell the current tree → diagnose (optionally after summarize). If they mean pick a new stack or target shape → not this skill; load super-tech-blueprint.

Mode summaries

deep-read

Full-file read of source tree. Highest token cost; use when fidelity matters more than speed. See protocol reference.

onboard

Fast recon with Glob/Grep; onboarding guide in chat plus optional CLAUDE.md. Does not require reading every file. Stack facts here are detected, not recommended.

summarize

Produces or updates ARCHITECTURE.md (or equivalent) with diagrams, entry points, how-to sections, and checklist from the template. Describes what the code does today. Do not invent a next stack in that file.

diagnose

Scan existing code for architectural friction (shallow modules, leaked seams, hot spots). Present candidates as a temp HTML report. In-place deepening stays here and in super-challenge-me (grill-docs); a new stack or migration target is a handoff to super-tech-blueprint. Report scaffold: html-architecture-report.

extract-rules

Evidence-based convention discovery; optional delegate to learn-analyst; writes .claude/rules/ only after user approval.

site-ia

Business-site planning: ASCII hierarchy, Mermaid visual sitemap, URL map, nav spec, internal linking. Deep dives: site-type-templates, navigation-patterns, mermaid-templates. Site-IA eval scenarios: evals/evals.json.

Combined flows

RequestOrder
"Onboard me and write architecture docs"onboard → summarize (reuse recon; avoid re-scanning)
"Learn everything then extract rules"deep-read → extract-rules
"Document the app and plan our marketing site"summarize then site-ia (separate deliverables)
"Review architecture then propose a target stack"diagnose (and summarize if no current-state doc) → hand off to super-tech-blueprint

References (bulk detail)

FileOrigin
deep-read-protocol.mdlearn-codebase
onboarding-flow.mdcodebase-onboarding
architecture-doc-template.mdcodebase-summarizer
diagnose-current-architecture.mdimprove-codebase-architecture (current-state)
html-architecture-report.mdimprove-codebase-architecture (current-state)
extract-project-rules.mdlearn
site-information-architecture.mdsite-architecture
site-type-templates.mdsite-architecture
navigation-patterns.mdsite-architecture
mermaid-templates.mdsite-architecture

Breaking renames

These skill folders were merged and removed:

  • learn → extract-rules mode
  • learn-codebase → deep-read mode
  • codebase-onboarding → onboard mode
  • codebase-summarizer → summarize mode
  • site-architecture → site-ia mode
  • improve-codebase-architecture → diagnose mode for current smells and layering; target stack / migration blueprint → super-tech-blueprint

Load skills/knowledge/super-codebase-learner/SKILL.md instead of any of the above (except the target-stack half of improve-codebase-architecture, which is super-tech-blueprint).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.