binding-rules-quick-reference

An index of the project's binding development rules, with the main rules kept in CLAUDE.md and related rule files. It points developers to requirements such as pre-edit reading, planning, language conventions, and self-review.

In plain words
What is it for?
Use it as a starting point before code changes. It helps locate the required reading, workflow, todo, documentation, and completion checks.
Why use it?
It gives developers one quick place to find the rules without repeatedly searching the whole project. When the index conflicts with CLAUDE.md, the main file takes priority.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/alphabitcore/nexus-gateway/binding-rules-quick-reference
Clone the repo
git clone --depth 1 https://github.com/AlphaBitCore/nexus-gateway

Made for: Cursor.

Per session 1,869 This file is loaded in full into every session.
When invoked 1,869 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01869 $0.01869
Opus 5 $0.00934 $0.00934
Sonnet 5 $0.00374 $0.00374
Haiku 4.5 $0.00187 $0.00187

Measured yesterday against content hash 921e36348a17, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

binding-rules-quick-reference scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/binding-rules-quick-reference.mdc · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Binding rules — quick reference

Canonical text lives in CLAUDE.md + the rule files listed below. This file is the index so the rules surface in the IDE without re-reading CLAUDE.md every time. When this index disagrees with CLAUDE.md, CLAUDE.md wins.

Top priority — read before any code change

  • Pre-edit reading (3 docs)pre-edit-reading.mdc. Architecture doc + feature doc + conventions.
  • Architecture doc triggers (per-module)architecture-doc-triggers.mdc (delegates to docs/developers/architecture/README.md).
  • Mandatory workflowsdd-workflow.mdc. Plan + Todo + SDD pipeline.

Always-on rules (every change)

  • English only in repo files. Conversation may match user; files stay English.
  • Plan + Todo list before edits — required even for one-line fixes.
  • Capture every user message as todos — new requests don't interrupt, they queue.
  • Complex tasks: Plan + Todo non-waivablecomplex-task-plan-todo.mdc.
  • Goal-anchored execution — one-line "Goal:" at top of plan; re-state on mid-stream constraint arrival.
  • Self-audit before "done" — 4 questions × 2 roundscompletion-time-self-audit.mdc.
  • Adversarial product review + less-is-moreadversarial-product-review.mdc. Steel-man and attack before building; delete instead of add.
  • Real implementation only in production code. Mocks only in tests.
  • Release compat policy (1.0 GA)release-compat-policy.mdc. Shipped contracts stay backward compatible (or migrate); internal-only code is greenfield — delete obsolete code, no @deprecated.
  • No silent skips / no silent forks — ask the user with concrete options when ambiguous.
  • Worktree per sessionworktree-per-session.mdc. Each parallel session runs in its own git worktree under ./worktrees/.
  • Sub-agent dispatch disciplinesub-agent-dispatch.mdc. Goal+non-goals in first 3 lines; 2-round self-audit demanded; per-file touched-paths report required.
  • Handoff at context-fullsession-handoff.mdc. Offer a handoff doc when auto-compact threshold near / multi-phase closeout / >~50 turns.
  • Commit reminder — ask before commit; never auto-commit.
  • Unit test coverage ≥95% per Go packageunit-test-coverage-95.mdc. Enforced by scripts/check-go-coverage.sh (pre-commit on staged Go files + npm run check:coverage + CI). Allowlist additions require user approval + category (cmd / test-helper / DB-bound / OS-bound / network-infra-bound / integration-only).

Read the full file on GitHub · 74 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 74 lines · 1,869 tokens per session scan A 921e36348a17

Subscribe to this mod's changes

binding-rules-quick-reference is a cursor rule published in the GitHub repository AlphaBitCore/nexus-gateway (22 stars, last pushed 6d ago), licensed Apache-2.0. It adds 1,869 tokens to every session, about $0.0093 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.