-
Notifications
You must be signed in to change notification settings - Fork 0
Add GitHub Copilot and Claude Code instructions for repository #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: lukaso <5034+lukaso@users.noreply.github.com>
|
@copilot I also use Claude Code. Please make these instructions accessible to claude code as well. |
Co-authored-by: lukaso <5034+lukaso@users.noreply.github.com>
Added Commit: 52f0382 |
|
@copilot claude uses the CLAUDE.md file to do the same thing. And you can add references in it. I only want one file with all the content if at all possible. |
…nstructions Co-authored-by: lukaso <5034+lukaso@users.noreply.github.com>
Refactored to use This approach avoids duplication while maintaining compatibility with both GitHub Copilot and Claude Code. Commit: 4f6388d |
|
@copilot here's how you are supposed to do it: https://mcpcat.io/guides/reference-other-files/ |
…ructions.md Co-authored-by: lukaso <5034+lukaso@users.noreply.github.com>
Updated to use the proper file reference syntax from mcpcat.io. Now Commit: a8377b0 |
Configures repository-level guidance for both GitHub Copilot and Claude Code as per best practices documentation.
Changes
Created
.github/copilot-instructions.md(299 lines) - Single source of truth with comprehensive contextgimp-ai-plugin.py(main plugin),coordinate_utils.py(pure coordinate math, unit-testable)~/.config/gimp-ai-plugin/config.json~/Library/Application Support/GIMP/3.0/plug-ins/), Linux (~/.config/GIMP/3.0/plug-ins/), Windows (%APPDATA%\GIMP\3.0\plug-ins\)Created
CLAUDE.md(10 lines) - Claude Code entry point using proper file reference syntaxfile:.github/copilot-instructions.mdsyntax per mcpcat.io best practicesEnables both Copilot and Claude Code to generate context-aware suggestions respecting the project's design principles (stateless operations, pure functions in
coordinate_utils.py, non-destructive layer creation). All content is maintained in.github/copilot-instructions.mdwith Claude Code accessing it via proper file reference syntax.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.