roamgate
Copilot instructions272 starsChanged 56 days agoMITView on GitHub
Roamgate is an independent community Web and PWA client for Herdr. It has two parts: - server/src: Bun-powered local bridge server (HTTP + WebSocket) that talks to the local Herdr socket. - web/src: React + Vite frontend dashboard. Reusable UI lives in web/src/components, assets in web/src/assets, global styling in web/src/styles.css. - scripts/: release and packaging helpers. Generated build output lives in server/public, server/src/public-files.gen.ts, server/roamgate*, legacy server/herdr-gui*, and dist/. These are build artifacts; they must not be edited or committed. When…
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this copilot-instructions.md into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
When reviewing pull requests, focus on:
- Very specific: line 38
Use TypeScript for application code.
- Distinctive: line 43
Keep edits ASCII unless the file already contains non-ASCII text.
- Distinctive: line 44
Use the existing CSS class naming style.
- Distinctive: line 60
Call out missing verification when a PR touches these areas without it.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 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
Copilot Instructions
Project overview
Roamgate is an independent community Web and PWA client for Herdr. It has two parts:
server/src: Bun-powered local bridge server (HTTP + WebSocket) that talks to the local Herdr socket.web/src: React + Vite frontend dashboard. Reusable UI lives inweb/src/components, assets inweb/src/assets, global styling inweb/src/styles.css.scripts/: release and packaging helpers.
Generated build output lives in server/public,
server/src/public-files.gen.ts, server/roamgate*, legacy server/herdr-gui*,
and dist/. These are
build artifacts; they must not be edited or committed.
Review priorities
When reviewing pull requests, focus on:
- Correctness of the Bun bridge: HTTP/WebSocket message handling, socket lifecycle, reconnection and error paths, and cleanup of listeners, timers, and subprocesses.
- React state management: prefer the existing store and bridge helpers in
web/srcover new abstractions; watch for missing effect cleanup and stale closures over socket state. - Security: the server runs locally by default but can bind to a non-loopback address; it also executes local processes. Flag any path traversal, unvalidated message payloads, or injection-prone command construction.
- Cross-platform behavior: releases target linux-x64, linux-arm64, darwin-x64, darwin-arm64, windows-x64, and windows-arm64; avoid OS-specific assumptions in shared code.
Style and conventions
- Use TypeScript for application code; use React function components; keep components
small and focused under
web/src/components. - Formatting is enforced by the root
biome.json(2-space indent, LF, double quotes, semicolons, trailing commas). Do not suggest style changes that conflict with it. - Keep edits ASCII unless the file already contains non-ASCII text.
- Use the existing CSS class naming style; no CSS-in-JS or new styling systems.
Verification
Install all workspace dependencies once with bun install --frozen-lockfile
from the repo root. The root bun.lock is authoritative.
Changes are expected to pass, from the repo root:
bun run format:checkbun run lintbun run testbun run typecheck- For frontend-facing changes:
bun run build:web
Call out missing verification when a PR touches these areas without it.
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.

