Add GitHub Copilot Cloud Agent custom agents and workspace configuration#711
Draft
Add GitHub Copilot Cloud Agent custom agents and workspace configuration#711
Conversation
Copilot
AI
changed the title
[WIP] Implement best practices for Copilot Cloud Agent usage
Add GitHub Copilot Cloud Agent custom agents and workspace configuration
Nov 4, 2025
Base automatically changed from
copilot/add-hide-donation-dialog-functionality
to
master
November 4, 2025 20:17
Co-authored-by: ManAnRuck <2183135+ManAnRuck@users.noreply.github.com>
Co-authored-by: ManAnRuck <2183135+ManAnRuck@users.noreply.github.com>
Co-authored-by: ManAnRuck <2183135+ManAnRuck@users.noreply.github.com>
dc1f2b3 to
e3004d0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements specialized custom agents for GitHub Copilot Cloud Agent to provide domain-specific code assistance.
Custom Agents (
.github/agents/)Five specialized agents covering development domains:
Each agent includes:
pnpm --filter,devbox run)Configuration
copilot-workspace.yml - Workspace metadata: tech stack, code style (2 spaces, single quotes), file patterns, agent triggers, quality thresholds (80% coverage minimum)
copilot-best-practices.md - Implementation guide: agent selection criteria, usage examples, maintenance procedures
Usage
Agents trigger automatically on keywords: "test", "review", "docs", "react", "nestjs", etc.
Existing Resources
Enhances existing instruction files:
copilot-instructions.md(general)test-generation-instructions.md(German)code-generation-instructions.md(German)Stats: 9 files, 1,918 lines, 42KB documentation
Original prompt
erstelle einen neuen PR welcher diese best practices umsetzt.
[Chronological Review: The conversation began with the user inquiring whether the repository follows best practices for using the Copilot Cloud Agent. The user then requested the creation of a new pull request (PR) to implement these best practices, indicating a desire to enhance the repository's compliance with established guidelines.][Intent Mapping:
[Technical Inventory:
[Code Archaeology:
[Progress Assessment:
[Context Validation: All critical information for continuation is captured, including the user's requests and the current file being worked on.]
[Recent Commands Analysis:
1. Conversation Overview: - Primary Objectives: - "folgt das repo den best practices um copilot cloud agent zu benutzen?" - Inquiry about adherence to best practices for Copilot Cloud Agent. - "erstelle einen neuen PR welcher diese best practices umsetzt." - Request to create a new PR to implement best practices. - Session Context: The user is focused on ensuring the repository follows best practices and is taking steps to create a PR for this purpose. - User Intent Evolution: The user transitioned from seeking information about best practices to actively wanting to implement them through a PR.- Technical Foundation:
- Repository: democracy-development
- Current Branch: master
- Owner: demokratie-live
- Codebase Status:
- File Name: .github/test-generation-instructions.md
- Purpose: Likely related to documenting testing and generation instructions.
- Current State: User is currently working on this file in the context of implementing best practices.
- Key Code Segments: Not specified in the recent context.
- Dependencies: Related to the overall repository practices.
- Problem Resolution:
- Issues Encountered: None explicitly mentioned, but the user is addressing potential gaps in best practices.
- Solutions Implemented: User is in the process of creating a PR to implement best practices.
- Debugging Context: No ongoing troubleshooting mentioned.
- Lessons Learned: User is actively seeking to improve repository practices.
- Progress Tracking:
- Completed Tasks: User has identified the need for best practices.
- Partially Complete Work: User is working on creating a new PR.
- Validated Outcomes: None mentioned yet.
- Active Work State:
- Current Focus: Creating a new PR to implement best practices for the Copilot Cloud Agent.
- Recent Context: User has been discussing the need for best practices and the creation of a PR.
- Working Code: No specific code snippets discussed recently.
- Immediate Context: User was focused on creating a new PR when the token budget was exceeded.
- Recent Operations:
- Last Agent Commands: User requested to create a new PR.
- Tool Results Summary: No specific tool results were returned.
- Pre-Summary State: The agent was discussing the creation of a new PR.
- Operation Context: The commands executed were aimed at enhancing the repository's adherence to best practices.
- Continuation Plan:
- Pending Task 1: Create a new PR to implement best practices.
- Pending Task 2: Review and finalize the changes to be included in the PR.
- Priority Information: The creation of the PR is the most urgent task.
- Next Action: User should proceed with drafting the PR based on the identified best practices.
TITLE: Implementierung von Best Practices in PRCreated from VS Code via the GitHub Pull Request extension.
💡 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.