Every file is compared against the last accepted baseline, your workspace, and GitHub. You see incoming, local, and conflict — not a silent overwrite.
CURSOR EXTENSION
RuleSync keeps .cursor rules, hooks, skills, and MCP config in a GitHub repository. Incoming updates are reviewed before they touch the workspace. Local edits become a proposal branch — never a write to main.
WHY
Platform teams already keep coding standards in git. RuleSync does the same for AI-editor guidance — without dumping gitignored .cursor files onto main.
Every file is compared against the last accepted baseline, your workspace, and GitHub. You see incoming, local, and conflict — not a silent overwrite.
Review happens in Cursor’s own diff tabs. Apply one file or all incoming updates after you have looked at them.
Local edits publish to rulesync/… and open GitHub Compare. Main stays untouched. You create the pull request.
Hooks, MCP, secrets-looking content, binaries, and large files ask for confirmation before apply or publish.
SETUP
Open the RuleSync icon in the Activity Bar and turn the extension on for this folder.
Sign in with the RuleSync GitHub App via device code. Install the app on the rules repository only.
Choose owner/repo and branch. Private repositories work. One source per workspace in this release.
RuleSync writes rulesync.yml for you and opens a pull request. Merge it once. You do not edit or maintain that file.
MANIFEST
If the rules repo has no rulesync.yml, RuleSync creates the Cursor starter, publishes it on a proposal branch, and opens the pull request. After you merge that PR, RuleSync reads the file on its own. You keep working in .cursor — not in YAML.
version: 1
profiles:
cursor-project:
adapter: cursor
scope: project
source: .cursor
mode: mirror
TRUST
Tokens live in Cursor secret storage — never in workspace settings or the repo.The GitHub App asks for Contents, Metadata, and Pull requests on the rules repository you install it on.
Main is not a write target.RuleSync re-checks the base SHA before publishing a proposal branch.
Untrusted workspaces stay read-only.Filesystem writes and publish require a trusted folder.