CodeDeck
AGENTS.md1 starsChanged 4 months agoMITView on GitHub
CodeDeck is an Electron desktop app with a React/Vite renderer. The main UI entry points live in src/main.tsx, src/App.tsx, and src/TerminalApp.tsx. Reusable renderer components are under src/components/, while shared business logic, services, providers, crypto helpers, and testable utilities live under src/shared/. Electron main-process and preload code are in electron/. Static assets are split between public/ and src/assets/; packaging resources are in build/. Documentation is in docs/. Treat dist/, dist-electron/, release/, node_modules/, and local runtime data under app-data/ as generated or…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,691 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 repository22 other files it gives its agents.
- trellis-before-devSkill
- trellis-brainstormSkill
- trellis-break-loopSkill
- trellis-channelSkill
- trellis-checkSkill
- trellis-continueSkill
- trellis-finish-workSkill
- trellis-metaSkill
- trellis-session-insightSkill
- trellis-spec-bootstrapSkill
- trellis-startSkill
- trellis-update-specSkill
- trellis-before-devSkill
- trellis-brainstormSkill
- trellis-break-loopSkill
- trellis-channelSkill
- trellis-checkSkill
- trellis-metaSkill
- trellis-session-insightSkill
- trellis-spec-bootstrapSkill
- trellis-update-specSkill
- delegate-with-codedeckSkill
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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
- could be automatic: a setting could enforce it
- Very specific: line 34
Do not commit secrets, tokens, generated logs, or local workspace contents from app-data/ and library/.
- Very specific: line 48
If a Trellis command is available on your platform (e.g.
- Distinctive: line 50
If you're using Codex or another agent-capable tool, additional project-scoped helpers may live in:
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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
Repository Guidelines
Project Structure & Module Organization
CodeDeck is an Electron desktop app with a React/Vite renderer. The main UI entry points live in src/main.tsx, src/App.tsx, and src/TerminalApp.tsx. Reusable renderer components are under src/components/, while shared business logic, services, providers, crypto helpers, and testable utilities live under src/shared/. Electron main-process and preload code are in electron/. Static assets are split between public/ and src/assets/; packaging resources are in build/. Documentation is in docs/. Treat dist/, dist-electron/, release/, node_modules/, and local runtime data under app-data/ as generated or environment-specific.
Build, Test, and Development Commands
npm install: install dependencies frompackage-lock.json.npm run dev: run Vite, watch Electron TypeScript, and launch Electron.npm run dev:renderer: start only the Vite renderer on port5173.npm run build:electron: compile Electron main/preload code todist-electron/.npm run typecheck: run TypeScript checks for renderer and Electron configs.npm test: run Vitest once.npm run test:watch: run Vitest in watch mode.npm run build: typecheck, build the renderer, then compile Electron.npm run dist:win: build a Windows NSIS installer inrelease/.npm run rebuild:native: rebuildnode-ptyif Electron ABI errors occur.
Coding Style & Naming Conventions
Use TypeScript and React functional components. Follow the existing two-space indentation, double quotes, semicolons, and explicit exported types/interfaces where useful. Keep component files in PascalCase, such as ProfileEditForm.tsx; utility and service modules use kebab-case, such as profile-service.ts. Test files should mirror the target module name and end in .test.ts or .test.tsx.
Testing Guidelines
Vitest is configured in vite.config.ts with a Node environment and includes src/shared/**/*.test.ts and src/shared/**/*.test.tsx. Place unit tests near shared logic or under src/shared/__tests__/ for grouped component/service coverage. Run npm test before submitting changes; run npm run typecheck for changes that touch types, IPC contracts, or service APIs.
Commit & Pull Request Guidelines
Recent commits use short, imperative subjects, often with prefixes like feat:, fix:, or merge:. Keep the first line focused, for example fix: constrain lazy page loading layout. Pull requests should explain the user-visible change, list validation commands run, link related issues when available, and include screenshots or short recordings for UI changes.
Security & Configuration Tips
Do not commit secrets, tokens, generated logs, or local workspace contents from app-data/ and library/. Use CODEDECK_PROJECT_ROOT only for local workspace overrides, and document any new environment variables in README.md.
<!-- TRELLIS:START -->Trellis Instructions
These instructions are for AI assistants working in this project.
This project is managed by Trellis. The working knowledge you need lives under .trellis/:
.trellis/workflow.md— development phases, when to create tasks, skill routing.trellis/spec/— package- and layer-scoped coding guidelines (read before writing code in a given layer).trellis/workspace/— per-developer journals and session traces.trellis/tasks/— active and archived tasks (PRDs, research, jsonl context)
If a Trellis command is available on your platform (e.g. /trellis:finish-work, /trellis:continue), prefer it over manual steps. Not every platform exposes every command.
If you're using Codex or another agent-capable tool, additional project-scoped helpers may live in:
.agents/skills/— reusable Trellis skills.codex/agents/— optional custom subagents
Managed by Trellis. Edits outside this block are preserved; edits inside may be overwritten by a future trellis update.
<!-- TRELLIS:END -->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.

