loadout: Instructions file for GitHub Copilot

.github/copilot-instructions.md

loadout copilot-instructions.md is an instructions file for GitHub Copilot from stefaniuk/loadout. It costs 647 tokens per session, scanned A, original, MIT.

A set of GitHub Copilot instructions for a software repository, including rules for implementation, test-driven development, and using other skills. Test-driven development means writing a failing test before the code that makes it pass.

In plain words
What is it for?
Use it to guide behavioral changes, apply the Red-Green-Refactor testing cycle, handle unexpected failures, and verify work before completion.
Why use it?
It keeps changes within scope, makes side effects clear, and defines when testing, debugging, and final verification guidance must be followed.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is stefaniuk/loadout's own configuration. It tells GitHub Copilot how to work on loadout itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything loadout configures →

Reuse

Borrowing it

Nothing to install: this file belongs to stefaniuk/loadout. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/stefaniuk/loadout/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/stefaniuk/loadout

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for loadout copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/stefaniuk/loadout/copilot-instructions/github.svg)](https://agentmods.dev/instructions/stefaniuk/loadout/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/stefaniuk/loadout/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/stefaniuk/loadout/copilot-instructions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for loadout copilot-instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/stefaniuk/loadout/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/stefaniuk/loadout/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 647 This file is loaded in full into every session.
When invoked 647 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00647 $0.00647
Opus 5.5 $0.00259 $0.00259
Sonnet 5.5 $0.00129 $0.00129
Haiku 4.5 $0.00065 $0.00065

Measured yesterday against content hash c86f6c9484b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

loadout copilot-instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/copilot-instructions.md · 72 lines

How it starts

The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub Copilot Instructions 🤖

This file is the authoritative instruction source for routine GitHub Copilot work in this repository. Use it as the operational default. Consult the constitution directly when a task affects specifications, behaviour, architecture, ADRs, or governance, or when guidance conflicts.

Implementation discipline 🛠️

  • Do not invent requirements or widen scope.
  • Keep outputs deterministic, make side effects explicit, and surface errors.
  • Follow execution or call-flow order where it improves clarity. Group widely shared utilities.

Specification and testing 🧪

  • When code and specification diverge, assess both. Fix incorrect code and revise wrong or impractical specifications with rationale and impact assessment. Align code and tests with the result. Never justify accidental behaviour by rewriting the specification.
  • For behavioural changes, follow Red -> Green -> Refactor.
  • Use property-based testing where it adds value.

Skill invocation gates

  • Use the test-driven-development skill only when the task requires a new failing test that should drive a code or behaviour change.
  • On unexpected test, build, or runtime failures, load the systematic-debugging skill.
  • Before completion, load the verification-before-completion skill.

Workflow mode

  • Never change the workflow mode yourself. Do not run make workflow-use or make workflow-clear, and do not edit the mode configuration. The session start context names the active mode.

Repository verification policy 🔍

Run failing tests and focused checks while working. After edits, the Stop hook runs make lint and make test. Since make lint checks tracked files only, stage newly created files so they are included. Do not stage existing files just to satisfy the hook. If one of your changes becomes staged while you work, assume it was staged intentionally as part of the review and leave it staged. Do not rerun the full gates manually unless diagnosing a failure or the hook is unavailable.

Read the full file on GitHub · 72 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +2 lines · +30 tokens per session c86f6c9484b3
  2. 23d ago Changed · +13 lines · -47 tokens per session c6eaad5bbe66
  3. 2mo ago Changed · +2 lines · +63 tokens per session ac351e0bbdbf
  4. 2mo ago Changed · +1 lines · +46 tokens per session 2114ccaa7093
  5. 3mo ago First seen · 54 lines · 555 tokens per session scan A fc82f9baa722

Subscribe to this mod's changes

loadout copilot-instructions.md is an instructions file published in the GitHub repository stefaniuk/loadout (1 stars, last pushed yesterday), licensed MIT. It adds 647 tokens to every session, about $0.0026 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

loadout copilot-instructions.md compared with instructions from other repositories

loadout copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
loadout copilot-instructions.mdstefaniuk/loadoutInstructions file1yesterdayMITA647GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,951Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot