Install
Claude Code
Setting up Claude Code in Cursor IDE with Supabase Agent Skills
Claude Code is Anthropic's official CLI tool that helps with software engineering tasks. Combined with Supabase Agent Skills, it provides intelligent assistance for building and optimizing your SvelteShip application.
Install Claude Code
Install Claude Code globally using npm:
Configure Cursor IDE
- Open Cursor IDE and go to Settings (Cmd/Ctrl + ,)
- Navigate to Features > Claude Code
- Enable Claude Code integration
- Enter your Anthropic API key when prompted
NOTEYou can get an API key from the Anthropic Console.
Install Supabase Agent Skills
Supabase Agent Skills enhance Claude Code with Postgres optimization guidelines and Supabase best practices. Install using the skills CLI:
Or install directly in Claude Code:
Verify Installation
The Supabase skills activate automatically when Claude Code detects relevant tasks. Test by asking Claude Code to help with:
- Optimizing database queries
- Reviewing your Supabase schema
- Adding proper indexes to tables
- Implementing Row Level Security (RLS) policies
Available Skills
The supabase-postgres-best-practices skill provides optimization guidelines across 8 categories:
When working with your SvelteShip database, Claude Code will automatically apply these best practices to help you write efficient queries and maintain a well-structured schema.
Example Usage
Once installed, you can ask Claude Code questions like:
- "Optimize this Supabase query for better performance"
- "Review my database schema for potential issues"
- "Help me add proper indexes to my users table"
- "Set up RLS policies for my profiles table"
For more information, visit the Supabase Agent Skills repository.
