skills/onboard/SKILL.md
Codebase onboarding and architecture walkthrough.
npx skillsauth add arbazkhan971/godmode onboardInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
/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
<!-- tier-3 -->
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 |
development
Web performance optimization. Lighthouse, bundle analysis, code splitting, image optimization, critical CSS, fonts, service workers, CDN.
development
Webhook design, delivery, retry, HMAC verification, event subscriptions, dead letter queues.
development
Vue.js mastery. Composition API, Pinia, Vue Router, Nuxt SSR/SSG, Vite optimization, testing.
development
Evidence gate. Run command, read full output, confirm or deny claim. No trust, only proof.