Provide comprehensive feedback on copilot custom instructions #414
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR provides detailed analysis and recommendations for improving the
.github/copilot-instructions.md
file based on:Key Findings
Critical Safety Issue⚠️
The current instruction to "avoid defensive error handling for hypothetical failures" is dangerous for hardware control systems. Hardware operations controlling robotic arms, 3D printers, and laboratory equipment require robust error handling to prevent equipment damage and ensure safety.
Missing Elements (70% of GitHub Best Practices)
tox
,pre-commit
)src/ac_training_lab/
unexplainedRecommendations
What Should Be KEPT ✅
What Should Be MODIFIED 🔧
tox
,pre-commit
, device testing patternsWhat Should Be ADDED 📈
Research Sources
Impact
Current instructions miss critical safety considerations and modern best practices. The recommendations align with GitHub's 2024-2025 standards while addressing the unique requirements of autonomous laboratory equipment control.
Detailed analysis and improved instructions provided in the PR discussion for implementation reference.
Fixes #413.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.