Skip to content

Add GitHub Copilot repository instructions#582

Merged
nixel2007 merged 2 commits into
developfrom
copilot/setup-copilot-instructions
Feb 11, 2026
Merged

Add GitHub Copilot repository instructions#582
nixel2007 merged 2 commits into
developfrom
copilot/setup-copilot-instructions

Conversation

Copilot AI commented Feb 11, 2026

Copy link
Copy Markdown
Contributor

Configures repository-specific context for GitHub Copilot coding agent via .github/copilot-instructions.md.

What's Added

A 197-line instruction file providing:

  • Build & Test: Complete command reference (./gradlew build|test|check|precommit), Git LFS requirements, common build issues
  • Project Structure: Key directories (src/main/java/com/github/_1c_syntax/bsl/), main entry points (MDClasses, Configuration), configuration files
  • CI/CD: GitHub Actions matrix (Java 17/21/25, Ubuntu/Windows/macOS), validation requirements
  • Code Conventions: Lombok patterns, read-only library design, JUnit 5 + AssertJ testing
  • Context: 1C:Enterprise metadata formats (XML Designer, EDT), XStream converters, ClassGraph usage

Why This Matters

Reduces agent exploration overhead by front-loading project-specific knowledge. Agents can now:

  • Execute correct build commands without trial-and-error
  • Navigate codebase structure efficiently
  • Follow established patterns (Lombok annotations, converter design)
  • Avoid common pitfalls (Git LFS initialization, Java version requirements)

Follows GitHub's official guidelines for repository custom instructions.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • gh.io
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>✨ Set up Copilot instructions</issue_title>
<issue_description>Configure instructions for this repository as documented in Best practices for Copilot coding agent in your repository.

</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@nixel2007
nixel2007 marked this pull request as ready for review February 11, 2026 14:58
Copilot AI review requested due to automatic review settings February 11, 2026 14:58
@nixel2007
nixel2007 marked this pull request as draft February 11, 2026 14:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI changed the title [WIP] Set up Copilot instructions for the repository Add GitHub Copilot repository instructions Feb 11, 2026
Copilot AI requested a review from nixel2007 February 11, 2026 15:04
@nixel2007
nixel2007 marked this pull request as ready for review February 11, 2026 15:05
@nixel2007
nixel2007 merged commit 6184df7 into develop Feb 11, 2026
9 checks passed
@nixel2007
nixel2007 deleted the copilot/setup-copilot-instructions branch February 11, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨ Set up Copilot instructions

3 participants