Claude_code_for-Bo / desktop
AGENTS.md2 starsChanged 3 months agoMITView on GitHub
These rules apply to desktop/ changes in addition to the root instructions.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- NanmiCoder/cc-hahaword for word, first seen Oct 11, 2026
- NanmiCoder/claude-code-hahaword for word, first seen Oct 8, 2026
Other versions2 projects use a version of this.
Word for word · 2
- NanmiCoder/claude-code-haha★ 16k100% same
- NanmiCoder/cc-haha★ 16k100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 33,398 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.
In this repository7 other files it gives its agents.
- adapters/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- site/AGENTS.mdAGENTS.md
- src/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Every translation key a component uses must be added to all five files in src/i18n/locales/, including keys chosen inside an expression …
- Very specific: line 10
Add focused Vitest or Testing Library coverage for UI, store, or API behavior.
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 AGENTS.md 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
Desktop Instructions
These rules apply to desktop/ changes in addition to the root instructions.
- Before adding or editing anything under
desktop/src/components/, readdesktop/src/components/AGENTS.md. It is the authoritative index of reusable components, the placement rules for new ones, and the required style/i18n/a11y/test conventions. Do not add a component that duplicates one listed there, and do not add new files tocomponents/shared/orcomponents/common/. - Reuse the existing desktop store/API patterns. Use
lucide-reactfor common icons and keep operational UI dense, stable, and readable. - A new feature panel is its own module from the start.
Settings.tsxreached 4639 lines holding seven unrelated panels before it was split intopages/settings/*; the four most-repeatedly-fixed files in the repository are also its four largest. Put a panel in its own file, and put anything two panels share in an explicit shared module rather than leaving it in the page that happens to host both. - Wire the component into its route in the same change that creates it.
src/__tests__/componentReachability.test.tsfails on any.tsxno entry point can reach. Three components once lost their last import, and the coverage gate read "zero coverage" as "needs a test" — someone wrote suites for two of them, and a UI redesign then restyled all three. - Every translation key a component uses must be added to all five files in
src/i18n/locales/, including keys chosen inside an expression (t(count === 1 ? 'a' : 'b')) — a literal-only scan misses those in both directions. - Add focused Vitest or Testing Library coverage for UI, store, or API behavior. Run it first, then follow
bun run check:impact; desktop product changes normally selectbun run check:desktop. - Chat transport, WebSocket lifecycle, first-turn runtime selection, reconnect, or session changes also require the offline
bun run check:chat-contractwhen selected, plusbun run check:agent-flowfor the end-to-end session/tool/permission/reconnect protocol. - Permission dialog, tool-call rendering, or approval-flow changes should also run
bun run check:desktop-ui-smoke: it exercises the real dialog in a real browser against the mock runtime, with no provider. desktop/electron/**is not covered bydesktop/tsconfig.json, socheck:desktopcannot prove it still compiles. Changing adesktop/src/**module that the Electron host imports selectsbun run check:nativethrough the import graph — run it.- Electron host, sidecar, packaging, or version changes require
bun run check:nativewhen selected. - Validate user-visible flows in a real browser/desktop session when unit tests cannot prove layout or cross-process behavior, and record the path exercised.
localStorageor native settings shape changes require a migration, an old fixture, andbun run check:persistence-upgrade.
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.

