This is the GitHub Copilot Chat extension for Visual Studio Code - a VS Code extension that provides conversational AI assistance, a coding agent with many tools, inline editing capabilities, and advanced AI-powered features for VS Code. Choose validation based on the scope and risk of the change. Prefer existing diagnostics and the smallest targeted tests that cover the changed behavior. Do not start start-watch-tasks, run a full build, or make type checking a prerequisite for targeted tests solely as…
Visual Studio Code is built with a layered architecture using TypeScript, web APIs and Electron, combining web technologies with native app capabilities. The codebase is organized into key architectural layers: The core architecture follows these principles: - Layered architecture - from base, platform, editor, to workbench - Dependency injection - Services are injected through constructor parameters - If non-service parameters are needed, they need to come before the service parameters - Contribution model - Features contribute to registries and extension…
This copilot-instructions.md file provides guidance for code agents working with this codebase. Many models in the codebase have similar code, but it is not shared by inheritance because we want each model file to be self-contained. We use two mechanisms to keep this code in sync: - "Copied from" syntax. Functions or entire classes can have a comment at the top like this: # Copied from transformers.models.llama.modelingllama.rotatehalf or # Copied from transformers.models.t5.modelingt5.T5LayerNorm with T5->MT5 These comments are actively checked by…
Concise guidance for AI-assisted development of this Command Palette extension. If using git, remove these lines from .gitignore (needed for deployment): - **/Properties/launchSettings.json - *.pubxml This project includes Copilot skills for common workflows: - add-adaptive-card-form — Create form-based UI with Adaptive Cards - add-extension-settings — Add a settings page to your extension - add-dock-band — Add persistent toolbar widgets - add-fallback-commands — Add catch-all search commands - publish-extension — Publish to Microsoft Store or WinGet
This repository contains the native TypeScript compiler and language server. The source directories of interest that we have are: Most compiler development takes place in tsc/internal, and most behaviors can be tested via compiler tests. Most development on the codebase is in Go. Standard Go commands and practices apply, but we primarily use a tool called hereby to build, run tests, and other tasks. Run npx hereby --tasks to see all available commands. Always make sure code is formatted, linted,…
You are a code reviewer for a large TypeScript/Next.js/React monorepo. Your reviews must be low-noise and high-signal. The team acts on fewer than 20% of default Copilot suggestions, so every comment you leave must earn its place. Only comment when you are >85% confident the issue is a real bug, security vulnerability, or logic error. If you are unsure, do not comment. Silence is better than noise. Our CI pipeline already validates the following. Never comment on these topics: This…
This is a VS Code extension. Read .clinerules/general.md for tribal knowledge and nuanced patterns. Also update: src/shared/api.ts, src/shared/providers/providers.json, src/core/api/index.ts, webview-ui/.../providerUtils.ts, webview-ui/.../validate.ts, webview-ui/.../ApiOptions.tsx. For Responses API providers: add to isNextGenModelProvider() in src/utils/model-utils.ts and set apiFormat: ApiFormat.OPENAI_RESPONSES on models.
AutoGen is a multi-language framework for creating AI agents that can act autonomously or work alongside humans. The project has separate Python and .NET implementations with their own development workflows.
The following instructions are only to be applied when performing a code review. Use .github/skills/code-review/SKILL.md for repository-fit, differentiation, provenance, validation, and editorial-quality review criteria. Apply the deterministic file-format checks below as well. Only apply to files that end in .prompt.md Only apply to files that end in .instructions.md Only apply to files that end in .agent.md Only apply to folders in the skills/ directory Only apply to directories in the plugins/ directory
This repository contains coding guidelines and best practices for the Vault Enterprise project. The .github/instructions/ directory contains domain-specific coding guidelines: GitHub Copilot automatically applies these instructions based on the applyTo…
ALWAYS reference these instructions first and fallback to search or bash commands only when you encounter unexpected information that does not match the info here. WSL is the Windows Subsystem for Linux - a compatibility layer for running Linux binary executables natively on Windows. This repository contains the core Windows components that enable WSL functionality. Use WIL (Windows Implementation Libraries) macros — never bare if (FAILED(hr)): - THROWIFFAILED(hr) — throw on HRESULT failure - THROWHRIF(hr, condition) — conditional throw -…
Commits on master are automatically synced to the public mongodb/mongo repository. A security fix that lands on master before the corresponding CVE is disclosed publicly reveals the vulnerability while released…
This is the Windows Package Manager (WinGet) CLI client - a native Windows application for discovering and installing packages. The codebase consists of: Use a configuration file in .config as in winget configure .config/configuration.winget (alternatives provided for other VS SKUs). Manual steps: Open src\AppInstallerCLI.sln in Visual Studio and build the solution (Ctrl+Shift+B) or use msbuild.exe to build from the command line. The solution uses: - MSBuild - vcpkg for C++ dependencies - NuGet for C++ and .NET dependencies Entry point:…
For all tasks involving writing, editing, or refactoring code that uses the Filament rendering engine, you must strictly follow the guidelines defined in docssrc/srcmdbook/src/notes/AI_CONTEXT.md.
This file provides guidance to GitHub Copilot for contributing to the React Native Windows repository. React Native Windows brings React Native to the Windows platform, supporting both UWP and Win32…
When reviewing PRs, address general code review criteria, but also specifically the following questions: What is it trying to do? Is it correct? Are there bugs? Are there omissions? Are there better ways of doing things? Should this CL be approved?