Add GitHub Copilot instructions for repository conventions and structure#41
Add GitHub Copilot instructions for repository conventions and structure#41
Conversation
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. Comment |
Co-authored-by: baruchiro <17686879+baruchiro@users.noreply.github.com>
Co-authored-by: baruchiro <17686879+baruchiro@users.noreply.github.com>
Co-authored-by: baruchiro <17686879+baruchiro@users.noreply.github.com>
Co-authored-by: baruchiro <17686879+baruchiro@users.noreply.github.com>
| ### Modifying API Client | ||
| 1. Update method in `src/api/PaperlessAPI.ts` | ||
| 2. Update type definitions in `src/api/types.ts` | ||
| 3. Ensure error handling includes useful context | ||
| 4. Maintain consistent request/response patterns |
There was a problem hiding this comment.
Mention the paperlessAPI swagger Jason file in the root project folder. This file describes the available APIs in paperless, it is the most detailed documentation that exists.
Although it is a huge file and the read it you should chunk it or use parsing tools to query it.
There was a problem hiding this comment.
Added documentation about the Paperless_ngx_REST_API.yaml file to the Related Documentation section with guidance about chunking/parsing due to its size (10,000+ lines, 264KB). Commit: 837c850
Co-authored-by: baruchiro <17686879+baruchiro@users.noreply.github.com>
baruchiro
left a comment
There was a problem hiding this comment.
You need also to describe the changesets tool required process.
Use web search to understand the tool, and read the project workflows and configs to understand the required structure.
You will need to generate a changeset file for every change you're suggesting.
Co-authored-by: baruchiro <17686879+baruchiro@users.noreply.github.com>
Added comprehensive changesets documentation including:
Commit: dd2ed93 |
There was a problem hiding this comment.
Pull request overview
This PR adds comprehensive Copilot instructions to help GitHub Copilot better understand the repository's conventions, structure, and development workflows for the Paperless-NGX MCP server project.
Changes:
- Created
.github/copilot-instructions.mdwith detailed repository guidelines covering project structure, build commands, code conventions, MCP-specific patterns, security guidelines, dependencies, and development workflows - Documented the changesets workflow as a required step for all code changes
- Included comprehensive technical details about TypeScript configuration, tool registration patterns, transport modes, and API client usage
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Setup Copilot Instructions for paperless-mcp
Based on GitHub Copilot best practices, created comprehensive Copilot instructions:
.github/copilot-instructions.mdwith repository-wide guidelinesSummary
Created comprehensive Copilot instructions at
.github/copilot-instructions.mdincluding:npx changesetAll examples verified against actual implementation in the codebase.
Original prompt
💡 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.
Note
Introduces repository-wide guidance for contributors and AI assistants in
/.github/copilot-instructions.md.src/structure, with tool registration patterns using Zod +withErrorHandlingnpm run inspect), error validation expectations, and use of test instancesPaperless_ngx_REST_API.yamlwith guidance to chunk/parse due to file sizeWritten by Cursor Bugbot for commit dd2ed93. This will update automatically on new commits. Configure here.