GitHub Copilot Instructions Builder

Generate a personalized copilot-instructions.md

How to use these files

This tool generates five things: a Copilot Instructions file, Copilot Hooks, a Skill, a Prompt File, and a Custom Agent.

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

Skill (Section 06)

  1. In your repository root, create .agents/skills/portfolio-onboarding/
  2. Create a file called SKILL.md
  3. Paste the generated content into that file
  4. The skill fires automatically when Copilot detects a matching keyword — no invocation needed

Prompt File (Section 04)

  1. Inside .github, create a subfolder called prompts
  2. Create a file called onboard-analyst.prompt.md
  3. Paste the generated content into that file
  4. In VS Code Chat, type /onboard-analyst to run it

Custom Agent (Section 05)

  1. Inside .github, create a subfolder called copilot-agents
  2. Create a file called portfolio-onboarding.agent.md
  3. Paste the generated content into that file
  4. In VS Code Chat, type @portfolio-onboarding to invoke it

Folder structure should look like this:

your-repo/ .github/ copilot-instructions.md hooks/ hooks.json prompts/ onboard-analyst.prompt.md copilot-agents/ portfolio-onboarding.agent.md .agents/ skills/ portfolio-onboarding/ SKILL.md 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.

04 Prompt File Generator

Generates .github/prompts/onboard-analyst.prompt.md — invoke with /onboard-analyst in VS Code Chat.

05 Custom Agent Generator

Generates .github/copilot-agents/portfolio-onboarding.agent.md — invoke with @portfolio-onboarding in VS Code Chat.

06 Skill Generator

Generates .agents/skills/portfolio-onboarding/SKILL.md — fires automatically on keyword match. No invocation needed.

Copied!