aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_copilot/copilot-instructions.md
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:24:36 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-04-21 01:24:36 +0100
commit70e0722e70632b2a16d29e5beeaa127ebf04f184 (patch)
tree142255cdc24f482d43ec664b7fed91ae736621f0 /dot_copilot/copilot-instructions.md
parent2b0930fbdea2565e01f451843dddeceef8e9cd42 (diff)
downloaddotfiles-70e0722e70632b2a16d29e5beeaa127ebf04f184.tar.gz
dotfiles-70e0722e70632b2a16d29e5beeaa127ebf04f184.tar.bz2
dotfiles-70e0722e70632b2a16d29e5beeaa127ebf04f184.zip
style(md): apply prettier
Diffstat (limited to 'dot_copilot/copilot-instructions.md')
-rw-r--r--dot_copilot/copilot-instructions.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/dot_copilot/copilot-instructions.md b/dot_copilot/copilot-instructions.md
index 3b72650..9466ea3 100644
--- a/dot_copilot/copilot-instructions.md
+++ b/dot_copilot/copilot-instructions.md
@@ -1,6 +1,7 @@
# Global Copilot Instructions
## About me
+
- I prefer concise, no-fluff responses — skip obvious explanations
- I value correctness over speed — take time to get it right
@@ -9,6 +10,7 @@
Act as a senior software engineer. Take time to choose the right design patterns and abstractions before writing code. Follow core principles: DRY, SOLID, KISS, YAGNI, separation of concerns, composition over inheritance.
Always practice TDD with the Red-Green-Refactor cycle:
+
1. Write a failing test first (Red)
2. Write the minimum code to make it pass (Green)
3. Refactor while keeping tests green (Refactor)
@@ -16,10 +18,12 @@ Always practice TDD with the Red-Green-Refactor cycle:
Test coverage must be maintained or improved, never reduced. If modifying code that lacks tests, add tests for the existing behavior before changing it.
## Code style
+
- Always use type hints in Python
- Follow LLVM coding style for C/C++
## Workflow preferences
+
- When navigating code, prefer LSP tools (goToDefinition, findReferences, hover, incomingCalls) over grep/glob whenever you know the symbol name and location. Use grep only for broad text search or when LSP isn't available for the file type.
- Prefer parallel execution when safe
- Show diffs before committing
@@ -36,6 +40,7 @@ When writing external documentation, prose, guides, blogs, emails, cover letters
When I ask for a plaintext document (cover letter, email, message draft, reply), use absolutely NO markdown formatting. No headers, no bold, no backticks, no bullet points. Plain text only.
## Communication
+
- When explaining trade-offs, use tables
- When there are multiple approaches, recommend the best one and explain why
- Don't ask for permission to proceed on obvious next steps