Commit Graph

16 Commits

Author SHA1 Message Date
Frank
eb2352774d align AI instructions with upstream
some updates coming from ongoing work
2026-04-06 17:14:40 +02:00
Frank Möhle
a8463fa510 Fix ArduinoJSON path in copilot instructions
Corrected the path for ArduinoJSON and AsyncJSON dependencies.
2026-04-06 00:46:04 +02:00
copilot-swe-agent[bot]
2ac93463f5 fix: make agent-build.instructions.md visible to agent mode; fix cpp.instructions.md glob whitespace
Agent-Logs-Url: https://github.com/MoonModules/WLED-MM/sessions/cc079927-b059-4d79-9290-886ef72964c8

Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
2026-04-05 15:34:11 +00:00
Frank
1fce76600c strengthen that at one firmware build is necessary after code changes. 2026-04-05 15:21:30 +02:00
Frank
19b44b73c4 add ArduinoJSON location to project overview 2026-04-05 14:58:51 +02:00
Frank Möhle
4452a6c955 Update repository structure section in instructions
small readability improvement
2026-04-05 14:32:43 +02:00
Frank Möhle
1243c7b1fa Revise *.instructions.md: separate AI-relevant special knowledge from background information for contributors (#354)
Revising AI review instructions:
* Reduce context window use for AI review tools, by avoiding repeating common knowledge and API information that is (usually) part of the AI training datasets any way.
* Introduce a mechanism to maintain both parts in single files, to avoid "silent diversion" over time
* Adding a coderabbit path instruction that ensures cross-checking of both parts whenever a PR modifies instruction files

Objectives:
* Primary Goal: only inject content in AI-visible areas that are WLED-MM–specific or which deviate from general knowledge (the context window "token cost" of true false-positive suppressors is always worth it).
* Soft goal: keep each file's AI-facing section lean enough that the signal-to-noise ratio in the attention layer stays high — around 1,500–2,000 words per file type is a reasonable practical ceiling for current models.
* Aspirational: 500 words per file if achievable without sacrificing review quality.

This is an evolution of #353, based on the discussion in https://github.com/MoonModules/WLED-MM/pull/353#issuecomment-4186989873

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-04-04 22:58:30 +02:00
Frank Möhle
5bf6306755 Update guidelines for code review process
Added a guideline to justify or remove unused/dead code.
2026-04-04 02:48:37 +02:00
Frank Möhle
774efc3768 Enhance instructions on acknowledging good patterns
Expanded the guideline on acknowledging good patterns to include summarizing good practices as part of reviews.
2026-04-04 02:39:38 +02:00
Copilot
44a96c311d Revise copilot-instructions.md: consolidate, shorten, extract and extend language-specific rules (#353)
Revise copilot-instructions.md: consolidate redundant sections, extract language-specific rules
* Added comprehensive internal documentation files establishing coding standards and development workflows for C++, Web UI, CI/CD, and ESP-IDF components.
* Implemented CodeRabbit configuration to enforce repository-specific code review guidance and quality standards across pull requests.
* Documented development workflow procedures and contribution expectations to streamline the development process and improve code consistency.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-04-04 01:41:06 +02:00
Frank
28834aa17c documentation sync with upstream 2026-04-02 11:37:35 +02:00
Frank Möhle
9d73bcc2ad Clarify instructions to always use the correct source code branch
Updated instructions for providing references in analysis results.
2026-03-30 00:19:48 +02:00
Frank
a233e99909 Update copilot-instructions.md
align with instruction used in upstream
2026-03-28 11:37:39 +01:00
Will Tatam
315f147d87 Add build instruction for common environment
Added instruction to run a build for the common environment before finishing changes.
2025-09-20 12:26:16 +01:00
netmindz
08c415dbaf Change npm install to npm ci for dependencies
Updated installation instructions for dependencies.
2025-09-20 12:26:06 +01:00
copilot-swe-agent[bot]
4cad8befda Add comprehensive GitHub Copilot instructions for WLED development
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
2025-09-20 12:25:56 +01:00