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

  1. Open your project and go to Settings
  2. Under GitHub Connection, click Connect Repository
  3. Authorize Scope in the OAuth flow
  4. Select the repository you want to analyze
  5. Scope begins analyzing — usually takes 1-2 minutes

What gets extracted

During analysis, Scope builds a model of your codebase by extracting:

CategoryExamples
Data modelsUser, Order, Product — what data your app stores and manages
Propertiesname, price, created date — the details of each data model
RelationshipsOrders belong to Users, Products have Reviews
FeaturesUser management, order processing, product catalog — with access rules
TechnologyFramework, language, database, test tools, package manager
PatternsNaming 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.