.github/instructions/copilot-sql-query-writing.instructions.md. Downloaded files need to be placed in that repository path.--- applyTo: "**/*" --- SQL generation: 1. SELECT queries 2. Complex joins 3. Aggregations 4. Window functions 5. CTEs
Cursor rule for Prisma 7 with the prisma-client generator, prisma.config.ts, driver adapters, selective queries, transactions, cursor pagination and $extends soft delete.
Copilot instructions for TypeScript project setup covering strict tsconfig flags and their effects, type-only imports, module hygiene and TSDoc for public APIs.
Copilot instructions for React 19 TypeScript components that forward native props, use effects only for synchronization and are tested by role.
Copilot
database
GitHub Copilot reads repository-wide custom instructions from .github/copilot-instructions.md and path-specific instructions from .github/instructions/*.instructions.md files with an applyTo glob. Copilot can also use AGENTS.md files, where the nearest file in the directory tree takes precedence. Which file types are honored depends on the surface: VS Code, Visual Studio, JetBrains, Xcode, Eclipse and GitHub.com differ.
.github/instructions/copilot-sql-query-writing.instructions.mdStarting point, not a tested configuration for your repository. Used for files matching applyTo on surfaces that support path-specific instructions. Review the instructions, adapt the file paths and run your project's existing checks.
--- applyTo: "**/*" --- SQL generation: 1. SELECT queries 2. Complex joins 3. Aggregations 4. Window functions 5. CTEs
Ask for a small change to one matching file. Check the tool's loaded context or instruction view, inspect the diff for the requested convention, and run the relevant build or test. A well-formatted file does not guarantee the model follows every instruction.
Instruction support differs by surface: VS Code supports repository-wide, path-specific and AGENTS.md instructions; Visual Studio supports repository-wide and path-specific; JetBrains and Xcode use .github/copilot-instructions.md. GitHub's documentation describes AGENTS.md files stored anywhere in the repository, with the nearest file in the directory tree taking precedence, or alternatively a single CLAUDE.md or GEMINI.md in the root. Support differs by surface; GitHub's IDE page lists AGENTS.md among the instruction types for VS Code.
Documentation checked 2026-11-05: GitHub Docs: Adding repository custom instructionsGitHub Docs: Repository instructions in your IDE
Cursor rule for Prisma 7 with the prisma-client generator, prisma.config.ts, driver adapters, selective queries, transactions, cursor pagination and $extends soft delete.
Copilot instructions for TypeScript project setup covering strict tsconfig flags and their effects, type-only imports, module hygiene and TSDoc for public APIs.
Copilot instructions for React 19 TypeScript components that forward native props, use effects only for synchronization and are tested by role.