Connect Your Repo
Link your GitHub or GitLab repository so Scope can understand your codebase.
Supported providers
Scope connects to repositories via OAuth:
- GitHub — public and private repos
- GitLab — public and private repos
How to connect
- Open your project and go to Settings
- Under GitHub Connection, click Connect Repository
- Authorize Scope in the OAuth flow
- Select the repository you want to analyze
- Scope begins analyzing — usually takes 1-2 minutes
What gets extracted
During analysis, Scope builds a model of your codebase by extracting:
| Category | Examples |
|---|---|
| Data models | User, Order, Product — what data your app stores and manages |
| Properties | name, price, created date — the details of each data model |
| Relationships | Orders belong to Users, Products have Reviews |
| Features | User management, order processing, product catalog — with access rules |
| Technology | Framework, language, database, test tools, package manager |
| Patterns | Naming conventions, file organization, coding style |
What is NOT stored
Your source code is never stored.
Scope reads files during analysis to extract structure and metadata, but the actual source code is processed in memory and discarded. Only the extracted context (data model names, properties, feature paths, relationships) is stored as searchable context for your project.
Supported languages
Scope can analyze projects in:
- Ruby — Rails, schema.rb, ActiveRecord
- Python — Django, FastAPI, SQLAlchemy
- TypeScript / JavaScript — Express, Next.js, Prisma
- Go — Chi, Gin, GORM
- Rust — Axum, Actix, Diesel
Scope works with all major database tools and frameworks in these languages. If your stack is listed above, you're covered.
File limits
- Maximum file size: 100 KB per file
- Maximum files analyzed: 500 files
- Files are prioritized by importance (schema, routes, models first)
Re-analyzing
After making significant changes to your codebase, you can re-run the analysis from your project settings. This refreshes the model so new tickets are grounded in the latest state.