{"id":30123393,"url":"https://github.com/lukepadiachy/copilot-instructions-experiment","last_synced_at":"2026-02-18T19:31:02.543Z","repository":{"id":303124072,"uuid":"1014484692","full_name":"lukepadiachy/copilot-instructions-experiment","owner":"lukepadiachy","description":"This repo is a hands-on experiment in customizing GitHub Copilot using repository-level instructions, prompt files, and chat modes. Each branch demonstrates a specific Copilot customization, instruction, or architectural pattern, allowing users to explore how Copilot adapts to different coding workflows and requirements.","archived":false,"fork":false,"pushed_at":"2025-07-10T21:10:35.000Z","size":8854,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-08T19:24:10.716Z","etag":null,"topics":["agent-mode","blazor","blazor-server-app","copilot-instructions","dotnet","github-copilot","pokeapinet"],"latest_commit_sha":null,"homepage":"https://lukepadiachy.github.io/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lukepadiachy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-05T20:21:30.000Z","updated_at":"2025-09-13T17:31:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"c111040c-9a88-44e4-b067-832ae00d5528","html_url":"https://github.com/lukepadiachy/copilot-instructions-experiment","commit_stats":null,"previous_names":["lukepadiachy/copilot-instructions-experiment"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lukepadiachy/copilot-instructions-experiment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukepadiachy%2Fcopilot-instructions-experiment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukepadiachy%2Fcopilot-instructions-experiment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukepadiachy%2Fcopilot-instructions-experiment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukepadiachy%2Fcopilot-instructions-experiment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukepadiachy","download_url":"https://codeload.github.com/lukepadiachy/copilot-instructions-experiment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukepadiachy%2Fcopilot-instructions-experiment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29591877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T18:54:29.675Z","status":"ssl_error","status_checked_at":"2026-02-18T18:50:50.517Z","response_time":162,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent-mode","blazor","blazor-server-app","copilot-instructions","dotnet","github-copilot","pokeapinet"],"created_at":"2025-08-10T14:40:08.217Z","updated_at":"2026-02-18T19:31:02.232Z","avatar_url":"https://github.com/lukepadiachy.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Copilot Instructions Experiment\n\n\n![Copilot Instructions](https://i.imgur.com/FzR7MHT.png)\n\n## Overview\n\nThis repository is a living experiment in customizing GitHub Copilot using repository-level instructions, prompt files and chat modes. Each branch in this repo demonstrates a specific Copilot customization or instruction, with a clear purpose and practical example. The goal is not to follow a strict tutorial, but to let you explore the capabilities and benefits of Copilot customization by switching between branches and seeing the impact of each change in context.\n\nThe **main** branch is a clean starting point, providing only this overview and a breakdown of the Copilot instruction concepts. All other branches add a specific instruction, prompt or architectural pattern, so you can see how Copilot adapts and assists as the project evolves.\n\n## How to Use This Repo\n\n1. **Start on `main`** to get the context and understand the motivation for customizing Copilot.\n2. **Fork this repository** to your own GitHub account by clicking the \"Fork on GitHub\" button below or at the bottom of this README:\n  [![Fork on GitHub](https://img.shields.io/badge/Fork%20this%20repo-Fork%20on%20GitHub-green?style=for-the-badge\u0026logo=github)](https://github.com/lukepadiachy/copilot-instructions-experiment/fork)\n3. **Switch to any `part-*` branch** to see a focused experiment or instruction in action:\n   - Each branch adds or refines a Copilot instruction, prompt file, or code pattern.\n   - Review the Copilot instructions, prompt files, and code changes in that branch.\n   - Try using Copilot Chat with the provided prompts and instructions to see how Copilot's suggestions and behavior change.\n   - There is no required order—jump to any branch that interests you and see the effect of that customization.\n\n## Branch Guide \u0026 Purpose\n\n- **main**: The starting point. Contains only this overview and a breakdown of Copilot instruction concepts.\n- **part-one/add-copilot-instructions**: Adds a `.github/copilot-instructions.md` file to set workspace-wide Copilot behavior and preferences.\n- **part-two/add-copilot-prompts**: Introduces reusable prompt files (e.g., for code review, security checks) that can be invoked in Copilot Chat.\n- **part-three/add-pokemon-blazor-project**: Adds a .NET Blazor project as a practical playground for Copilot customization.\n- **part-four/add-task-specific-instruction**: Refines Copilot instructions to be more task-specific, guiding Copilot for particular coding tasks or workflows.\n- **part-five/add-pokemons-page**: Implements a new Pokémons page in the Blazor app, using Copilot prompts and instructions to build a visually appealing gallery with PokeApiNet.\n- **part-six/add-service-refactor-instruction**: Focuses on best practices for Blazor data services, refactoring prompts and instructions to encourage clean architecture and separation of concerns.\n- **part-seven/add-service-refactor**: Implements the refactored services and updates Blazor components to use them, demonstrating Copilot's ability to assist with larger-scale refactoring guided by custom instructions.\n\n## Customize Copilot....\n\n\n![Reasons for copilot](https://i.imgur.com/n7CIku4.png)\n\nCustomizing Copilot at the repo level lets you:\n- Set consistent coding style and workflow for your team or project.\n- Create repeatable, task-specific Copilot chat commands with prompt files.\n- Guide Copilot for real-world .NET/Blazor development, including UI, data fetching, and refactoring.\n- See how Copilot responds to increasingly specific and complex instructions as your project grows.\n\n## Learn More About Copilot Customization\n\nGitHub Copilot can be tailored to your workflow and project needs. For a detailed overview of customization options, see:\n\n- [Customize Copilot in VS Code – Official Docs](https://code.visualstudio.com/docs/copilot/copilot-customization)\n\nThis guide explains how to add repository-level instructions, create prompt files, and use chat modes to get the most out of Copilot in your development process.\n\nOther resources:\n- [GitHub Docs – Adding Repo Instructions](https://docs.github.com/en/copilot/how-tos/custom-instructions/adding-repository-custom-instructions-for-github-copilot)\n- [MCP Servers for agent mode](https://code.visualstudio.com/mcp)\n- [Sample Chat Mode File by Burke Holland](https://gist.github.com/burkeholland/a232b706994aa2f4b2ddd3d97b11f9a7)\n- [PokeApiNet - A .Net wrapper for the Pokemon API](https://gist.github.com/burkeholland/a232b706994aa2f4b2ddd3d97b11f9a7)\n\n\n**Each branch is a snapshot of Copilot customization at a different stage, with practical examples and lessons learned. Switch between branches to explore and experiment!**\n\n\n[![LinkedIn](https://img.shields.io/badge/Share-LinkedIn-blue?style=for-the-badge\u0026logo=linkedin)](https://www.linkedin.com/shareArticle?title=Copilot%20Instructions%20Experiment\u0026url=https://github.com/lukepadiachy/copilot-instructions-experiment)\n[![X](https://img.shields.io/badge/Share-X-1DA1F2?style=for-the-badge\u0026logo=twitter)](https://twitter.com/intent/tweet?text=Check%20out%20this%20Copilot%20Instructions%20Experiment!%20https://github.com/lukepadiachy/copilot-instructions-experiment)\n[![Facebook](https://img.shields.io/badge/Share-Facebook-1877F2?style=for-the-badge\u0026logo=facebook)](https://www.facebook.com/sharer/sharer.php?u=https://github.com/lukepadiachy/copilot-instructions-experiment)\n[![WhatsApp](https://img.shields.io/badge/Share-WhatsApp-25D366?style=for-the-badge\u0026logo=whatsapp)](https://api.whatsapp.com/send?text=Check%20out%20this%20Copilot%20Instructions%20Experiment!%20https://github.com/lukepadiachy/copilot-instructions-experiment)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukepadiachy%2Fcopilot-instructions-experiment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukepadiachy%2Fcopilot-instructions-experiment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukepadiachy%2Fcopilot-instructions-experiment/lists"}