-
Notifications
You must be signed in to change notification settings - Fork 2
Add copilot-instructions.md for GitHub Copilot repository context #55
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: lucasrcezimbra <7042915+lucasrcezimbra@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new copilot-instructions.md
file to give GitHub Copilot detailed context about the ninja-api-key repository.
- Introduces project overview, core components, and security features
- Outlines code patterns, development workflows, and testing guidelines
- Provides common use case examples and file structure documentation
Comments suppressed due to low confidence (3)
copilot-instructions.md:100
- [nitpick] The 'Testing Guidelines' section overlaps with the earlier '### Testing' subsection under 'Code Patterns'. Consider merging them or renaming to avoid redundancy and clarify the document structure.
## Testing Guidelines
copilot-instructions.md:113
- The test directory path is earlier specified as
ninja_apikey/tests/
. For consistency, update this path toninja_apikey/tests/
or clarify its location relative to the project root.
- `tests/`: Comprehensive test suite
copilot-instructions.md:35
- [nitpick] Consider using the American English spelling 'parameterized' to align with common Python conventions and pytest terminology, or ensure consistent usage across the documentation.
- Use parametrized tests for multiple scenarios
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #55 +/- ##
=======================================
Coverage 94.73% 94.73%
=======================================
Files 11 11
Lines 266 266
=======================================
Hits 252 252
Misses 14 14 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: lucasrcezimbra <7042915+lucasrcezimbra@users.noreply.github.com>
This PR adds a comprehensive
copilot-instructions.md
file to provide GitHub Copilot with detailed context about the ninja-api-key repository.What's included
The file provides GitHub Copilot with essential information about:
Benefits
This will help GitHub Copilot:
The instructions are based on the official GitHub documentation for repository custom instructions.
Fixes #54.
💡 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.