fix: make agent-build.instructions.md visible to agent mode; fix cpp.instructions.md glob whitespace#356
Conversation
…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>
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThree GitHub instruction files receive minor configuration and documentation updates. An AI-assistant instruction file gains YAML front matter metadata, a reference link is corrected for naming consistency, and a glob pattern is reformatted by removing whitespace. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Initial commit based on WLED-MM version * shorten previous instructions, by removing duplicated information and shortening wording * move agent instructions into a separate file * added coding conventions for C++, webUI, CI/CD (based on WLED-MM, needs adjustment for WLED) * added .coderabbit.yaml so the rabbits picks the same instructions for reviews. more information: * MoonModules#353 * MoonModules#354 * MoonModules#356
Summary
Two small fixes to the GitHub Copilot instruction files:
1. Fix whitespace in
cpp.instructions.mdapplyToglobThe
applyTofront matter had a spurious space before**/*.ino:This is now consistent with
esp-idf.instructions.mdand avoids any risk of parsers failing to match.inofiles.2. Make agent-build-instructions.md visible to agent mode
Renamed
.github/agent-build-instructions.md→.github/agent-build.instructions.mdand addedapplyTo: "**"front matter.GitHub Copilot agent mode automatically includes files named
*.instructions.mdin.github/that have a validapplyTofront matter. Without the correct naming convention and front matter, the file was referenced incopilot-instructions.mdbut not automatically surfaced to the agent.Updated the link in
copilot-instructions.mdto point to the new filename.Summary by CodeRabbit