shinkai-local-ai-agents
AGENTS.md432 starsChanged 10 months agoApache-2.0View on GitHub
- Reads credentials
In this repositoryOne other file it gives its agents.
- frontend-designSkill
The file
We found no rules to list in this file: it reads as prose or reference rather than instructions.
Files
Repository Guidelines
Project Structure & Module Organization
- apps: Desktop app at
apps/shinkai-desktop(React + Vite + Tauri). Source insrc/, static inpublic/, Rust insrc-tauri/. - libs: Shared packages (e.g.,
libs/shinkai-ui,libs/shinkai-i18n,libs/shinkai-message-ts). - assets, docs, ci-scripts, tools: Shared resources and automation.
- Tests: Co-located using
__tests__/and*.test|spec.(ts|tsx).
Build, Test, and Development Commands
- Dev (desktop):
npx nx serve shinkai-desktop(Tauri dev; usessrc-tauri/tauri.conf.local.json). - Build (desktop):
npx nx build shinkai-desktop(Tauri build). - Unit tests:
npx nx test shinkai-desktop(Vitest; reports tocoverage/apps/shinkai-desktop). - Lint:
npx nx lint shinkai-desktop(ESLint config at repo root and app-level). - Type check:
npx nx run shinkai-desktop:typecheck. - Rust check (tauri):
npx nx run shinkai-desktop:cargo-check. - Alternative (inside app):
cd apps/shinkai-desktop && npm run dev|build|lint.
Coding Style & Naming Conventions
- Indentation: 2 spaces (
.editorconfig). - Formatting: Prettier with Tailwind plugin; single quotes enforced. Run:
npx prettier --write .. - Linting: ESLint with import ordering, React Hooks rules, Vitest rules (no focused tests).
- Naming: files/dirs kebab-case (
vector-search/), React components/types PascalCase, variables/functions camelCase.
Testing Guidelines
- Framework: Vitest + @testing-library/react.
- Locations: co-locate next to source (e.g.,
component/__tests__/x.test.tsx). - Conventions: use
*.test.ts(x); avoidonly/focused tests (linted). - Run locally:
npx nx test shinkai-desktop.
Commit & Pull Request Guidelines
- Commits: Prefer Conventional Commits (e.g.,
feat:,fix:,chore:,docs:). Example:feat: reasoning streaming UI and markdown support. - PRs must include:
- Clear description and linked issues (e.g.,
Closes #123). - Screenshots/GIFs for UI changes.
- Scope-limited diff; updated docs/i18n when relevant.
- Local verification: lint, unit tests, and
cargo-checkpass.
- Clear description and linked issues (e.g.,
Security & Configuration Tips
- Env: copy
apps/shinkai-desktop/.env.exampleas needed; never commit secrets. - Tooling: Node 20+, npm 10+; Rust toolchain for Tauri.
- Patches:
postinstallrunspatch-package; updatepatches/when adjusting third-party deps.
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.

