[github][copilot] add an instructions.md file

Unclear if this is doing any good, but the copilot agent does seem to
read it in.
This commit is contained in:
Travis Geiselbrecht
2025-07-09 23:16:25 -07:00
parent 816be268be
commit 07eb425744

14
.github/copilot-instructions.md vendored Normal file
View File

@@ -0,0 +1,14 @@
# LK Kernel
LK is an open source kernel intended to primarily run in supervisor mode on a variety
of 32bit and 64bit architectures.
It is designed to be small, fast, and efficient, with a focus on real-time performance.
It is primarily written in C and assembly, with some parts in C++. The C++ parts mostly
do not use the standard C++ library, and no exceptions.
It is used in a variety of embedded and real-time systems, including automotive, industrial,
and consumer electronics. It is also used in some academic and research projects.
# Code Style
4 space indentation, no tabs, or trailing whitespace.
Header guards are implemented with #pragma once.