cursor-hello-world

Featured

Create your first project using Cursor AI features: Tab, Chat, Composer, and Inline Edit. Triggers on "cursor hello world", "first cursor project", "cursor getting started", "try cursor ai", "cursor basics", "cursor tutorial".

AI & Automation 2,274 stars 319 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Cursor Hello World A hands-on 10-minute walkthrough of Cursor's four core AI features: Tab Completion, Chat, Inline Edit, and Composer. ## Setup ```bash mkdir cursor-hello && cd cursor-hello npm init -y npm install typescript tsx @types/node --save-dev npx tsc --init ``` Open the project in Cursor: `cursor .` (or File > Open Folder). ## Exercise 1: Tab Completion Create `src/utils.ts`. Start typing and let Tab complete: ```typescript // Type this much: export function formatCurrency(amount: number, currency: string // Tab suggests: export function formatCurrency(amount: number, currency: string = 'USD'): string { return new Intl.NumberFormat('en-US', { style: 'currency', currency, }).format(amount); } ``` Press **Tab** to accept the full suggestion, or **Cmd+Right Arrow** to accept word-by-word. ### Try These Prompts for Tab Type a comment describing what you want, then start the function: ```typescript // Validate an email address using regex export function validateEmail( // Sort an array of objects by a key export function sortBy<T>( // Calculate the distance between two lat/lng points in km export function haversineDistance( ``` Tab reads your comment and generates the implementation. ## Exercise 2: Chat (Cmd+L) Open Chat with `Cmd+L`. Try these prompts: **Ask about your code:** ``` @src/utils.ts What does the formatCurrency function do? Does it handle edge cases like negative numbers or very large values? ``` **Generate new code:** ``` Wr...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category