Snippset

Snippset Feed

...see more

Many AI coding assistants only know what is included in your prompt or current file. Model Context Protocol (MCP) extends GitHub Copilot by giving it secure access to external tools and project-specific information, making its responses far more relevant and accurate.

What is MCP?

MCP is an open standard that connects AI assistants with repositories, documentation, APIs, databases, issue trackers, CI/CD systems, and other development tools. Instead of manually copying information into a prompt, Copilot can retrieve the context it needs automatically.

How does it work?

  • An MCP server exposes tools and data through a standard interface.
  • GitHub Copilot discovers these tools and can call them when needed.
  • The retrieved information is added to the AI's context before generating a response.
  • Developers remain in control and can review or approve actions before they are executed.

What can Copilot do with MCP?

With the appropriate MCP servers, Copilot can:

  • Read GitHub issues and pull requests
  • Search documentation and codebases
  • Query external APIs or internal knowledge bases
  • Access CI/CD logs and monitoring data
  • Integrate with tools such as Slack, Figma, or custom business systems

By combining MCP with Agent Mode or the Coding Agent, GitHub Copilot becomes a context-aware development partner that can understand your project, use external tools, and automate complex development workflows while keeping developers in control.

...see more

Many development activities involve repeating the same sequence of actions. Prompt files allow you to package those steps into reusable workflows that can be launched directly from Copilot Chat.

Instead of writing a long prompt every time, you simply execute the reusable prompt and let Copilot perform the workflow.

What prompt files can do

A reusable prompt can:

  • Ask for missing information
  • Create folders
  • Generate multiple files
  • Apply templates
  • Update configuration files
  • Reference instruction files

How to create a reusable prompt

  1. Create a .github/prompts folder.
  2. Create a file ending with .prompt.md.
  3. Describe the workflow as numbered steps.
  4. Reference templates or instruction files when appropriate.
  5. Save the file.

Example

# .github/prompts/new-assignment.prompt.md

Create a new assignment.

1. Ask for the assignment topic if none is provided.
2. Create a new folder in `/assignments`.
3. Generate `assignment.md`.
4. Add starter code if required.
5. Update `config.json`.
6. Verify that all generated files are linked correctly.

You can then invoke it from Copilot Chat using:

/new-assignment

If the required information is missing, Copilot asks follow-up questions before completing the remaining steps.

Best practices

  • Design prompts around complete workflows.
  • Break complex tasks into numbered steps.
  • Reference instruction files instead of repeating guidance.
  • Keep prompts reusable rather than project-specific.
  • Test prompts regularly as your project evolves.

 

...see more

Different folders often require different types of guidance. Documentation, tests, templates, and source code rarely follow identical rules. Custom instruction files allow you to define folder-specific behavior so Copilot adapts automatically depending on where you are working.

When to use custom instructions

Examples include:

  • Documentation folders
  • Assignment content
  • Test projects
  • Infrastructure scripts
  • Sample applications

How to create custom instructions

  1. Create an instruction file in the appropriate location.
  2. Describe the expected structure and formatting.
  3. Specify any required sections.
  4. Define optional content such as starter code or examples.

Example

# assignments.instructions.md

When creating a new assignment:

- Start with a title.
- Add learning objectives.
- Include prerequisites.
- Add step-by-step instructions.
- Finish with review questions.
- Provide starter code when applicable.

Whenever Copilot generates content for assignments, it can follow these requirements automatically.

Best practices

  • Keep each instruction focused on one purpose.
  • Store instructions close to the content they describe.
  • Update them whenever the folder structure changes.
  • Avoid duplicating global project rules.
...see more

GitHub Copilot has evolved from an AI code completion tool into a comprehensive development assistant. Today it supports the entire software development lifecycle, helping developers write code, review changes, automate tasks, and rapidly prototype new ideas.

Writing Code

  • Code Completion (2021) – Provides inline AI code suggestions while you type. Best for: Faster coding and reducing repetitive work.
  • Copilot Chat (2023) – Answers coding questions, explains code, generates tests, and assists with debugging. Best for: Learning and problem solving.
  • Copilot Edits (2024) – Applies coordinated changes across multiple files from a single prompt. Best for: Refactoring and implementing features.

Code Quality

  • Code Review (2024) – Detects bugs, performance issues, and improvement opportunities. Best for: Improving code before human review.
  • Pull Request Summaries (2024) – Automatically creates clear summaries of code changes. Best for: Better collaboration and documentation.

