The Cursor port was a hand-made copy stranded at v3.16.0 while SKILL.md reached v3.22.3 — its own README said 'no automated sync today, open an issue if drift becomes a problem.' It did. scripts/sync-cursor-rules.sh now generates the .mdc from SKILL.md: Cursor frontmatter with the version derived from the SKILL.md frontmatter, plus the three portability rewrites a copied-out rule needs (no repo self-reference, no CATEGORIES.md citation, manual preservation check instead of node detector/validate.js). Each rewrite is anchored on exact upstream text and exits non-zero if the anchor stops matching once, so an upstream edit to a ported span breaks CI here instead of silently shipping a wrong rule. plugin-skill-sync workflow regenerates the rule on every SKILL.md change and fails on drift; cursor-rules/** added to its path filters so a hand-edit to the .mdc alone can't dodge the check. Negative control run: mutating a ported span in SKILL.md makes the script exit 1 with an actionable message; restoring it regenerates byte-identically (second run idempotent). Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2.0 KiB
Cursor Rule — avoid-ai-writing
Drop-in Cursor rule that ports the avoid-ai-writing skill to Cursor's .mdc rule format. Functionally identical to the upstream skill — same tier vocabulary, same context profiles, same detect / rewrite modes.
Install
Copy avoid-ai-writing.mdc into your project's .cursor/rules/ directory:
mkdir -p .cursor/rules
curl -o .cursor/rules/avoid-ai-writing.mdc \
https://raw.githubusercontent.com/conorbronsdon/avoid-ai-writing/main/cursor-rules/avoid-ai-writing.mdc
By default the rule activates on .md, .mdx, .txt, .rst, and .adoc files (via the globs field in the frontmatter). Edit the globs in the rule file if you want it on other file types — or set alwaysApply: true if you want it on every Cursor session.
Trigger phrases
Once installed, ask Cursor:
- "Remove AI-isms from this section."
- "Audit this draft for AI writing patterns."
- "Make this sound less like AI."
- "Run avoid-ai-writing in detect mode." (flag without rewriting)
Old Cursor projects
If you're on a Cursor version that still uses .cursorrules (single file at repo root), you can append avoid-ai-writing.mdc's body (the part below the --- frontmatter) directly to your existing .cursorrules file. Modern Cursor projects should prefer the .cursor/rules/*.mdc layout.
Updating
This file is generated from SKILL.md by scripts/sync-cursor-rules.sh: Cursor-specific frontmatter (with the version derived from SKILL.md), plus three portability rewrites for spans that reference files in this repo — a copied-out rule can't run node detector/validate.js, so that check becomes a manual one. CI regenerates the rule on every SKILL.md change and fails when the committed copy drifts, so the two can no longer diverge silently. (They did once: this port sat at v3.16.0 while SKILL.md reached v3.22.3, which is what bought the guard.) Don't edit the .mdc by hand — edit SKILL.md and re-run the script.