Skip to content

GitHub Copilot Starter is a template repository for teams and organizations who want to standardize, document, and automate their coding practices with GitHub Copilot (Agent Skills included)

Notifications You must be signed in to change notification settings

devbyray/github-copilot-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Copilot Starter

GitHub Copilot Starter is a template repository for teams and organizations who want to standardize, document, and automate their coding practices with GitHub Copilot. It is ideal for:

  • Engineering teams seeking consistent code quality and onboarding
  • Open source projects wanting clear contribution guidelines
  • Agencies and consultancies delivering projects with repeatable standards
  • Individual developers who want to customize Copilot for their workflow

Use this starter to define, manage, and share custom instructions and prompts for Copilot, making your development process more efficient, maintainable, and accessible.

Table of Contents

Overview

GitHub Copilot Starter is a template repository for configuring, customizing, and managing instructions and prompts for GitHub Copilot and related developer tools. It is designed to help teams and individuals define their own coding standards, workflows, and best practices, making Copilot more effective and tailored to their needs.

Features

  • Agent Skills: Modular, dynamically-loaded skills following the Agent Skills specification for ~70% reduction in baseline token usage
  • Custom instructions: Universal principles (security, accessibility, best practices) that apply to all code
  • Flexible instruction system: Easily add, edit, or remove instruction files for coding standards, workflows, UI guidelines, accessibility, testing, and more
  • Customizable prompts: Define your own Copilot prompts and conventions for your team or project
  • Best practices templates: Includes example instructions for SOLID, DRY, KISS, commit messages, accessibility, and more
  • Specification-driven workflow: Optionally use the included workflow for requirements, design, implementation, and validation
  • No fixed tech stack: Adapt to any language, framework, or toolchain

Project Structure

  • .github/skills/ — Agent Skills (dynamically loaded when relevant)
  • .github/instructions/ — Custom instructions (always active, universal principles)
  • .github/prompts/ — Custom prompts for specific workflows
  • /src, /tests, /public, /config, /docs — Example folders for typical projects (customize or remove as needed)

Getting Started

  1. Clone the repository

    git clone https://github.com/devbyrayray/github-copilot-starter.git
    cd github-copilot-starter
  2. Review skills and instructions

    • Browse Agent Skills in .github/skills/ for language/framework-specific standards
    • Edit custom instructions in .github/instructions/ for universal principles
    • Customize prompts in .github/prompts/ for specific workflows
  3. Integrate with your project

    • Copy or merge the skills, instructions, and prompts into your own repository
    • Adjust folder structure as needed for your tech stack

Agent Skills (Dynamic Loading)

Agent Skills are modular, discoverable instructions that AI agents load dynamically based on the task at hand. Skills are located in .github/skills/ and follow the Agent Skills specification.

Language & Framework Standards:

Workflow Skills:

Benefits:

  • 🚀 ~70% reduction in baseline token usage
  • 📦 Progressive disclosure (metadata → instructions → resources)
  • 🔍 Better discovery through rich descriptions
  • 🛠️ Support for executable scripts (e.g., commit validation)

📖 Learn more about Agent Skills

Custom Instructions (Always Active)

Universal principles and guidelines that apply to all code are located in .github/instructions/:

Add, remove, or modify instructions to fit your project.

Custom Prompts

  • All custom prompts are located in .github/prompts/ and can be used to guide Copilot and developer workflows:
    • code-review.prompt.md: For code reviews, helps reviewers provide actionable, constructive feedback focused on readability, maintainability, and adherence to repository instructions and best practices.
    • review-custom-instructions.prompt.md: For reviewing the copilot-instructions.md file, ensuring instructions are clear, concise, and effective for generating context-aware Copilot responses.
    • spec-driven-workflow.prompt.md: For managing and documenting requirements, design, and implementation tasks in a specification-driven manner using structured templates.

Specification-Driven Workflow Prompt (Optional)

Contributing

  • Update instruction files to share new standards or best practices
  • Use Conventional Commits for commit messages
  • Encourage team members to propose improvements to instructions

License

MIT

Acknowledgements

  • GitHub Copilot
  • All contributors to Copilot instructions and best practices

About

GitHub Copilot Starter is a template repository for teams and organizations who want to standardize, document, and automate their coding practices with GitHub Copilot (Agent Skills included)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published