본문으로 건너뛰기
cccskills
무료GitHub에 공개

onboard

Generate onboarding documentation for a codebase — architecture overview, key files, local setup, and common gotchas. Use this skill whenever someone asks to onboard onto a codebase, create onboarding docs, generate a codebase overview, explain a project's architecture to newcomers, or asks "how does this codebase work". Also trigger when users say things like "document this repo for new devs", "write a getting started guide", or "help me understand this project".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md5.0 KB
  • evals/evals.json3.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Codebase Onboarding Doc Generator

Generate a comprehensive ONBOARDING.md file that helps a new developer get productive in a codebase quickly. The doc should answer the questions a new team member would ask in their first week.

Process

1. Discover the codebase

Run these investigations in parallel to build a mental model:

Project identity:

  • Read README.md, CLAUDE.md, package.json, Cargo.toml, pyproject.toml, go.mod, or equivalent to understand the project's purpose, language, and framework
  • Check for monorepo indicators (workspaces, lerna.json, nx.json, turbo.json, pnpm-workspace.yaml)

Architecture:

  • Map the top-level directory structure (ls -la and one level deep)
  • Identify the entry points (e.g., main.ts, index.js, app.py, cmd/, src/main.rs)
  • Look for architectural patterns: routes/, controllers/, services/, models/, hooks/, components/, etc.
  • Check for infrastructure config: docker-compose.yml, Dockerfile, terraform/, k8s/, .github/workflows/

Setup and tooling:

  • Find setup scripts: Makefile, justfile, scripts/, bin/setup
  • Check dependency files: package-lock.json, yarn.lock, Pipfile.lock, poetry.lock, Gemfile.lock
  • Look for environment config: .env.example, .env.template, .envrc
  • Check for database migrations: migrations/, prisma/, alembic/, db/migrate/

Testing and CI:

  • Find test directories and config: jest.config, pytest.ini, vitest.config, .github/workflows/
  • Check for linting/formatting config: .eslintrc, .prettierrc, ruff.toml, rustfmt.toml

Gotcha indicators:

  • Read .gitignore for clues about generated files and local config
  • Check for CONTRIBUTING.md or docs/ directory
  • Look for non-obvious dependencies: .tool-versions, .nvmrc, .python-version, rust-toolchain.toml
  • Scan recent git history for patterns: git log --oneline -30

2. Identify key files

Select 10-20 files that a new developer should read first. Prioritize:

  • Entry points and main application wiring
  • Core domain models or types
  • Key configuration files
  • The most-changed files (they're often the most important): git log --format= --name-only -100 | sort | uniq -c | sort -rn | head -20
  • README and contributing guides

3. Detect common gotchas

Look for things that trip up new developers:

  • Required environment variables without defaults
  • Non-obvious setup steps (database seeding, code generation, certificate setup)
  • Unconventional project conventions (custom scripts, unusual directory structure)
  • Version pinning requirements (Node version, Python version, etc.)
  • Known issues in CI/CD that affect local development
  • Files or directories that look important but are generated (and shouldn't be edited)

4. Write ONBOARDING.md

Save the file to the repository root. Use this structure:

# Onboarding: [Project Name]

## What is this?
[2-3 sentence description of what the project does and who uses it]

## Architecture Overview
[High-level description of the system architecture. Include a text diagram if the system has multiple components or services.]

### Directory Structure
[Annotated tree of the important top-level directories — skip node_modules, vendor, etc.]

### Key Patterns
[Architectural patterns used: MVC, hexagonal, event-driven, etc. How data flows through the system.]

## Key Files to Read First
[Ordered list of 10-20 files with a one-line description of why each matters. Group by theme if helpful.]

## Local Setup

### Prerequisites
[Required tools and versions]

### Getting Started
[Step-by-step setup instructions — clone, install, configure, run]

### Running Tests
[How to run the test suite, including any setup needed]

### Common Commands
[Table or list of frequently used commands: build, test, lint, deploy, etc.]

## Common Gotchas
[Numbered list of things that trip up new developers, with solutions]

## Useful Links
[Links to relevant docs, dashboards, design docs, Slack channels, etc. — only if discoverable from the repo]

Writing guidelines

  • Write for someone who is a competent developer but knows nothing about this specific codebase
  • Be concrete — use actual file paths, actual command names, actual environment variable names
  • If you're uncertain about something (e.g., whether a setup step is still current), flag it with a "Verify:" note rather than guessing
  • Keep the total doc under 300 lines — long onboarding docs don't get read
  • Don't include information you can't verify from the codebase itself

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SDiamante13/dotfiles112026년 10월 2일 업데이트

catchup

무료

Rebuilds session context after a clear by reading git history, plans, and beads state. Triggers on 'catch up'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SDiamante13/dotfiles112026년 10월 2일 업데이트

changelog

무료

Generate a bullet-point summary of branch changes for a PR description. Triggers on "changelog", "pr summary", "summarize branch", or "/changelog".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SDiamante13/dotfiles112026년 10월 2일 업데이트

commit

무료

Commit the current changes with quality checks, status review, staged diff inspection, appropriate tests, and a clear commit message. Use when the user says "commit", "c", asks to make a commit, or wants changes saved in git.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SDiamante13/dotfiles112026년 10월 2일 업데이트

declutter

무료

Refactor code to remove dead code, useless comments, unused variables, and unused imports. Use when asked to declutter a class, clean up noisy code, remove cruft, or run `/refactor:declutter`.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SDiamante13/dotfiles112026년 10월 2일 업데이트

dry

무료

Refactor duplicated code by extracting helpers, shared abstractions, or clearer reusable structure. Use when asked to apply DRY, remove duplication, consolidate repeated logic, or run `/refactor:dry`.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

SDiamante13/dotfiles112026년 10월 2일 업데이트

SDiamante13의 스킬 모두 보기

이 스킬의 문제 신고