codebase-onboard
快速梳理并解释不熟悉的 JavaScript/TypeScript 或 Python 代码库——架构、入口点、数据流、如何运行,以及应在何处进行某项更改。适用于用户打开新项目、询问“解释这个仓库”、“gimana struktur project ini”、“X 在哪里处理”、“这是如何工作的”,或希望在尚不熟悉的代码中开始任务时。
机器翻译查看英文原文
Quickly map and explain an unfamiliar JavaScript/TypeScript or Python codebase — architecture, entry points, data flow, how to run it, and where to make a given change. Use whenever the user opens a new project, asks "explain this repo", "gimana struktur project ini", "where is X handled", "how does this work", or wants to start a task in code they don't know yet.
适用对象:软件开发与测试。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Codebase Onboarding
- 1. Survey (cheap, broad)
- 2. Identify the shape
- 3. Trace one real flow end to end
- 4. Output
- 5. Optional: save it
Goal: give the user an accurate mental model fast, grounded in real files — not a generic description of the framework. Run scripts/projectmap.sh from the repo root. It prints the tree (ignoring vendor dirs), manifests, scripts, and largest source files. Then read, in order: README, package.json / pyproject.toml, CLAUDE.md / AGENTS.md / CONTRIBUTING.md if present, .env.example, docker-compose.yml, CI config (.github/workflows/). Decide what kind of project it is from evidence: Framework: Next.js (app/ or pages/), Vite/React, Express/Fastify/NestJS, FastAPI, Django (manage.py, settings.py), Flask, CLI tool, library, monorepo (turbo.json, pnpm-workspace.yaml, nx.json). Entry points: main/bin in package.json, src/index.ts, server.ts, main.py, app.py, manage.py, main.py. Data layer: Prisma/Drizzle/TypeORM/Mongoose, SQLAlchemy/Django ORM, migration folders. External services: env vars and SDK imports. Pick the most central feature (or the one the user cares about) and follow it: route/handler → service/business logic → data access → response. Name the actual files and functions. One concrete trace teaches more than ten folder descriptions. Use a Mermaid diagram only if the flow has more
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- KILN-skills/kiln
- 源文件
- skills/codebase-onboard/SKILL.md
- 固定版本
- 555d7ea59d05910b4ef6fb39780da5f906be832b
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:KILN-skills/kiln · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-10T04:00:15.421Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。