From: Jérôme Benoit Date: Tue, 7 Oct 2025 14:47:47 +0000 (+0200) Subject: chore: refine github copilot instructions X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=4c17f5ef18e28f5b4ed5c547e5b032d660db2d88;p=e-mobility-charging-stations-simulator.git chore: refine github copilot instructions Signed-off-by: Jérôme Benoit --- diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 550f2332..21d94a83 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -12,7 +12,7 @@ These instructions guide GitHub Copilot to generate changes consistent with this - **Before coding**: - Perform a comprehensive inventory of the codebase. Search for and read: - README.md, CONTRIBUTING.md, and all other documentation files. - - relevant code files related to the task. + - code files related to the task. - Identify existing code architecture, design patterns, canonical defaults, naming patterns and coding styles. - **When coding**: - Follow the core principles, TypeScript/Node.js and OCPP-specific conventions below. @@ -22,13 +22,13 @@ These instructions guide GitHub Copilot to generate changes consistent with this - Ensure changes pass quality gates below. - **When adding a tunable**: - Add to canonical defaults with safe value. - - Ensure options and configuration section below is respected. + - Ensure the options and configuration section below is respected. - Update documentation and serialization. - **When implementing analytical methods**: - Follow statistical conventions below. - **When refactoring**: - Keep APIs stable; provide aliases if renaming. - - Update code, tests, and documentations atomically. + - Update code, tests, and documentation atomically. - **When documenting**: - Follow documentation conventions below.