AI Agents

  • Agent Mode (2025) – Plans, edits, tests, and iterates directly within your IDE. Best for: Interactive, multi-step development tasks.
  • Coding Agent (2025) – Works asynchronously on GitHub by completing issues and opening pull requests. Best for: Automating routine development work.

Advanced AI

  • Multi-Model Support (2024) – Lets you switch between different AI models to suit each task.
  • Model Context Protocol (MCP) (2024) – Connects Copilot to repositories, documentation, APIs, and external tools, enabling richer context and more accurate AI assistance.
  • GitHub Spark (2025) – Generates interactive application prototypes from natural-language prompts. Best for: Quickly validating ideas and creating proof-of-concepts.

Together, these capabilities transform GitHub Copilot from a coding assistant into an AI-powered development platform that helps developers build software faster, with greater confidence and less repetitive work.

...see more

AI-generated code is most valuable when it follows your project's conventions. Instead of repeating coding rules in every prompt, you can store them in an instruction file. GitHub Copilot automatically uses these instructions when generating code, helping produce more consistent results across the repository.

What instruction files are

Instruction files define general project guidance, such as:

  • Coding style
  • Naming conventions
  • Architecture preferences
  • Testing requirements
  • Documentation standards

Unlike prompts, instruction files do not perform actions. They simply provide persistent context for Copilot.

How to create an instruction file

  1. Create a .github/instructions folder if it does not already exist.
  2. Create a Markdown instruction file.
  3. Add the development rules you want Copilot to follow.
  4. Commit the file with your repository so the whole team benefits.

Example

# .github/instructions/coding.instructions.md

## Coding Standards

- Use C# 13 features where appropriate.
- Prefer dependency injection.
- Write XML documentation for public APIs.
- Use async/await for I/O operations.
- Add unit tests for new functionality.

Once saved, Copilot can use these guidelines whenever it generates code for your project.

Best practices

  • Keep instructions concise.
  • Separate unrelated topics into multiple files.
  • Review them as your project evolves.
  • Avoid conflicting rules.
AI by Josh
...see more

There is no universal platform that fits every AI project. The best solution depends on your technical capabilities, business goals, existing systems, budget, and long-term strategy. In many cases, organizations combine multiple approaches—for example, using cloud services together with open-source frameworks or integrating AI into existing enterprise platforms.

Before selecting a technology, it is worth evaluating not only today's requirements but also how the solution will evolve over time.

Questions to ask

  • What business problem should the AI agent solve?
  • How much customization is required?
  • What technical expertise does the team have?
  • Which systems need to be integrated?
  • What security and compliance requirements exist?
  • How important are speed and long-term maintenance?

Quick comparison

If your priority is... Consider...
Maximum flexibility Custom development
Fast deployment Low-code platforms
Existing business systems Enterprise platforms
Scalability and managed services Cloud platforms
Advanced customization Open-source frameworks

A practical recommendation

Many successful AI solutions combine multiple technologies. For example:

  • Use Azure OpenAI, AWS Bedrock, or Vertex AI to access AI models.
  • Build business logic with LangGraph, Semantic Kernel, or AutoGen.
  • Connect workflows using Power Automate, n8n, or Zapier.
  • Integrate with existing enterprise platforms such as Salesforce, SAP, or ServiceNow when business data and workflows already exist.

This layered approach lets you benefit from the strengths of each technology instead of relying on a single platform.

Summary

Choose the platform that best fits your business goals, available skills, and existing technology landscape. The most successful AI projects focus on solving business problems—not on using a particular tool.

...see more

GitHub Copilot has evolved from an AI code completion tool into a powerful development assistant. With the introduction of AI development agents, Copilot can now help automate entire development workflows rather than simply suggesting individual lines of code.

Instead of acting as an autocomplete tool, AI agents understand high-level objectives, plan the required steps, modify multiple files, execute tests, review results, and assist with completing development tasks. Developers remain in control, reviewing and approving changes while Copilot handles much of the repetitive implementation work.

What GitHub Copilot Can Do

Modern GitHub Copilot agents can assist with tasks such as:

  • Implementing new features
  • Fixing bugs and refactoring code
  • Writing and improving tests
  • Generating or updating documentation
  • Reviewing code and suggesting improvements
  • Creating commits and pull requests
  • Building application prototypes from natural language

Depending on the workflow, these tasks can be performed directly inside the IDE or autonomously in GitHub repositories.

Better Results Through Context

GitHub Copilot becomes significantly more effective when it understands your project. By using repository context, documentation, coding standards, issues, pull requests, and external tools, it can generate more accurate and relevant solutions that fit your existing codebase.

Best Practices

