Skip to main content
pre.dev can import existing GitHub repositories, understand their architecture, and generate new specs that integrate with your established codebase.

How It Works

  1. Connect your repo — Provide the GitHub repository URL or select from your connected repos
  2. Analysis — pre.dev scans the codebase to understand:
    • Tech stack and framework
    • Project structure and patterns
    • Existing features and components
    • Database schema (if detectable)
    • API routes and contracts
  3. Spec generation — Describe what you want to add, and pre.dev generates specs that fit within the existing architecture
  4. Build — Agents implement new features following the patterns established in your codebase

What Gets Analyzed

Use Cases

Adding Features to Existing Apps

pre.dev generates specs that use your existing database schema, component library, and API patterns.

Refactoring

Onboarding to Unfamiliar Codebases

Import a repo you didn’t write and let pre.dev explain its architecture, then generate specs for changes you need to make.

Requirements

  • The repository must be accessible (public or connected via GitHub OAuth)
  • Supported languages and frameworks are detected automatically
  • Large monorepos may take longer to analyze

After Import

Once imported, your project works exactly like any other pre.dev project:
  • View and edit the generated spec
  • Use any build mode
  • Agents write code that follows your existing patterns
  • PRs are opened against your repo