2 Commits

Author SHA1 Message Date
Will Chen
8ce23cd175 Prettier: AGENTS.md (#1677) 2025-10-30 11:27:31 -07:00
SlayTheDragons
beb777bd54 Add AGENTS.md for Claude Code, Gemini CLI and Codex (#1638)
Adds AGENTS.md for Claude Code, Gemini CLI and Codex.

<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Adds AGENTS.md with clear guidelines for working in this Electron +
React repo. It standardizes IPC patterns and React/TanStack Query usage
to keep code consistent and secure.

- **New Features**
- Documents IPC architecture: renderer IpcClient, preload allowlist,
host handlers, and throwing errors on failure.
- Defines React integration: useQuery for reads, useMutation for writes,
invalidate related queries, optional global state sync.
- Notes security practices: avoid remote, validate/lock by appId on
mutations.
- Encourages descriptive names that mirror IPC channels and colocated
tests/stories.

<!-- End of auto-generated description by cubic. -->
2025-10-29 21:23:25 -07:00