To get the best results, provide clear objectives, supply sufficient context, and always review generated changes before accepting them. Think of GitHub Copilot as a collaborative teammate that accelerates development while leaving architecture, security, and business decisions to the developer.

AI development agents represent the next step in GitHub Copilot's evolution, enabling developers to spend less time on repetitive coding and more time designing, solving problems, and delivering high-quality software.

AI by Josh
...see more

Open-source frameworks give developers the freedom to build AI agents without being tied to a commercial platform. They provide reusable components for common AI patterns such as agent orchestration, memory, tool calling, and workflow management, while still allowing full control over the implementation.

These frameworks evolve quickly and are often among the first to support new AI capabilities. They are a popular choice for development teams that want maximum flexibility and are comfortable managing their own infrastructure and deployments.

Popular frameworks

  • LangGraph
  • LangChain
  • AutoGen
  • CrewAI
  • Semantic Kernel
  • LlamaIndex

Key advantages

  • Highly customizable
  • No vendor lock-in
  • Large developer communities
  • Supports advanced agent architectures
  • Easy to combine with custom code

Things to consider

  • Requires software development expertise
  • Community support instead of guaranteed enterprise support
  • Frequent updates may introduce breaking changes
  • Security and maintenance remain your responsibility

Ideal use cases

  • Multi-agent systems
  • Research and experimentation
  • Custom AI applications
  • Enterprise solutions requiring maximum flexibility
  • Teams building reusable AI platforms

Summary

Open-source frameworks provide an excellent balance between flexibility and productivity. They accelerate AI development while allowing developers to keep full control over architecture and implementation.

AI by Josh
...see more

Cloud providers offer complete ecosystems for building, deploying, and managing AI agents. Instead of assembling individual components yourself, these platforms combine AI models with infrastructure, security, storage, monitoring, and development tools. This allows development teams to focus on building intelligent solutions rather than managing servers and infrastructure.

Cloud platforms are particularly attractive for organizations that already run their applications in the cloud, as they integrate naturally with existing services and can scale from small prototypes to enterprise-wide deployments.

Leading cloud platforms

  • Microsoft Azure OpenAI, Azure AI Foundry, Azure AI Search, Azure Functions, Azure Logic Apps
  • AWS Bedrock, Amazon SageMaker
  • Google Vertex AI, Google AI Studio

Key advantages

  • Enterprise-grade security
  • Automatic scalability
  • Managed AI services
  • Built-in monitoring and reliability
  • Easy integration with cloud resources

Things to consider

  • Ongoing cloud costs
  • Learning platform-specific services
  • Possible dependency on a single cloud provider

Ideal use cases

  • Enterprise AI applications
  • Customer-facing AI services
  • Large-scale automation
  • AI solutions that require high availability
  • Organizations already using cloud infrastructure

Summary

Cloud platforms provide a powerful foundation for AI agents by combining managed AI services with secure and scalable infrastructure. They reduce operational effort while making it easier to build production-ready AI solutions.

AI by Josh
...see more

Not every AI solution requires a team of developers. Low-code and no-code platforms allow users to build AI-powered workflows through visual interfaces instead of writing large amounts of code. By connecting triggers, actions, and AI models, organizations can automate everyday tasks in a fraction of the time needed for traditional development.

These platforms are especially useful for creating internal automations, prototypes, or business processes that integrate multiple applications. While they may not offer the same flexibility as custom development, they provide an excellent balance between speed and functionality.

Popular platforms

  • Zapier Agents
  • n8n
  • Microsoft Power Automate
  • Microsoft Power Platform
  • Make (formerly Integromat)

Key advantages

  • Little or no programming required
  • Fast development and deployment
  • Hundreds of built-in integrations
  • Easy workflow automation
  • Suitable for rapid prototyping

Things to consider

  • Limited customization for complex scenarios
  • Advanced workflows can become difficult to maintain
  • Platform capabilities differ

Ideal use cases

  • Business process automation
  • Connecting multiple applications
  • AI assistants for internal teams
  • Personal productivity workflows
  • Proof-of-concept projects

Summary

Low-code platforms make AI accessible to a much wider audience. They are an excellent choice when speed, simplicity, and integration are more important than complete technical control.

Add to Set
  • .NET
  • Agile
  • AI
  • ASP.NET Core
  • Azure
  • C#
  • Cloud Computing
  • CSS
  • EF Core
  • HTML
  • JavaScript
  • Microsoft Entra
  • PowerShell
  • Quotes
  • React
  • Security
  • Software Development
  • SQL
  • Technology
  • Testing
  • Visual Studio
  • Windows
Actions