cursor-hello-world
/cursor-hello-world
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".
- Author
- jeremylongshore ↗
- Repository
- tons-of-skills-marketplace ↗
- Licence
- MIT
- Last repository change
- 26.10.2026
Assessment and security
- Files in this package
- 4
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 3
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
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".
Triggers from the description
Original author description
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".
How it works
- Overview
- Instructions
- Setup
- Exercise 1: Tab Completion
- Exercise 2: Chat (Cmd+L)
- Exercise 3: Inline Edit (Cmd+K)
- Exercise 4: Composer (Cmd+I)
- Feature Comparison Summary
- Next Steps After Hello World
- Enterprise Considerations
SKILL.md preview
---
name: cursor-hello-world
description: '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".
'
allowed-tools: Read, Write, Edit, Bash(cmd:*)
version: 1.19.0
license: MIT
author: Jeremy Longshore <jeremy@intentsolutions.io>
tags:
- saas
- cursor
- cursor-hello
compatibility: Designed for Claude Code
---
# Cursor Hello World
## Overview
Practice Tab, Chat, Inline Edit, and Composer in a disposable sample project before using them on production code. Every proposed diff remains subject to normal review, tests, security checks, and repository rules.
## Instructions
1. Create a non-sensitive example project and enable the approved privacy setting.
2. Use one feature at a time, give clear constraints, and inspect every generated diff before accepting it.
3. Run focused tests/formatting after applying a change; reject or revert unexpected edits.
4. Move to real repositories only after rules, indexing exclusions, and review expectations are configured.
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:**
```
Write a TypeScript function that converts a nested object
to a flat key-value map with dot-separated keys.
Example: { a: { b: 1 } } → { "a.b": 1 }
```
**Debug a concept:**
```
Explain the difference between Promise.all() and Promise.allSettled()
with code examples showing when to use each.
```
Chat responds with explanations and code snippets. Click **Apply** on any code block to insert it into your editor.
## Exercise 3: Inline Edit (Cmd+K)
Open `src/utils.ts`. Select the `formatCurrency` function body. Press `Cmd+K`.
Type your instruction:
```
Add support for locale parameter with default 'en-US'.
Handle NaN input by returning '$0.00'.
```
Cursor shows the diff inline:
- Green = added lines
- Red = removed lines
Press `Cmd+Y` to accept, `Esc` to reject.
### Inline Edit Quick Tasks
Select any code and press `Cmd+K` with instructions like:
- `"Add TypeScript types"`
- `"Refactor to use early returns"`
- `"Add error handling"`
- `"Convert to async/await"`
- `"Add JSDoc documentation"`
## Exercise 4: Composer (Cmd+I)
Press `Cmd+I` to open Composer. Ask it to create a complete feature:
```
Create a simple task manager module:
1. src/types/task.ts - Task interface with id, title, completed, createdAt
2. src/services/task-service.ts - TaskService class with:
- addTask(title: string): Task
- completeTask(id: string): Task
- listTasks(): Task[]
- deleteTask(id: string): void
3. src/index.ts - Demo script that creates 3 tasks, completes one, lists all
Use in-memory storage (Map). Include TypeScript types throughout.
```
Composer shows all files it will create/modify. Review each diff, then click **Apply All**.
### Run the Result
```bash
npx tsx src/index.ts
```
## Feature Comparison Summary
| Feature | Shortcut | Use For | Scope |
|---------|----------|---------|-------|
| **Tab** | Automatic | Line/block completions while typing | Current cursor position |
| **Chat** | `Cmd+L` | Questions, explanations, code snippets | Conversation-based |
| **Inline Edit** | `Cmd+K` | Edit selected code with instructions | Selected code block |
| **Composer** | `Cmd+I` | Multi-file generation and refactoring | Multiple files |
## Next Steps After Hello World
1. **Add project rules**: Create `.cursor/rules/` with coding standards (see cursor-rules-config skill)
2. **Index your codebase**: Open a real project and wait for indexing (see cursor-codebase-indexing skill)
3. **Learn @-mentions**: Use `@Files`, `@Codebase`, `@Docs` in Chat (see cursor-context-management skill)
4. **Configure your model**: Try different models for different tasks (see cursor-model-selection skill)
## Enterprise Considerations
- Hello World exercises do not send sensitive code to AI providers -- safe for evaluation
- Enable Privacy Mode before using Cursor with production codebases
- Tab completions work immediately; Chat and Composer require active subscription or BYOK API key
## Output
- A small runnable sample change created through reviewed Cursor interactions.
- A demonstrated review loop: inspect diff, test, accept or revert, and retain source-control history.
## Error Handling
| Condition | Safe response |
|---|---|
| Generated diff touches unrelated files | Reject it, start a scoped request, and inspect active context/rules. |
| Output includes insecure or untested code | Do not accept it; request a constrained revision and use normal review/testing. |
| Sensitive material is included in context | Stop the session, remove the context, and follow the exposure procedure. |
## Examples
Ask Inline Edit to add a type to one selected function, inspect the proposed diff, then run the focused test. If it touches other files or violates project rules, reject it and restate the task with the exact file and acceptance condition.
## Resources
- [Cursor Getting Started](https://docs.cursor.com/get-started/overview)
- [Cursor Keyboard Shortcuts](https://docs.cursor.com/kbd)
- [Cursor Feature Overview](https://cursor.com/features)
Files in this package (4)
- SKILL.md 6 KB
- references/errors.md 1 KB
- references/examples.md 1 KB
- references/quick-start-(5-minutes).md 1 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · jeremylongshore/tons-of-skills-marketplace | 100 | MIT |
| HelixDevelopment/agent | 100 | MIT |
Identical content appears in 1 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version 06b05f2a8036 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 3 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100cursor-ai-chat
Master Cursor AI Chat with @-mentions, inline edit, and conversation patterns. Triggers on "cursor chat", "cursor ai chat", "ask cursor", "cursor conversation", "chat with cursor", "Cmd+L", "inline edit". - 100cursor-local-dev-loop
Optimize daily development workflow with Cursor IDE using Chat, Composer, Tab, and Git integration. Triggers on "cursor workflow", "cursor development loop", "cursor productivity", "cursor daily workflow", "cursor dev flow". - 100cursor-advanced-composer
Manage advanced Cursor Composer techniques for complex edits. Triggers on "advanced composer", "composer patterns", "multi-file generation", "composer refactoring". Use when working with cursor advanced composer functionality. Trigger with phrases like "cursor advanced… - 100cursor-ai-chat
Manage master Cursor AI chat interface for code assistance. Triggers on "cursor chat", "cursor ai chat", "ask cursor", "cursor conversation", "chat with cursor". Use when working with cursor ai chat functionality. Trigger with phrases like "cursor ai chat", "cursor chat", "cursor". - 100cursor-ai
Expert Cursor AI code editor assistance covering .cursorrules, Composer, Agent mode, inline edits, and semantic codebase indexing. Use when configuring AI pair programming workflows in Cursor. - 100makepad-basics
CRITICAL: Use for Makepad getting started and app structure. Triggers on: makepad, makepad getting started, makepad tutorial, live_design!, app_main!, makepad project setup, makepad hello world, "how to create makepad app", makepad 入门, 创建 makepad 应用, makepad 教程, makepad 项目结构