Enhance Copilot instructions with best practices and code examples#17
Draft
Copilot wants to merge 2 commits into
Draft
Enhance Copilot instructions with best practices and code examples#17Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Co-authored-by: yortch <4576246+yortch@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update copilot instructions to enhance effectiveness
Enhance Copilot instructions with best practices and code examples
Feb 4, 2026
yortch
added a commit
that referenced
this pull request
Mar 26, 2026
Captured real screenshots from GitHub (dark mode) using Playwright: - Issue #56: chaos scenario selection - Actions run #17: workflow execution - PR #70: code change diff Combined into step-1.gif animated carousel (3s per slide). Replaced CSS-only carousel with the animated GIF. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The existing
.github/copilot-instructions.mdprovided basic project context but lacked rationale, concrete examples, and actionable guidance for effective AI assistance.Changes
Architecture & Principles
Code Patterns (✅ Good vs ❌ Avoid)
Added comparative examples for:
Example pattern added:
Testing Guidelines
@WebMvcTestisolation@ExtendWith(MockitoExtension.class)Environment Configuration
application.ymlwith Resilience4j tuningQuick Reference
Best Practices Checklist
Actionable pre-commit, coding, and testing checklists for consistent workflows
Impact: 665 lines added (126 → 791), providing comprehensive context for AI-assisted development while maintaining project-specific conventions.
Original prompt
Objective
Update the
.github/copilot-instructions.mdfile to follow best practices from the customize-your-repo guide, making it more comprehensive and effective for GitHub Copilot.Current State
The existing
.github/copilot-instructions.mdfile is functional but could be significantly improved by:Required Changes
Replace the entire contents of
.github/copilot-instructions.mdwith the following improved version: