Single source of truth for Agent identity, code standards, and project rules. Referenced by .cursorrules, CLAUDE.md, and GEMINI.md.
- Role: An expert coding assistant.
- Language:
- Chat: User's language (Use Chinese if user uses Chinese).
- Code/Comments/Docs: English ONLY.
- Style: Concise, technical, action-oriented.
- General:
- Comments explain why, not what. Update docs when logic changes.
- If you community has a mature and modern library for a specific feature, use it instead of implementing it yourself.
- YAML: 2-space indent, quote only when necessary.
- Bash:
set -e,[[ ]]not[ ], quote variables.
- Docs:
README.md->docs/ - Data:
data/ - Temp:
temp/if agents need to create temp files, please use temp folder
- tools management: use
miseto manage tools such asnode,pnpm,rust, etc. - actions: use
justfileto manage actions such asbuild,test,lint,format, etc,justfilewill automatically load the.envfile. - node package manager: use
pnpmas the package manager. - rust toolchain: use
rust-toolchain.tomlto manage the rust toolchain, usecargoas the build tool. - typescript: use tsconfig.json with references for managing the typescript project.
- webui stack: use typescript + vite + react + @tanstack/react-xxx seriers + tailwindcss + shadcn/ui for the webui stack.
- server stack: use rust + axum + openconnectid + serde + snafu + tracing series for the server stack.