Agent skill

Suggesting Cursor Rules

by spencerpauly in spencerpauly/awesome-cursor-skills

When the user repeats the same correction or convention multiple times, suggest a Cursor rule to encode it permanently.

CC0-1.0Auto-check passedAgent Workflows

Install Suggesting Cursor Rules

skills CLI
$ npx skills add spencerpauly/awesome-cursor-skills --skill suggesting-cursor-rules -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install spencerpauly/awesome-cursor-skills suggesting-cursor-rules --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/spencerpauly/awesome-cursor-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/resources/suggesting-cursor-rules .claude/skills/suggesting-cursor-rules && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
suggesting-cursor-rules
GitHub stars
843
Token cost
~544 tokens
SKILL.md length
168 words
Files
1
Skills in repo
60
Repo updated
First seen
Licence
CC0-1.0

At a glance

When the user repeats the same correction or convention multiple times, suggest a Cursor rule to encode it permanently.

  • Repeats the same correction
  • SKILL.md covers Triggers, How to Suggest, Examples and Rules
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Convention multiple times

What it does

Suggesting Cursor Rules is an agent skill from spencerpauly/awesome-cursor-skills. When the user repeats the same correction or convention multiple times, suggest a Cursor rule to encode it permanently.

Its SKILL.md is about 540 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Agent instruction files. The repository describes itself as: A curated list of awesome skills for Cursor. The licence is CC0-1.0.

When your agent uses it

  • Repeats the same correction
  • Convention multiple times
  • Suggest a Cursor rule to encode it permanently

Example prompts

  • “/suggesting-cursor-rules”

What it can do on your machine

Read from SKILL.md and the folder at commit 99cd265. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Suggesting Cursor Rules loads about 544 tokens when it runs. Until then it costs about 36 tokens; SKILL.md has 168 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~36
When it runs · the whole SKILL.md, loaded when a task matches
~544

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from spencerpauly/awesome-cursor-skills at commit 99cd265, republished under its CC0-1.0 licence (© spencerpauly). 168 words, ~544 tokens.

