Overview

This file enables GitHub Copilot to leverage CoreStory's codebase analysis capabilities for intelligent, context-aware test generation. When placed in your repository, it automatically enhances Copilot's understanding of your codebase and guides it to generate comprehensive, high-quality tests.

What This File Does

The .github/copilot-instructions.md file serves as repository-wide instructions that automatically apply to all Copilot chat interactions. It teaches Copilot to:

Think of this as giving Copilot a "test generation expert" persona that understands both your specific codebase (via CoreStory) and general testing best practices.

Installation

Prerequisites

  1. VS Code with GitHub Copilot installed and activated
  2. CoreStory MCP server configured and connected (see CoreStory setup documentation)
  3. Repository access with write permissions

Setup Steps

  1. Create the .github directory in your repository root (if it doesn't exist)
   mkdir -p .github
  1. Copy the instructions file to .github/copilot-instructions.md
  2. Commit and push the file to your repository