Engineering Tooling Configuration

Configure AI for an Existing Codebase

Set up Cursor, Copilot, or Claude for a repo that already exists. One profile becomes the rules file your AI assistant reads on every request.

Overview

In-editor assistants are only as good as the context they're configured with — and most repos give them none. This setup configures AI for Relay, a microservices logistics backend where each service owns its data and talks over a bus. Choosing the Copilot output target tailors the install note (.github/copilot-instructions.md); switching to Cursor produces a .cursorrules file instead. The profile carries the architecture principles, the cross-service rules, and the never-assume list, so the assistant respects service boundaries instead of reaching across them.

Workflow

  1. Capture the architecture

    Service boundaries, the bus, data ownership — the rules an assistant must respect.

  2. Pick the target tool

    Copilot, Cursor, or Claude — the install note adapts to where the file goes.

  3. Commit the rules file

    The assistant reads it on every request; the whole team gets the same context.

Why This Works

  • The output target tailors the install path for Cursor, Copilot, or Claude exactly
  • Architecture principles keep the assistant inside service boundaries
  • Committing the file means every teammate's assistant shares one source of truth

Best for

  • Repos using Cursor, Copilot, or Claude Projects
  • Microservice and multi-team backends
  • Teams that want shared, version-controlled AI rules

Not for

  • A throwaway prompt for one question — use the Prompt Template Builder
  • Carrying a half-finished task into a new chat — use the Context Handoff Builder

Use cases

  • Repos using Cursor, Copilot, or Claude Projects
  • Microservice and multi-team backends
  • Teams that want shared, version-controlled AI rules

Tip: Save time by exploring related resources and tools that integrate with this workflow.

Explore all resources