Download SKILL.mdSave it as .claude/skills/suggesting-cursor-rules/SKILL.md (or your agent's skills folder).
name
suggesting-cursor-rules
description
When the user repeats the same correction or convention multiple times, suggest a Cursor rule to encode it permanently.
user-invocable
false

Suggesting Cursor Rules

Watch for repeated corrections and frustration. When the user keeps telling you the same thing, suggest a .cursor/rules/ file so they never have to say it again.

Triggers

Suggest a rule when you notice:

  • The user corrects the same pattern 2+ times (e.g. "use named exports", "don't use default exports")
  • The user expresses frustration about code style or conventions
  • The user says things like "I always want...", "never do...", "every time you..."
  • You keep making the same mistake in this project

How to Suggest

When you detect a trigger, offer it naturally:

I notice you've corrected me on [pattern] a couple times. Want me to 
create a Cursor rule so I always follow this convention?

If they say yes, create the rule:

.cursor/rules/<name>.mdc
---
description: <what this rule enforces>
globs: <file pattern this applies to>
---

- <the convention, stated clearly>

Examples

User keeps saying "use relative imports":

---
description: Import conventions
globs: **/*.{ts,tsx}
---

- Use relative imports, not @ aliases
- Import from the same package with relative paths (e.g. "../../queries/..." not "src/queries/...")

User keeps saying "no comments on obvious code":

---
description: Comment style
globs: **/*.{ts,tsx,js,jsx}
---

- Do not add comments that narrate what the code does
- Only comment non-obvious intent, tradeoffs, or constraints

User frustrated about test file locations:

---
description: Test file conventions
globs: **/*.test.{ts,tsx}
---

- Co-locate test files next to the source file they test
- Name test files <source>.test.ts, not __tests__/<source>.ts

Rules

  • Don't be annoying — only suggest after a genuine repeated pattern, not on the first correction
  • Keep rule files small and focused — one concern per file
  • Check .cursor/rules/ first so you don't duplicate an existing rule
  • Frame it as a helpful offer, not a lecture

© spencerpauly, CC0-1.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in resources/suggesting-cursor-rules of spencerpauly/awesome-cursor-skills.

Open the folder on GitHubat commit 99cd265

Compare with similar skills

Suggesting Cursor Rules next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Suggesting Cursor Rules compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Suggesting Cursor Rules this skillspencerpauly/awesome-cursor-skills843—~544Automated safety check: PassCC0-1.0
Using Agent Skillsaddyosmani/agent-skills103k4 repos~2.4kAutomated safety check: PassMIT
Claude ReflectBayramAnnakov/claude-reflect1.7k2 repos~627Automated safety check: PassMIT
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
Writing For Agentsbestofjs/bestofjs3.1k18 repos~2.7kAutomated safety check: PassMIT
Task Observerrebelytics/one-skill-to-rule-them-all3.2k1 repos~12kAutomated safety check: PassCC-BY-4.0

Similar skills

  • Using Agent Skills

    addyosmani/agent-skills

    Meta-skill for choosing which workflow skill fits the task at hand, plus always-on habits: surface assumptions, stop on confusion, push back, keep it simple and stay in scope.

    103k GitHub starsUsed in 4 repos~2.4k tokens
    Agent WorkflowsAuto-check passed
  • Claude Reflect

    BayramAnnakov/claude-reflect

    Self-learning system that captures corrections during sessions and reminds users to run /reflect to update CLAUDE.md.

    1.7k GitHub starsUsed in 2 repos~627 tokens
    Agent WorkflowsAuto-check passed
  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 8 days ago
    Agent WorkflowsAuto-check passed
  • Writing For Agents

    bestofjs/bestofjs

    Writing documents for agents. An agent skill from bestofjs/bestofjs.

    3.1k GitHub starsUsed in 18 repos~2.7k tokens
    Agent WorkflowsAuto-check passed
  • Task Observer

    rebelytics/one-skill-to-rule-them-all

    Monitors task execution for skill improvement opportunities.

    3.2k GitHub starsUsed in 1 repo~12k tokens
    Agent WorkflowsAuto-check passed
  • SkillOpt Sleep Cycle

    microsoft/SkillOpt

    Official

    Runs an on-demand or nightly sleep cycle that reviews past Claude Code sessions and proposes validated updates to CLAUDE.md and skills.

    18k GitHub stars~2.3k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed

More from spencerpauly/awesome-cursor-skills

All 60 skills in this repo
  • Generating Images

    spencerpauly/awesome-cursor-skills

    Generate or edit images using the OpenAI Image API (gpt-image-2).

    843 GitHub stars~3.7k tokensUpdated 2 mo ago
    Auto-check: notes
  • Babysitting PR

    spencerpauly/awesome-cursor-skills

    Monitor a pull request for CI failures, review comments, and merge conflicts — then fix them automatically.

    843 GitHub stars~930 tokensUpdated 2 mo ago
    Auto-check passed
  • Best Of N Solving

    spencerpauly/awesome-cursor-skills

    Solve a hard problem by trying multiple approaches in parallel using isolated git worktrees.

    843 GitHub stars~698 tokensUpdated 2 mo ago
    Auto-check passed
  • Grinding Until Pass

    spencerpauly/awesome-cursor-skills

    Keep iterating on code changes until the tests pass, the build succeeds, or linting is clean.

    843 GitHub stars~796 tokensUpdated 2 mo ago
    Auto-check passed
  • Parallel CI Triage

    spencerpauly/awesome-cursor-skills

    When GitHub Actions fails, fetch failing job logs and assign each failing job to a separate subagent that fixes its slice of the problem in parallel.

    843 GitHub stars~793 tokensUpdated 2 mo ago
    Auto-check passed
  • Parallel Exploring

    spencerpauly/awesome-cursor-skills

    Explore a large codebase in parallel by launching multiple explore subagents that each investigate a different area simultaneously.

    843 GitHub stars~787 tokensUpdated 2 mo ago
    Auto-check: notes

Categories

Questions about Suggesting Cursor Rules

What does Suggesting Cursor Rules do?

When the user repeats the same correction or convention multiple times, suggest a Cursor rule to encode it permanently. Suggesting Cursor Rules is an agent skill from spencerpauly/awesome-cursor-skills. When the user repeats the same correction or convention multiple times, suggest a Cursor rule to encode it permanently.

When should I use Suggesting Cursor Rules?

Suggesting Cursor Rules fits situations like: repeats the same correction; convention multiple times; suggest a Cursor rule to encode it permanently.

How do I install Suggesting Cursor Rules in Claude Code?

Run `npx skills add spencerpauly/awesome-cursor-skills --skill suggesting-cursor-rules -a claude-code`. Or copy the skill folder (resources/suggesting-cursor-rules in spencerpauly/awesome-cursor-skills) into .claude/skills/suggesting-cursor-rules in your project. Claude Code loads it when a task matches its description.

How do I install Suggesting Cursor Rules in Codex?

Run `npx skills add spencerpauly/awesome-cursor-skills --skill suggesting-cursor-rules -a codex`. Or copy the skill folder (resources/suggesting-cursor-rules in spencerpauly/awesome-cursor-skills) into .agents/skills/suggesting-cursor-rules in your project. Codex loads it when a task matches its description.

Can I use Suggesting Cursor Rules in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add spencerpauly/awesome-cursor-skills --skill suggesting-cursor-rules -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/suggesting-cursor-rules, .gemini/skills/suggesting-cursor-rules, .github/skills/suggesting-cursor-rules and .opencode/skills/suggesting-cursor-rules in your project.

What does Suggesting Cursor Rules need to run?

SKILL.md names no scripts, command-line tools or credentials: Suggesting Cursor Rules is instructions for the agent only.

Does Suggesting Cursor Rules access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Suggesting Cursor Rules safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Suggesting Cursor Rules use?

Suggesting Cursor Rules is published under the CC0-1.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Suggesting Cursor Rules use?

About 544 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Suggesting Cursor Rules?

Skills that share tags, products or a category with Suggesting Cursor Rules: Using Agent Skills (addyosmani/agent-skills, 103k stars), Claude Reflect (BayramAnnakov/claude-reflect, 1.7k stars), Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars) and Writing For Agents (bestofjs/bestofjs, 3.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Suggesting Cursor Rules?

spencerpauly (a GitHub user) maintains it in spencerpauly/awesome-cursor-skills, which has 843 GitHub stars. The repository holds 60 skills in this directory. The repository was last updated on August 2, 2026.

Source: spencerpauly/awesome-cursor-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.