1.1.3 • Published 10 months ago

@crimsonsunset/cursor-config v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@crimsonsunset/cursor-config

Shared Cursor rules configuration package. Automatically installs standardized Cursor rules to any project.

Installation

npm install -D @crimsonsunset/cursor-config

That's it! The .cursor/rules/ directory will be automatically created in your project root with all rule files.

What it does

  • Creates .cursor/rules/ directory in your project root via postinstall script
  • Merges with existing rules - only installs rules that don't already exist
  • Contains comprehensive development guidelines and best practices
  • Works with Cursor's latest .mdc rule format

Rules included

Auto-Applied Rules

  • large.mdc - Comprehensive development standards (auto-applies to all conversations)

Manual Rules (use @rulename)

  • starter.mdc - New codebase onboarding protocol (@starter)
  • performance.mdc - Performance optimization guidelines (@performance)
  • security.mdc - Security best practices (@security)
  • testing.mdc - Test strategy and debugging (@testing)
  • backend.mdc - API design and backend practices (@backend)

Manual installation

If you prefer not to use the postinstall script:

npm install -D @crimsonsunset/cursor-config --ignore-scripts

Then manually copy the rules:

mkdir -p .cursor/rules
cp node_modules/@crimsonsunset/cursor-config/.cursor/*.mdc .cursor/rules/

Updating

To get the latest rules:

rm -rf .cursor/rules
npm reinstall @crimsonsunset/cursor-config

Releasing

Version Management

# Patch version (bug fixes, rule improvements)
npm version patch

# Minor version (new rules, significant updates)
npm version minor

# Major version (breaking changes)
npm version major

Publishing Process

  1. Test locally first:

    # Test in another project
    npm pack
    cd ../test-project
    npm install ../cursor-config/crimsonsunset-cursor-config-X.X.X.tgz
  2. Publish to npm:

    npm publish
  3. Verify publication:

    npm view @crimsonsunset/cursor-config

Release Checklist

  • Test installation in clean project
  • Verify all .mdc files are included in package
  • Check postinstall script works correctly
  • Update version in package.json
  • Publish to npm
  • Test installation from npm registry

Troubleshooting Releases

  • 403 Forbidden: Version already exists, bump version first
  • Missing files: Check .npmignore and package.json files array
  • Postinstall fails: Test script locally with node scripts/install.js

License

MIT

1.1.3

10 months ago

1.1.2

10 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.12

10 months ago

1.0.11

10 months ago

1.0.10

10 months ago

1.0.9

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago