Set up cursor-handbook in a new project by cloning, configuring, and validating the .cursor directory. Use when the user asks to install cursor-handbook, set up a new project, or bootstrap Cursor configuration.
Instalação
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Set up cursor-handbook in a new project by cloning, configuring, and validating the .cursor directory. Use when the user asks to install cursor-handbook, set up a new project, or bootstrap Cursor configuration.
Skill: Cursor Setup
Bootstrap cursor-handbook in any project — clone the repo, configure project settings, and validate the installation.
Trigger
When the user asks to set up cursor-handbook in a new project, install the Cursor configuration, or bootstrap the .cursor/ directory.
Prerequisites
git installed
Target project directory exists
No conflicting .cursor/ directory (or user consents to backup)
Usage
Run the bundled script from the target project root:
scripts/setup-cursor.sh
Environment Variables
CURSOR_CONFIG_REPO — Override the default repository URL (optional)
Steps
Step 1: Check Prerequisites
Verify git is installed
Check if .cursor/ already exists
If exists, ask user whether to back up and replace
Step 2: Run Setup
Execute scripts/setup-cursor.sh using the Shell tool
The script will:
Back up existing .cursor/ if needed
Clone cursor-handbook into .cursor/
Copy project.json.template to project.json
Make hook scripts executable
Step 3: Configure Project
Open .cursor/config/project.json
Guide the user to fill in:
project.name — project identifier
techStack.language — primary language (typescript, python, go, etc.)