Help us improve
Share bugs, ideas, or general feedback.
From godmode
Delivers codebase onboarding via project discovery, architecture walkthrough, key files list, naming conventions, dependency graph, code tour, and summary report. For new team members or orientation.
npx claudepluginhub arbazkhan971/godmodeHow this skill is triggered — by the user, by Claude, or both
Slash command
/godmode:onboardThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- `/godmode:onboard`, "explain this codebase"
Generates a developer guide for unfamiliar codebases by scanning structure, mapping architecture, detecting conventions, analyzing key modules, and providing setup instructions.
Analyzes unfamiliar codebases to generate structured onboarding guides with architecture maps, key entry points, conventions, and starter CLAUDE.md.
Analyzes an unfamiliar codebase and generates a structured onboarding guide with architecture map, key entry points, conventions, and a starter CLAUDE.md.
Share bugs, ideas, or general feedback.
/godmode:onboard, "explain this codebase"ls package.json Cargo.toml go.mod pyproject.toml \
pom.xml Gemfile *.csproj 2>/dev/null
find . -name "*.ts" -o -name "*.py" -o -name "*.go" \
| grep -v node_modules | wc -l
git log --oneline -20
git log --since="30 days ago" --diff-filter=M \
--pretty=format:"%h %s" | head -10
Name: <from manifest>
Type: web app|API|CLI|library|monorepo|microservice
Language: <primary>
Framework: <detected>
Build: <webpack|vite|tsc|make|cargo>
Tests: <jest|pytest|go test>
LOC: <approximate>
Layer map:
| Layer | Responsibility |
| Routes | URL mapping, response formatting |
| Middleware | Auth, rate limiting, logging |
| Controllers | Validation, orchestration |
| Services | Business logic, domain rules |
| Repositories | Data access, caching |
| Models | Data shapes, relationships |
Data flow:
Client -> LB -> Middleware -> Router -> Controller
-> Service -> Repository -> Database
Read in this order:
1. README.md — setup instructions
2. <entry-point> — bootstrap (main.ts, app.py)
3. <router> — all endpoints
4. <config> — environment, feature flags
5. <core-service> — main business logic
6. <data-model> — primary schema
7. <middleware> — request pipeline
8. <test-example> — testing patterns
IF README missing: note as gap, generate from code. IF > 500 files: focus on 20 most-modified (git log).
Files: PascalCase (components), camelCase (utils)
Variables: camelCase locals, SCREAMING_SNAKE constants
Functions: camelCase, verb prefix (get, create, handle)
Types: PascalCase, I-prefix for interfaces (if TS)
Tests: <name>.test.ts / <name>.spec.ts
Internal: routes->controllers->services->repositories
Shared: utils, config, logger, types
Circular deps: <none | list with file paths>
External:
Critical: <pkg — purpose>
Dev-only: <pkg — purpose>
Stop 1: Entry Point — where everything starts
Stop 2: Configuration — env handling
Stop 3: Core Route — a typical request lifecycle
Stop 4: Data Model — primary entities
Stop 5: Test File — testing patterns and conventions
Project: <type> with <framework>
Size: ~<N> files, ~<N>K lines
Architecture: <monolith|microservices|monorepo>
Pattern: <MVC|Clean|Hexagonal>
Key files: <N> identified
Setup: <N> steps to first run
Append .godmode/onboard-results.tsv:
timestamp repo files_analyzed entry_points status
KEEP if: all claims verified against source code
AND output populated with real data.
DISCARD if: unverified claims OR placeholder text.
STOP when FIRST of:
- Architecture identified + key files documented
- Code tour has 5+ stops
- Dev setup verified (build + test from clean)
On failure: git reset --hard HEAD~1. Never pause.
| Failure | Action |
|---|---|
| Build fails | Check system deps, env vars, platform |
| Architecture ambiguous | Check manifest, entry points, infra |
| Monorepo detected | Repeat architecture per workspace |