Token导航 LogoToken导航TokenDH.com
前端设计敏感数据github未标认证来源可访问许可证需确认审计通过

cursor-hello-worldCursor hello world 命令行

Agent Skill

cursor-hello-world 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

618

周安装

26

GitHub Stars

2,075

下载量

216
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cursor-hello-world(Cursor hello world 命令行)
来源仓库:https://github.com/jeremylongshore/claude-code-plugins-plus-skills
仓库路径:skills/cursor-hello-world
安装命令:
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill cursor-hello-world
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill cursor-hello-world

简介

该技能提供 Cursor IDE 核心 AI 功能的十分钟实战演练,涵盖 Tab 补全、聊天、内联编辑和 Composer 多文件编辑。

  • 适合新用户快速上手 Cursor 的 AI 编码能力,理解其交互模式和最佳实践。
  • 包含 TypeScript 项目初始化、代码补全示例和实际练习,帮助用户熟悉 Ghost Text 界面。
  • 需在本地创建项目目录并完成依赖安装后,在 Cursor 中打开文件夹开始练习。
  • cursor-hello-world 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Cursor Hello World

A hands-on 10-minute walkthrough of Cursor's four core AI features: Tab Completion, Chat, Inline Edit, and Composer.

Setup

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:

// 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:

// 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

npx tsx src/index.ts

Feature Comparison Summary

FeatureShortcutUse ForScope
TabAutomaticLine/block completions while typingCurrent cursor position
ChatCmd+LQuestions, explanations, code snippetsConversation-based
Inline EditCmd+KEdit selected code with instructionsSelected code block
ComposerCmd+IMulti-file generation and refactoringMultiple 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

Resources

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.13%
按下载量换算76

Claude

30.87%
按下载量换算67

Cursor

19.93%
按下载量换算43

Gemini CLI

9.34%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills