/yka-code:onboard-codebasefrom yka-code
[yka-code] Rapidly orient in an unfamiliar codebase. Use when the user opens a new repo for the first time, asks "how does this work", wants an architecture overview, or is about to make changes in a codebase they don't know. Chains Explore agent, serena symbol analysis, claude-mem history, and claude-md-management audit.
Ships in yka-code. 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.
None: SKILL.md is the whole skill.
Drop into an unfamiliar codebase and build a working mental model fast. Output a compact summary the user can use.
Load and apply the karpathy-guidelines skill alongside this workflow. Short version:
| Condition | Tool | Why |
|---|---|---|
First time in this project AND no .claude/skills/ dir exists yet | npx autoskills -y | Scans stack (React / Next / Prisma / Stripe / Go / Bun / …), installs matching skills.sh bundle to project scope, writes project CLAUDE.md. Run BEFORE exploring so subsequent steps have stack-aware skills loaded |
| Always — map the tree in parallel | Explore agent + serena symbol map + /claude-mem:mem-search + /claude-mem:smart-explore — ONE message, 4 parallel Task calls | 4× speedup vs sequential |
| Multi-generation codebase; want narrative history | /claude-mem:timeline-report | Generates project history from memory observations |
| Build a focused Q&A brain over prior work on this repo | /claude-mem:knowledge-agent | Compiles observations into a searchable knowledge base |
| Stack uses a library you're not fluent in | docfork MCP (needs DOCFORK_API_KEY) | Current library API + patterns |
| Similar public OSS repos exist | deepwiki MCP | Free Q&A — how do comparable projects solve this? |
| Repo has a CLAUDE.md that may be stale or missing | claude-md-management:claude-md-improver skill (auto-activates) | Audit quality before trusting the docs |
| Repo uses GitHub workflows, issues, PRs as design docs | github MCP OR gh CLI | Read recent discussion + ADRs |
| Code touches DB schemas | psql -c '\d+ <table>' / mongosh / migration files | Read data model from live DB or migration history, not just code |
Check the repo's own signals:
README.md, CLAUDE.md, AGENTS.md — the author's intentpackage.json / pyproject.toml / Cargo.toml / go.mod — language + deps.github/workflows/ — CI tells you what the tests/lints care aboutjustfile / Makefile / scripts/ — the build/dev vocabularyDon't paraphrase these back — absorb them.
Spawn Explore agent with a direct prompt: "Map the source tree. Identify entry points, the main layers (e.g., router → service → db), and any unusual patterns. Report under 300 words." The agent's parallelism is the point here.
Use serena MCP symbol lookup for the 3-5 most-imported modules. Where are they used? What's the dependency direction?
/claude-mem:mem-search "<repo-name>" — did we touch this repo before? Any pitfalls logged?/claude-mem:mem-search "architecture" — general patterns the user's team prefersgit log --oneline -30 — recent changes tell you where the churn isSpawn claude-md-management's skill (claude-md-improver) to audit CLAUDE.md. Don't auto-apply fixes — just surface what's stale or missing. The user will decide.
Write a 1-page brief:
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (youssefkadaouiabbassi/yka-code) — no native marketplace selected
npx claudepluginhub p/youssefkadaouiabbassi-code-tools-setup20 skills in this plugin
/audit-rigor[yka-code] Discipline for audit, review, and technology-comparison tasks. Use when the request is "audit X", "review our stack", "is this the best option", "compare alternatives", "what should we swap / add / drop", or any task that produces prioritized recommendations rather than new code. Enforces a ≥70% confidence threshold, delegate-retrieval-to-subagent pattern, inline citations with ISO dates, MCP-first sourcing, and a fixed output format (SWAP / ADD / DROP / KEEP-BUT-UPGRADE / SURPRISE). Pair with research-first (retrieval discipline) and karpathy-guidelines (surgical scope). Chained from security-audit, onboard-codebase, and any /do route that smells like "is this the best we have"./ci-hygiene[yka-code] CI/CD and DevOps hygiene enforcer. Activates when editing GitHub Actions workflows, Dockerfiles, docker-compose, justfile, deploy scripts, or any CI configuration. Enforces pinned versions, proper Claude Code invocation in CI (--bare, API key not Max sub), secret management, and reproducibility. Fills the DevOps gap — no plugin covers this in the wild./coding-style[yka-code] Enforce minimalist, self-documenting, defensively-sane coding style. Use ALWAYS when writing, editing, or reviewing ANY code in ANY language — every function, every edit, every diff, no exceptions. Covers five rules: (1) no comments unless critical (WHY only, never WHAT, never history), (2) clean + optimized (no dead code, no speculative abstractions, no stale imports, delete over deprecate), (3) self-documenting names (full words, verbs for functions, nouns for data), (4) smallest surface (one function one concern, extract only on 3rd reuse, validate only at boundaries), (5) no dead defense (no try/catch for impossible cases, no fallbacks for inputs you control, let errors bubble to the right handler). Pair with karpathy-guidelines for behavioral principles (Think Before Coding, Simplicity First, Surgical Changes, Goal-Driven Execution).Other plugins' skills for the same job