Skip to content

Add GitHub Copilot instructions#41

Merged
yiwang merged 2 commits into
mainfrom
copilot/set-up-copilot-instructions
Feb 19, 2026
Merged

Add GitHub Copilot instructions#41
yiwang merged 2 commits into
mainfrom
copilot/set-up-copilot-instructions

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 19, 2026

Adds .github/copilot-instructions.md to provide Copilot with repository-specific guidance.

Coverage

  • Architecture: 6-crate workspace structure, dependency graph, feature flags
  • Critical constraints: localgpt-core must compile for iOS/Android (zero platform-specific deps)
  • Design patterns: Tool safety split, thread safety (Agent not Send+Sync), Bevy main thread requirements
  • Commands: Build, test, lint, cross-compile checks
  • Security: Sandbox rules, protected files, prompt injection defenses
  • Common tasks: Adding tools/providers/commands, mobile changes workflow
  • Validation: Pre-PR checklist including cross-compilation verification

Based on existing CLAUDE.md but adapted for Copilot's format per GitHub best practices.

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)


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

Co-authored-by: yiwang <142937+yiwang@users.noreply.github.com>
Copilot AI changed the title [WIP] Configure instructions for Copilot coding agent Add GitHub Copilot instructions Feb 19, 2026
Copilot AI requested a review from yiwang February 19, 2026 03:38
@yiwang yiwang marked this pull request as ready for review February 19, 2026 03:42
@yiwang yiwang merged commit e5386ec into main Feb 19, 2026
5 checks passed
@yiwang yiwang deleted the copilot/set-up-copilot-instructions branch February 19, 2026 04:00
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

2 participants