GitHub Copilot Instructions Builder

Generate a personalized copilot-instructions.md

How to use these files

This tool generates two things: a Copilot Instructions file and Copilot Hooks.

Instructions File

  1. In your repository, create a folder called .github (if it doesn't already exist)
  2. Inside .github, create a file called copilot-instructions.md
  3. Paste the generated instructions into that file
  4. Copilot reads this file automatically on every interaction

Hooks Files

  1. Inside .github, create a subfolder called hooks
  2. Inside hooks, create a file called hooks.json
  3. Paste the generated JSON into that file
  4. In the root of your repository (same level as .github), create a folder called scripts
  5. Create one .ps1 file for each script and paste the matching code

Folder structure should look like this:

your-repo/ .github/ copilot-instructions.md hooks/ hooks.json scripts/ block-file-deletion.ps1 block-pii-commit.ps1 block-destructive-sql.ps1

01 About You

02 Company Context (included automatically)

Fifth Third Bank is a top 10 US bank by assets, operating in a highly regulated financial services environment. Our team sits within Risk Rating Model Development, part of the Credit Risk & Capital Management Modeling division. Our work is subject to regulatory oversight by the OCC and Federal Reserve. All AI tool usage must comply with regulatory expectations for model risk management, data security, and auditability.

03 Technical Environment

Copilot Hooks (Enforcement Layer)

These hooks enforce guardrails that instructions alone cannot. Place the JSON file in .github/hooks/ and the scripts in a scripts/ folder in your repository.

Copied!