everything-cursor
v0.0.8
Published
Cursor settings created from affaan-m/everything-cursor
Maintainers
Readme
everything-cursor
Cursor settings created from affaan-m/everything-claude-code.
Installation
Quick Start (Recommended)
Choose your preferred package manager:
Deno (Recommended):
# One-time execution
deno x jsr:@yoshixmk/everything-cursor/cli install
or
# Global installation
deno install -Agf jsr:@yoshixmk/everything-cursor/cli
everything-cursor installnpm:
# One-time execution
npx everything-cursor install
or
# Global installation
npm install -g everything-cursor
everything-cursor installpnpm:
# One-time execution
pnpm dlx everything-cursor install
or
# Global installation
pnpm add -g everything-cursor
everything-cursor installThe CLI will prompt you to choose between local (.cursor/) or home (~/.cursor/) installation.
Alternative: From Repository
Clone the repository and run the installation script directly:
git clone https://github.com/yoshixmk/everything-cursor.git
cd everything-cursor
node scripts/cursor-install.mjsThis method gives you full control and allows you to modify the settings before installation.
Installation Details
On first run, you'll be prompted to choose an installation location:
📍 Select installation location:
1) local - Project local (.cursor/)
2) home - Home directory (~/.cursor/)
3) cancel - Cancel installation
Enter your choice (1-3):- local: Installs to project's
.cursor/directory (project-specific settings) - home: Installs to
~/.cursor/directory (shared across all projects)
The script will copy .md files from the submodule:
agents/*.md- AI agent configurationsskills/**/*.md- Skill definitionscommands/*.md- Custom commandsrules/*.md- Coding rules and guidelines
Your choice is remembered - future runs will automatically use the same location without prompting.
Note: Only .md (Markdown) files are copied. Your custom files are
automatically preserved.
Uninstallation
To remove the installed Cursor settings:
Deno:
deno x jsr:@yoshixmk/everything-cursor/cli uninstallnpm:
npx everything-cursor uninstallpnpm:
pnpm dlx everything-cursor uninstallOr if installed globally:
everything-cursor uninstallThis will remove only the files that were installed from the submodule (tracked in the manifest).
Your custom files are preserved: User-created files in .cursor/ are not
removed during uninstallation.
For Developers: Programmatic Usage
If you want to integrate everything-cursor into your own tools or automation scripts, you can use the library API.
Installing the Library
# pnpm
pnpm add everything-cursor
# npm
npm install everything-cursor
# Deno
import { install } from "jsr:@yoshixmk/everything-cursor";Basic Usage
import { install, uninstall } from "@yoshixmk/everything-cursor";
// Install to local .cursor directory
await install({ location: "local" });
// Uninstall
await uninstall();For detailed API documentation, see the JSR package page.
Structure
After installation, your chosen directory will contain:
If installed to local (project-specific):
{project}/.cursor/
├── agents/ # AI agent configurations (planner.md, etc.)
├── skills/ # Skills like tdd-workflow/
├── commands/ # Custom commands (tdd.md, etc.)
└── rules/ # Coding rules (security.md, etc.)If installed to home (shared across projects):
~/.cursor/
├── agents/ # AI agent configurations (planner.md, etc.)
├── skills/ # Skills like tdd-workflow/
├── commands/ # Custom commands (tdd.md, etc.)
└── rules/ # Coding rules (security.md, etc.)Customization
Adding Your Own Files
You can safely add your own custom files to your install directory. The installation script will never delete files that you create.
Example:
# If installed to local
echo "# My Custom Agent" > .cursor/agents/my-agent.md
# If installed to home
echo "# My Custom Agent" > ~/.cursor/agents/my-agent.md
# This file will be preserved during updates
cursor-installFile Types:
.mdfiles you create are preserved (not tracked by the script)- Non-
.mdfiles are completely ignored by the script - Only
.mdfiles from the submodule are managed
Changing Installation Location
To change where the settings are installed:
Uninstall current settings:
cursor-uninstallRun install again to choose a new location:
cursor-install
The installation prompt will appear again, allowing you to select a different location.
What Gets Updated
The installation script only manages .md files that come from the
everything-claude-code submodule:
- ✅ Submodule
.mdfiles are updated when the submodule changes - ✅ Your custom
.mdfiles are preserved - ✅ Non-
.mdfiles are never touched - ✅ Files removed from the submodule are automatically removed from your install directory
Updating
Update to Latest Version
To update to the latest version, simply reinstall:
deno install -Agf jsr:@yoshixmk/everything-cursor/cli
everything-cursor installNote: The -f flag forces reinstallation even if already installed.
Smart Update Detection: The installation script tracks the git commit hash of the submodule. If the submodule hasn't changed, the installation is automatically skipped.
$ everything-cursor install
📦 Checking everything-cursor...
✓ Already up to date
Submodule version: v1.2.3 (abc1234)Rollback to Previous Version
If an update causes issues, you can easily rollback:
everything-cursor install --rollbackThis restores the previous installation state.
Documentation
For detailed technical specifications and implementation details, see:
docs/BUILD_SPEC.md- Build process and npm distribution specificationdocs/INSTALL_SPEC.md- Complete installation script specification
Development
For developers who want to contribute or modify the code:
Install from source
- Clone this repository with submodules:
git clone --recursive https://github.com/yoshixmk/everything-cursor.git
cd everything-cursorOr if already cloned:
git submodule update --init- Install dependencies:
npm install
# or: pnpm install- Test the installation locally:
npm run cursor-install- To uninstall:
npm run cursor-uninstallPublishing (For Maintainers)
To publish a new version:
1. Update version and submodule
Update the version in jsr.json:
# Edit jsr.json to update version
# Example: "version": "0.0.8"Update the submodule to the latest version:
git submodule update --remote2. Commit the changes
git add jsr.json everything-claude-code
git commit -m "Bump version to 0.0.8"3. Create a git tag
git tag v0.0.84. Publish to JSR
npx jsr publishYou will be prompted to authenticate in your browser.
Publishing Notes
- Only
.mdfiles fromagents/,skills/,commands/, andrules/directories are included (perINSTALL_SPEC.mdrequirements) - Development files (
.sh,.py,.js) and other non-Markdown files are automatically excluded
Features
- ✅ Location Choice: Install to project-local or home directory
- ✅ Location Memory: Remembers your installation choice for future updates
- ✅ Smart Update Detection: Git hash tracking skips unnecessary installations
- ✅ User File Preservation: Your custom files are never deleted
- ✅ Automatic Rollback: Installation failures are automatically rolled back
- ✅ Manual Rollback: Easy rollback to previous version with
--rollbackflag - ✅ Security: Path traversal prevention, only processes
.mdfiles - ✅ Clear Feedback: Color-coded output with progress indicators
License
MIT
