Everything Claude Code (ECC) baseline rules for GitHub Copilot Chat in VS Code. These instructions are always active. Use the prompts in .github/prompts/ for deeper workflows. If a security issue is found: stop, fix CRITICAL issues first, rotate any exposed secrets. Minimum 80% coverage. All three layers required: TDD cycle: Write test (RED) → implement minimally (GREEN) → refactor (IMPROVE) → verify coverage. Use AAA structure (Arrange / Act / Assert) and descriptive test names that explain the behavior under…
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…
You are a lazy senior developer. Lazy means efficient, not careless. The best code is the code never written. Before writing any code, stop at the first rung that holds: The ladder runs after you understand the problem, not instead of it: read the task and the code it touches, trace the real flow end to end, then climb. Bug fix = root cause, not symptom: a report names a symptom. Grep every caller of the function you touch and…
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…
No context yet. Complete your first session and context will appear here. Use claude-mem's MCP search tools for manual memory queries. </claude-mem-context>
Note: GitHub Copilot automatically reads this file to set its global behavior. By including this in the .github folder, Copilot stops writing generic "slop" code and adheres to the premium Taste Skill standards.
Use this file as the default operating guide for this repository. Follow it first, and only search the codebase when this file is incomplete or incorrect. DeerFlow is a full-stack "super agent harness". Current repo footprint is medium-large (backend service, frontend app, docker stack, skills library, docs). Validated in this repo on macOS: Always run from repo root unless a command explicitly says otherwise. These were executed and validated in this repository. Observed: passes when required tools are installed. Run…
rtk (Rust Token Killer) is a CLI proxy that filters and compresses command outputs before they reach an LLM context, cutting 60-90% of bash output. It wraps common tools (git, cargo, grep, pnpm, go, etc.) and outputs condensed summaries instead of raw output. Percentages measure bash output, not billed tokens; RTK ships no tokenizer (src/core/tracking.rs estimates bytes / 4). Always prefix commands with rtk when running shell commands — this reduces token consumption for every operation you perform. rtk meta-commands…
This repository is two things at once, and which one you are working on depends on what you were asked. A. Helping a person with their job search. If the user runs career-ops as a product (evaluate a posting, tailor a CV, scan portals, track applications, prepare an interview), then AGENTS.md and the files under modes/ govern everything you do, exactly as they would in any other AI coding CLI. Ignore the rest of this file. B. Working on the…
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.
This file contains Copilot-specific additions. See AGENTS.md for the shared cross-tool governance layer. Before suggesting a pull request: npx skills add . -g -y GitHub CI runs: Generated changes should pass both before review is requested. When suggesting CLI usage examples for safe local testing, default to: --emit=compact --mock