Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 3, 2025

Configures repository-specific guidance for GitHub Copilot as recommended in best practices.

Changes

  • Created .github/copilot-instructions.md with:
    • Development setup (build, test, lint commands)
    • Code style distilled from STYLE.md (naming, imports, error handling, formatting)
    • Testing conventions (gopkg.in/check.v1 framework, naming patterns)
    • Project-specific patterns (concurrency, regex compilation, string operations)
    • Commit message format (conventional commits)
    • Project structure and documentation references

Key conventions captured:

  • Error messages start with "cannot" and are lowercase
  • Log messages start with capital letter
  • Three-group import organization (stdlib, third-party, pebble)
  • MixedCaps/mixedCaps naming, not underscores
  • Compile regex at package level with regexp.MustCompile()
Original prompt

This section details on the original issue you should resolve

<issue_title>AI: 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.

This will be the first stepping stone towards AGENTS.md or similar.</issue_description>

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


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: dimaqq <662249+dimaqq@users.noreply.github.com>
Copilot AI changed the title [WIP] Set up Copilot instructions for repository feat: add GitHub Copilot instructions Dec 3, 2025
Copilot AI requested a review from dimaqq December 3, 2025 07:37
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.

AI: set up Copilot instructions

2 participants