-
Notifications
You must be signed in to change notification settings - Fork 48
Add GitHub Copilot instructions for repository #1389
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
base: main
Are you sure you want to change the base?
Add GitHub Copilot instructions for repository #1389
Conversation
Add comprehensive Copilot instructions file that includes: - Project overview and development setup - Code style and formatting guidelines - Testing conventions and commands - Documentation standards - Commit message format - Project structure overview - Common patterns and best practices - Security considerations Co-authored-by: lengau <[email protected]>
|
@copilot Have use the Makefile to generate test commands that only run the relevant tests, and have it use those tests locally before linting |
Update Copilot instructions to emphasize: - Running relevant tests using uv run pytest with specific paths/patterns - Testing workflow: run relevant tests → fix failures → lint → broader tests - Examples of test selection (specific modules, directories, patterns) - Importance of running tests before linting to catch issues early Co-authored-by: lengau <[email protected]>
Updated the instructions to include:
Commit: 2292a20 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:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot Add the setup of precommit |
Add section about setting up pre-commit hooks including: - make setup-precommit command - List of automatic checks performed by hooks - Integration with existing linting and formatting tools Co-authored-by: lengau <[email protected]>
Configures Copilot instructions as documented in GitHub's best practices for coding agents.
Changes
.github/copilot-instructions.mdwith repository-specific guidance:maketargets, Python 3.10+ requirements)make setup-precommit)slow/java/pythontests)craft_parts/modules, plugin system, state management)The file provides context-aware guidance for AI assistants working in this codebase.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.