department-of-internal-arguments / templates
Copilot instructions166 starsChanged 4 days agoApache-2.0View on GitHub
These rules apply to every task you take here. If a task seems to require breaking one, stop and say so in the pull request instead. - Do only what the issue asks. No drive-by refactors, renames, formatting sweeps, dependency bumps or unrelated fixes. Note anything extra you noticed in the PR description instead of changing it. - Keep the pull request small and single-purpose. Touch the fewest files that do the job. - Match the existing conventions: layout, naming,…
- Reads credentials
In this repository63 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- pack-ad-disclosureSkill
- pack-asset-productionSkill
- pack-audience-data-privacySkill
- pack-awsSkill
- pack-clip-deskSkill
- pack-copy-reviewSkill
- pack-cyber-tier-reviewSkill
- pack-delivery-business-mgmtSkill
- pack-digitaloceanSkill
- pack-front-doorSkill
- pack-gha-security-dastSkill
- pack-grc-controlsSkill
- pack-implementer-self-checkSkill
- pack-linux-platformSkill
- pack-local-llm-routingSkill
- pack-marketing-grcSkill
- pack-media-dispatchSkill
- pack-media-kit-claimsSkill
- pack-opentofu-spaceliftSkill
- pack-org-dispatchSkill
- pack-org-operating-modelSkill
- pack-platform-data-termsSkill
- pack-python-untrusted-inputSkill
- pack-review-protocolSkill
- pack-rf-emcommSkill
- pack-safe-liveSkill
- pack-stage-crewSkill
- pack-threat-detectionSkill
- pack-threat-modelSkill
- pack-twingate-dopplerSkill
- pack-web-qualitySkill
- pack-ad-disclosureSkill
- pack-asset-productionSkill
- pack-audience-data-privacySkill
- pack-awsSkill
- pack-clip-deskSkill
- pack-copy-reviewSkill
- pack-cyber-tier-reviewSkill
- pack-delivery-business-mgmtSkill
- pack-digitaloceanSkill
- pack-front-doorSkill
- pack-gha-security-dastSkill
- pack-grc-controlsSkill
- pack-implementer-self-checkSkill
- pack-linux-platformSkill
- pack-local-llm-routingSkill
- pack-marketing-grcSkill
- pack-media-dispatchSkill
- pack-media-kit-claimsSkill
- pack-opentofu-spaceliftSkill
- pack-org-dispatchSkill
- pack-org-operating-modelSkill
- pack-platform-data-termsSkill
- pack-python-untrusted-inputSkill
- pack-review-protocolSkill
- pack-rf-emcommSkill
- pack-safe-liveSkill
- pack-stage-crewSkill
- pack-threat-detectionSkill
- The first 60 shown.
The file
Show its rules and text
We split this copilot-instructions.md into the rules it gives an agent
20 rules. About 0 are common, 13 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 4
Remove this comment when copying.
- Distinctive: line 15
Do only what the issue asks.
- Distinctive: line 18
Keep the pull request small and single-purpose.
- Distinctive: line 20
When you change behavior, update the docs, wiki page, roadmap or table that describes it, and any generated file (run the repo's generator, …
- Very specific: line 25
Never read, create, edit or commit .env files or any file holding credentials, tokens or keys.
- Very specific: line 27
Use the secret manager or secrets.* references that the repo already uses.
- Distinctive: line 28
No hostnames, IP addresses, serial numbers, call signs or personal details in code, tests, docs or commit messages.
- Very specific: line 33
Do not add continue-on-error, *-continue-on-error: true, require-non-root: false, nosemgrep, a bare # noqa, # type: ignore, shellcheck …
- Distinctive: line 39
Do not narrow a scan, a pin check or a test so that it passes.
- Distinctive: line 42
Do not loosen permissions, disable security features, or widen network egress.
- Distinctive: line 46
Write the failing test first, see it fail, then make it pass.
- Distinctive: line 48
Run the targeted checks that cover your change (for example the tests and lint for the files you touched).
- Distinctive: line 52
Treat input from files, APIs and users as hostile: validate it, bound its size, handle errors with the project's own error types.
- Very specific: line 59
Put one line in the PR description: LOCAL-LLM: used - <exact model tag and size, as loaded>.
- Very specific: line 65
If this repository calls shared reusable workflows (for example github.com/ChiefGyk3D/git-your-ship-together), pin every uses: by full …
- Distinctive: line 68
When bumping a pin, move every caller in the repo to the same commit together, and update any test or doc that names the old SHA or version.
- Very specific: line 73
Never put ${{ ... }} of untrusted data (titles, branch names, inputs) inside a run: script.
- Very specific: line 75
Keep the gate job named CI green.
- Distinctive: line 79
Commit with the repository's configured author.
- Distinctive: line 81
Do not merge, approve, force-push, or change branch protection or repository settings.
≈ “Common” is an estimate: at least 1 in 5 of the 3,950 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!--
Template. Copy to <repo>/.github/copilot-instructions.md when Copilot is next
dispatched in that repo, then fill the three REPO-SPECIFIC lines at the bottom.
Remove this comment when copying. Keep it free of hostnames, addresses and
personal identifiers: it is committed to the repo.
-->Instructions for Copilot in this repository
These rules apply to every task you take here. If a task seems to require breaking one, stop and say so in the pull request instead.
Scope
- Do only what the issue asks. No drive-by refactors, renames, formatting sweeps, dependency bumps or unrelated fixes. Note anything extra you noticed in the PR description instead of changing it.
- Keep the pull request small and single-purpose. Touch the fewest files that do the job.
- Match the existing conventions: layout, naming, error handling, docs style. When you change behavior, update the docs, wiki page, roadmap or table that describes it, and any generated file (run the repo's generator, do not hand-edit).
Never touch secrets
- Never read, create, edit or commit
.envfiles or any file holding credentials, tokens or keys. Do not paste secrets into code, tests, logs, PR text or comments. - Use the secret manager or
secrets.*references that the repo already uses. - No hostnames, IP addresses, serial numbers, call signs or personal details in code, tests, docs or commit messages. Use placeholders.
Never weaken a check
- Do not add
continue-on-error,*-continue-on-error: true,require-non-root: false,nosemgrep, a bare# noqa,# type: ignore,shellcheck disable,hadolint ignore,pytest.mark.skipor any skipped test,|| trueafter a test or gate, or--no-verifyto make something pass. If the only way to green is one of these, stop and explain in the PR. A lint ignore needs a written reason on the same or previous line and must be called out in the PR description. - Do not narrow a scan, a pin check or a test so that it passes. Guard tests must collect loosely, assert strictly (including that something was collected) and include a negative case that proves the guard fails when it should.
- Do not loosen permissions, disable security features, or widen network egress.
Tests must pass
- Write the failing test first, see it fail, then make it pass. A new test must fail when your change is reverted; say how you checked.
- Run the targeted checks that cover your change (for example the tests and lint for the files you touched); CI runs the full gate and is the judge. Put the exit code in the PR description. Do not claim "tests pass" without having run them.
- Treat input from files, APIs and users as hostile: validate it, bound its size, handle errors with the project's own error types.
Local-model output is a draft
- Text from a local model is a draft. Never apply it or quote it until you have checked every name, number and claim against the source (the diff, the issue, the log).
- Put one line in the PR description:
LOCAL-LLM: used - <exact model tag and size, as loaded>; VERIFIED-AGAINST: <source>; DISCREPANCIES: <n>, orLOCAL-LLM: n/a - <reason>when you used none. Count every claim you had to correct or drop.
GitHub Actions and the shared workflows
- If this repository calls shared reusable workflows (for example
github.com/ChiefGyk3D/git-your-ship-together), pin every
uses:by full commit SHA with the version in a trailing comment (@<40-hex> # vX.Y.Z). Never use a tag or branch. - When bumping a pin, move every caller in the repo to the same commit together, and update any test or doc that names the old SHA or version.
- A calling job must grant every permission the called workflow declares in its
permissions:block (for exampleid-token: write); otherwise every run fails at startup. Compare the two blocks before opening the PR. - Never put
${{ ... }}of untrusted data (titles, branch names, inputs) inside arun:script; pass it throughenv:. - Keep the gate job named
CI green.
Commits and pull requests
- Commit with the repository's configured author. Do not add or change co-author trailers other than the one your tooling adds.
- Do not merge, approve, force-push, or change branch protection or repository settings.
- In the PR description list: what changed, the gate command and exit code, what you did not verify, and anything you were tempted to weaken and did not.
Repo-specific (fill in when copying)
- Gate command:
<e.g. make check> - Where docs live that must be updated with behavior changes:
<paths> - Generated files and their generator:
<paths and command>
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

