A personal Cursor IDE configuration with strict AI agent policies and reusable development workflows.
- Strict AI Boundaries - Git-only access policy protects privacy and sensitive data
- Universal Standards - Framework-agnostic development rules for any tech stack
- Workflow Automation - Ready-to-use command templates for common tasks
- Self-Maintaining - Automatic documentation synchronization
- Easy Distribution - One-command sync to any project
Note: This project is located in the home directory at ~/.cursor
Prerequisites: Install Cursor IDE first
Quick Install:
# Using curl
bash <(curl -fsSL https://raw.githubusercontent.com/hacker-cb/.cursor/master/install.sh)
# Using wget
bash <(wget -qO- https://raw.githubusercontent.com/hacker-cb/.cursor/master/install.sh)The script will:
- Backup your existing
.cursordirectory - Install shared workspace configuration
- Automatically restore your personal settings
See INSTALL.md for detailed instructions and troubleshooting.
- Navigate to your project directory
- Run
sync-shared-rulesto get universal development rules - Run
manage-cursor-rulesto generate/validate project-specific rules - Review and customize rules in
.cursor/rules/
The setup process works for both new and existing projects - the commands automatically detect and adapt.
The shared rules provide universal guidance:
- Rules and commands management
- Version control and collaboration
- Development workflow (planning, features, bugs, refactoring)
- Code quality and standards
- Testing conventions
- Security practices
- Documentation standards
- Environment setup
- Release management
See rules/ directory for all shared rules.
Workflow templates that guide development tasks. All commands are framework-agnostic and adapt to your project.
Note: Only commands/shared/ is tracked by git. You can add your own custom commands to other folders in commands/ - they won't be synced or committed.
Workspace maintenance and setup:
| Command | Status | Description |
|---|---|---|
| sync‑shared‑rules | One-way sync of shared developer rules from this workspace (~/.cursor/rules/) to a target project's .cursor/rules/ directory. Handles conflicts interactively. |
|
| manage‑cursor‑rules | Analyze project and manage cursor rules. For new projects: generates rules from scratch. For existing: validates and refactors against current codebase, or quickly cleans up outdated content. | |
| display‑rules‑summary | Scan and display all Cursor rules with their apply modes, descriptions, and metadata. Helps understand which rules are active and their configuration. |
Version control and continuous integration workflows:
| Command | Status | Description |
|---|---|---|
| github‑workflows | Manage GitHub workflow runs with three operational modes: check status, auto-fix failures, or watch running workflows. Choose your workflow based on what you need to accomplish. |
Analysis and review workflows:
| Command | Status | Description |
|---|---|---|
| code‑review | Comprehensive code review workflow covering functionality, quality, security, performance, testing, and documentation to ensure changes meet project standards before merge | |
| analyze‑project‑structure | Comprehensive analysis of project architecture, dependencies, configuration, code quality, testing, security, and deployment setup with prioritized fix recommendations |
Testing coverage and security audit workflows:
| Command | Status | Description |
|---|---|---|
| add‑test‑coverage | Analyze project for test coverage gaps, suggest testing frameworks if missing, identify missing tests by priority, and implement tests systematically with user-guided selection | |
| security‑audit | Comprehensive security review to identify and fix vulnerabilities in dependencies, code, authentication, authorization, data handling, and infrastructure configuration using industry best practices |