creating-copilot-packages

Create GitHub Copilot instruction packages with repository-wide Markdown and path-specific YAML frontmatter.

121|16|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/pr-pm/prpm --skill creating-copilot-packages
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: creating-copilot-packages
Source: https://github.com/pr-pm/prpm/tree/main/.claude/skills/creating-copilot-packages
Command: npx skills add https://github.com/pr-pm/prpm --skill creating-copilot-packages

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates confusion around GitHub Copilot instruction formats and ensures your AI coding assistant receives contextually relevant guidance for different parts of your codebase.

Core Features & Use Cases

  • Dual Format Mastery: Create both repository-wide and path-specific Copilot instructions with correct syntax.
  • Precision Targeting: Use glob patterns to apply instructions only to specific file types or directories.
  • Agent Control: Exclude specific Copilot agents (coding vs code review) from using certain instructions.
  • Use Case: Imagine your team needs consistent API development patterns. Use this Skill to create path-specific instructions that automatically guide Copilot when working on src/api/**/*.ts files with proper error handling and validation examples.

Quick Start

Use the creating-copilot-packages skill to generate a repository-wide instruction file for React TypeScript development guidelines.

Frequently Asked Questions about creating-copilot-packages

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create GitHub Copilot instruction files for my repository?

Create Copilot instruction files in two formats: repository-wide files as plain Markdown with no frontmatter, and path-specific files with YAML frontmatter containing `applyTo` glob patterns. Repository-wide instructions apply globally; path-specific instructions target specific file types or directories using patterns like `src/api/**/*.ts`.

What's the difference between repository-wide and path-specific Copilot instructions?

Repository-wide instructions are plain Markdown files with no frontmatter and apply across your entire codebase. Path-specific instructions include YAML frontmatter with `applyTo` glob patterns to target specific directories or file types, ensuring Copilot receives contextually relevant guidance for different parts of your project.

Can I exclude specific Copilot agents from using certain instructions?

Yes, path-specific Copilot instruction files support optional `excludeAgent` controls in their YAML frontmatter. This lets you prevent specific agents, such as coding or code review agents, from applying certain instructions to targeted file patterns.

How do I include code examples in GitHub Copilot instructions?

Both repository-wide and path-specific Copilot instruction files support embedded code samples and example blocks. Include these examples in your Markdown or frontmatter-based instruction files to demonstrate expected patterns and guide Copilot's behavior for specific use cases.

When should I use glob patterns in Copilot instructions?

Use glob patterns in the `applyTo` field of path-specific Copilot instructions when you need to apply guidance to particular file types or directories. For example, use `src/api/**/*.ts` to apply API development patterns only to TypeScript files in your API source tree.

Do I need frontmatter for repository-wide Copilot instruction files?

No, repository-wide Copilot instruction files must be plain Markdown with no frontmatter. Only path-specific instruction files use YAML frontmatter with `applyTo` and optional `excludeAgent` fields to target specific file patterns and agents.