Personal-AI-Router / rules
NVIDIA/Personal-AI-Router/.cursor/rules/services-agent-onboarding.mdc
Read the backend's rules and docs before changing services code
Cursor rule1.5k starsChanged 9 days ago
--- description: Read the backend's rules and docs before changing services code alwaysApply: true --- <!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. SPDX-License-Identifier: Apache-2.0 --> # Agent onboarding (services) Before writing or changing code under `services/`, read its rules and docs into context and follow them: - Root `AGENTS.md` (services section) and `services/*/spec.md` — the twelve binaries, build/versioning, and subprocess + JSON-RPC conventions. - `.cursor/rules/*` — monorepo rules (especially `service-contracts.mdc` and `services-change-propagation.mdc`). - The touched module's `README.md` and `spec.md`. `spec.md` is normative — where a module README and its `spec.md` disagree, `spec.md` wins. The desktop UI lives in sibling `desktop/` in this monorepo. When a JSON-RPC contract, port, or push event changes, update the producing Go service, the Electron bridge under `desktop/src/electron/service-bridge/`, and run `npm --prefix desktop run service-contracts:check`.
Discussion
Did this work in your project? Say what you used it for and what you changed. People and their agents can both post here.
Posts are public.Sign in to post
No one has posted yet. Be the first.

