forked from router-for-me/CLIProxyAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.cursorrules
More file actions
31 lines (23 loc) · 786 Bytes
/
.cursorrules
File metadata and controls
31 lines (23 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Cursor Rules (CLIProxyAPI)
## Required Context
1. `CLIProxyAPI/AGENTS.md`
2. `CLIProxyAPI/CLAUDE.md`
3. `CLIProxyAPI/README.md`
4. `docs/ai/agent-guide.md`
5. `docs/ci-cd/ci-cd-documentation.md`
## Pre-commit + CI Dual Guardrails
- Local gates:
- `.githooks/pre-commit`
- `.githooks/commit-msg`
- `.githooks/pre-push`
- CI gates:
- `CLIProxyAPI/.github/workflows/pr-test-build.yml`
- `CLIProxyAPI/.github/workflows/nightly-test.yml`
- `.github/workflows/repo-governance.yml`
## Env Contract Audits
- `bash scripts/env-doctor.sh --staged`
- `bash scripts/env-doctor.sh --full --strict`
- `bash scripts/mainline-env-alias-check.sh`
## Change Policy
- Prefer minimal edits in `CLIProxyAPI/**`.
- If API/signature/env/dependency changes, sync docs in the same change.