Skip to content

dustin-we/cursor-rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

dwe / cursor-rules

Personal collection of reusable Cursor rules and skill-enforcement templates.

Layout

cursor-rules/
  README.md
  templates/
    skill-enforcement.template.mdc   # Nuxt / Vue / Nuxt UI / VueUse / Better Auth / AG Grid
  examples/
    # (add concrete project-specific copies here over time)

Using a template in a new project

  1. Copy the desired template into the target project:

    mkdir -p <project>/.cursor/rules
    cp templates/skill-enforcement.template.mdc \
       <project>/.cursor/rules/skill-enforcement-<project>.mdc
  2. Open the copied file and replace the only placeholder:

    • {PROJECT_NAME} — human-friendly app name

    Skill paths are not required: skills are installed globally via skills.sh under the "general" scope, so agents discover them by name automatically.

  3. Delete sections that don't apply (e.g. drop the Better Auth section if the project doesn't use it). The AG Grid section is safe to keep — it's conditional on AG Grid being installed.

  4. Optional: tighten the globs field if you want the rule scoped to certain files only (default applies to common Nuxt/Vue paths).

  5. Commit. Cursor picks the rule up automatically.

Conventions

  • Rules live under <project>/.cursor/rules/*.mdc.
  • Front-matter:
    • description — short summary shown in Cursor.
    • globs — file patterns the rule applies to.
    • alwaysApply: true|false — whether the rule is loaded for every session.
  • Keep rules concise; one concern per file is preferred.

Maintaining this repo

  • When you change a template here, propagate the change to existing projects manually (the rule files in .cursor/rules/ are project-local copies).
  • Use examples/ to keep reference snapshots of how a concrete project ended up customizing a template.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors