Releases: lukaso/gimp-ai
v0.14.0
v0.13.0
Merged PR: #5 - Add GitHub Copilot and Claude Code instructions for repository
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 context- Architecture: Python 3 GIMP plugin using GObject Introspection (gi) bindings, zero external dependencies
- Core files:
gimp-ai-plugin.py(main plugin),coordinate_utils.py(pure coordinate math, unit-testable) - OpenAI API integration: Shape selection algorithm for 1024×1024, 1536×1024, 1024×1536 constraints
- Conventions: PEP 8, GIMP 3.0+ API patterns, configuration in
~/.config/gimp-ai-plugin/config.json - Testing: Manual testing in GIMP required, unit tests for pure functions
- Platform paths: macOS (
~/Library/Application Support/GIMP/3.0/plug-ins/), Linux (~/.config/GIMP/3.0/plug-ins/), Windows (%APPDATA%\GIMP\3.0\plug-ins\) - Security: Never commit API keys, sanitize user input, cleanup temp files
-
Created
CLAUDE.md(10 lines) - Claude Code entry point using proper file reference syntax- Uses
file:.github/copilot-instructions.mdsyntax per mcpcat.io best practices - Claude Code reads the actual file content directly from the referenced file
- Zero content duplication - true single source of truth
- Uses
Enables 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.md with Claude Code accessing it via proper file reference syntax.
- Fixes #4
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)
- Fixes #4
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.