DIM
Copilot instructions2.2k starsChanged 3 years agoMITView on GitHub
Always follow the Contributing Guide.
Trending
Quiet since September.about the whole repository
Who's talking about DestinyItemManager/DIM
- DestinyItemManager/dim-api“RFC: Potential Wishlist schema”GitHub · Dec 31, 2021 · 3 reactions
- TMMania/Vault-Analyzer“Update with new search parameters”GitHub · Nov 27, 2021 · 2 reactions
- Bungie-net/api“Provide Icon-to-Localised-text data”GitHub · Apr 21, 2020 · 2 reactions
- DestinyItemManager/d2-additional-info“source file was unnecessarily complex”GitHub · Sep 16, 2019 · 2 reactions
- ASTRIX285/ASTRIXPARADOX.github.io“SEO: public Destiny 2 build advisor and DIM landing pages”GitHub · Sep 28, 2026
The biggest 5 of 50 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 50
Talked about on GitHub (50 times).
On GitHub · 50
- Dec 31, 2021RFC: Potential Wishlist schema — DestinyItemManager/dim-api3 reactions · 22 comments
- Nov 27, 2021Update with new search parameters — TMMania/Vault-Analyzer2 reactions · 3 comments
- Apr 21, 2020Provide Icon-to-Localised-text data — Bungie-net/api2 reactions · 1 comment
- Sep 16, 2019source file was unnecessarily complex — DestinyItemManager/d2-additional-info2 reactions
- Sep 28, 2026SEO: public Destiny 2 build advisor and DIM landing pages — ASTRIX285/ASTRIXPARADOX.github.io0 reactions
45 more on GitHub
- Sep 24, 2026Keep Bungie sessions through concurrent refresh and temporary failures — ASTRIX285/ASTRIXPARADOX.github.io0 reactions · 1 comment
- Aug 13, 2026Make triage roll-aware and fail closed on unknowns — Noble0ne/d2-vault-triage0 reactions
- Jul 3, 2026chore: aggiorna template issue per supportare roll multipli e categorie — Smailen5/godroll-d20 reactions
- Nov 21, 2025Fix de-marking — dcaslin/d2-checklist0 reactions
- Apr 27, 2025Add missing enhanced weapon intrinsics to crafted-enhanced-intrinsics data — DestinyItemManager/d2-additional-info0 reactions
- Apr 12, 2025Fix: Stop classifying seasonal weaps as King's Fall — DestinyItemManager/d2-additional-info0 reactions
- Dec 8, 2024beta.destinyitemmanager.com - Incorrect wrapping causing overlapping on items — webcompat/web-bugs0 reactions · 5 comments
- Aug 8, 2024Add vaultArmorGroupingStyle setting — DestinyItemManager/dim-api0 reactions · 1 comment
- Aug 5, 2024Regression: Patched fetch fails with node-fetch — getsentry/sentry-javascript0 reactions · 3 comments
- Jun 28, 2024Forbid duplicate glyphs — DestinyItemManager/dim-custom-symbols0 reactions
- Jun 23, 2024DCS is dropping symbols — DestinyItemManager/dim-custom-symbols0 reactions · 1 comment
- Jun 22, 2024Trim extended-ich down to just masks — DestinyItemManager/d2-additional-info0 reactions
- Jun 21, 2024Handle font generation in dim-custom-symbols — DestinyItemManager/d2-additional-info0 reactions
- Jun 20, 2024Broken wish list lines for Belisarius-D — 48klocs/dim-wish-list-sources0 reactions
- Jun 7, 2024Add super subclass plugs. — DestinyItemManager/d2-additional-info0 reactions
- May 22, 2024Add corresponding milestone to raid modslots — DestinyItemManager/d2-additional-info0 reactions · 1 comment
- May 18, 2024Generate Source: Origin Trait Matching — DestinyItemManager/d2-additional-info0 reactions
- May 17, 2024Update `source:trials` — DestinyItemManager/d2-additional-info0 reactions
- Apr 26, 2024use eventEnum as Index — DestinyItemManager/d2-additional-info0 reactions
- Apr 26, 2024d2-current-season-power — DestinyItemManager/d2-additional-info0 reactions · 1 comment
- Apr 25, 2024Slim seasons data — DestinyItemManager/d2-additional-info0 reactions · 3 comments
- Feb 22, 2024Add the concept of a stackable mod — jbccollins/destiny-loadout-builder0 reactions
- Feb 13, 20245.0 dev server requires 'unsafe-eval' script-src in CSP — webpack/webpack-dev-server0 reactions · 5 comments
- Nov 30, 2023RFC: pnpm — DestinyItemManager/d2-additional-info0 reactions
- Oct 5, 2023Add a way to paste in a DIM link directly and extract the loadout — jbccollins/destiny-loadout-builder0 reactions
- Jul 14, 2023Add a system to create a list of mods that we can add to subsets for special treatment — DestinyItemManager/d2-additional-info0 reactions
- May 11, 2023Slim down seasons data — DestinyItemManager/d2-additional-info0 reactions · 3 comments
- Mar 26, 2023Mod info — DestinyItemManager/d2-additional-info0 reactions
- Mar 5, 2023Two-Tailed Fox Catalyst is called "Third Tail" — DestinyItemManager/d2-additional-info0 reactions · 2 comments
- Feb 25, 2023Adding DIMCustomSymbols — DestinyItemManager/d2-additional-info0 reactions · 11 comments
- Jan 10, 2023Update foundry info — DestinyItemManager/d2-additional-info0 reactions
- Dec 17, 2022Manticore Catalyst Record is missing — Bungie-net/api0 reactions · 1 comment
- Oct 5, 2022Turn timestamps into numbers — DestinyItemManager/dim-api0 reactions
- Aug 15, 2022Implement rate limiter for bungie api — CostasAK/d2-buddy0 reactions
- Jul 6, 2022Catalyst Source Info — Bungie-net/api0 reactions · 1 comment
- Jun 20, 2022Relic Tether not reporting correct count — Bungie-net/api0 reactions · 1 comment
- May 19, 2022Create a JS wrapper around the wasm — robojumper/dim-lo-process0 reactions
- May 14, 2022Base -> Enhanced trait mapping: Ignore duplicated base traits — DestinyItemManager/d2-additional-info0 reactions
- Mar 17, 2022vanguard bounty update — DestinyItemManager/d2-additional-info0 reactions
- Mar 13, 2022exotic weapon to catalyst record for progress — DestinyItemManager/d2-additional-info0 reactions · 1 comment
- Mar 6, 2022Ace of Spades - Firefly perk has wrong icon — Bungie-net/api0 reactions · 3 comments
- Mar 3, 2022Generate hashes of Resonant Elements — DestinyItemManager/d2-additional-info0 reactions
- Jan 10, 2022Set limits on search query and loadout notes lengths — DestinyItemManager/dim-api0 reactions · 3 comments
- Dec 31, 2021RFC: Updated types for an activity tag experiment — DestinyItemManager/dim-api0 reactions · 1 comment
- Nov 21, 2021moar stasis — DestinyItemManager/d2-additional-info0 reactions
Where files are headingNew Copilot instructions files have more rules about branches and pull requests, and fewer about code style.
Of the Copilot instructions files we read, the 2,336 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this copilot-instructions.md into the rules it gives an agent
10 rules. About 0 are common, 5 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 3
Always follow the Contributing Guide.
- Distinctive: line 9
Prefer using "function" to declare functions over const arrow functions.
- Very specific: line 13
All CSS should be put in CSS modules.
- Distinctive: line 14
Do not use inline styles.
- Distinctive: line 15
Do not use string classNames, only use CSS modules.
- Distinctive: line 16
Use the clsx helper to combine classNames or conditionally include classes.
- Very specific: line 21
Run pnpm test -- -u to update snapshots.
- Very specific: line 22
Run pnpm build:beta to make sure the code builds.
- Very specific: line 23
Run pnpm test to run all tests.
- Very specific: line 27
Only ever add strings to config/i18n.json.
≈ “Common” is an estimate: at least 1 in 5 of the 3,779 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
General DIM Code Style
Always follow the Contributing Guide.
JS
- Pure JavaScript files should be named in lowercase kebab-case, with a .ts extension. These should not use a default export.
- Files with JSX should be named in PascalCase with a .tsx extension. In general we should have a separate file for each component. The component should be that module's default export, and the file should have the same name as the component.
- Prefer using "function" to declare functions over const arrow functions.
CSS
- All CSS should be put in CSS modules. The CSS module file should have the same name as the file it is used from but with the extension .m.scss. The classes from the module should be imported as
stylesand referenced in JSX. - Do not use inline styles.
- Do not use string classNames, only use CSS modules.
- Use the clsx helper to combine classNames or conditionally include classes.
Tests
- For unit tests, prefer defining a table of inputs and expected outputs, and then looping through that to create tests. This is also called "table-style testing".
- Run
pnpm test -- -uto update snapshots. This is especially necessary when adding new search terms. - Run
pnpm build:betato make sure the code builds. - Run
pnpm testto run all tests.
Localization
- Only ever add strings to
config/i18n.json. Then runpnpm i18nand commit the updatedsrc/locale/en.jsonfile.
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.

