Slash Command178 repo starsupdated 5mo ago
onboard
The `/onboard` command quickly orients Claude Code to a new codebase by scanning the git repository structure, reading key documentation and configuration files, and checking current git status. Use this command when beginning work on an unfamiliar project to generate a high-level summary of the project's purpose, technology stack, organization, and recent development activity.
Install in Claude Code
Copymkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/theaiautomators/claude-code-agentic-rag-masterclass/HEAD/.claude/commands/onboard.md -o ~/.claude/commands/onboard.mdThen start a new Claude Code session; the slash command loads automatically.
Definition
onboard.md
# Context ## Process 1. **Scan structure** - Run `git ls-files` to see all tracked files 2. **Read key files** - CLAUDE.md, PRD.md, and any other architecture docs - Entry points and config files - Core schemas/models 3. **Check state** - Run `git status` and `git log -10 --oneline` ## Output Provide a brief summary: - What this project does - Tech stack - How it's organised - Current branch and recent activity
More from this repository