Skip to content

Commit 92ff3eb

Browse files
authored
Update copilot instructions with test-first approach (#18933)
1 parent 4a1d11c commit 92ff3eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/copilot-instructions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ General guide:
88
- Avoid external dependencies – the codebase is self-contained (do NOT add new NuGet packages)
99
- Follow docs/coding-standards.md and docs/overview.md
1010

11+
**Test‑First** (bugs / regressions): Add/adjust a minimal test that fails on current main → confirm it fails → implement fix → run core command and ensure test passes → only then continue.
12+
1113
Plan your task:
1214
1. Write a 1–2 sentence intent (bug fix / API add / language tweak).
1315
2. Identify domain: Language (`LanguageFeature.fsi` touched) vs `src/FSharp.Core/` vs `vsintegration/` vs compiler/service.

0 commit comments

Comments
 (0)