Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计通过

cursor-skill-creatorCursor 技能 creator

Agent Skill

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

总安装

371

周安装

15

GitHub Stars

2,193

下载量

116
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/tech-leads-club/agent-skills --skill cursor-skill-creator

简介

该技能指导创建符合 Cursor 模式的 Agent Skill,适用于简单单步操作封装。

  • 适用于将重复性任务转化为可复用技能,或注入领域知识的场景。
  • 技能为 SKILL.md 文件,存放于 .cursor/skills/ 或用户目录,描述简短明确。
  • 不适合复杂多步任务,此类应使用 subagent;需遵循触发条件和输出格式规范。
  • cursor-skill-creator 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Cursor Skill Creator

You are an expert in creating Agent Skills following Cursor's pattern.

When to Use This Skill

Use this skill when the user asks to:

  • Create a new skill
  • Package domain-specific knowledge
  • Create reusable capabilities for the agent
  • Transform a repetitive process into a skill
  • Create quick, one-off actions (not complex tasks with multiple steps)

DO NOT use for complex tasks that require multiple steps - for those, use subagents.

Skill Structure

A skill is a SKILL.md file inside a folder in .cursor/skills/ (project) or ~/.cursor/skills/ (user).

File Format

---
description: Short and objective description of what the skill does and when to use it (appears in menus). This description is used by the agent to decide when to apply the skill.
name: Readable Skill Name (optional - if omitted, uses folder name)
---

# Skill Title

Detailed instructions for the agent on how to use this skill.

## When to Use

- Use this skill when...
- This skill is useful for...
- Apply in situations where...

## Step-by-Step Instructions

1. First do this...
2. Then do that...
3. Finish with...

## Conventions and Best Practices

- Always do X
- Never do Y
- Prefer Z when...

## Examples (optional)

### Example 1: Example Title

Input:

example input

Expected output:

example output

## Important Notes

- Important note 1
- Important note 2

Skill Creation Process

When creating a skill, follow these steps:

1. Understand the Purpose

  • What specific problem does the skill solve?
  • When should the agent use this skill?
  • Is it a one-off/quick task (skill) or complex/multi-step (subagent)?
  • Who will use it (specific project or all projects)?

2. Choose the Location

  • Project: .cursor/skills/skill-name/SKILL.md - only for the current project
  • User: ~/.cursor/skills/skill-name/SKILL.md - available in all projects

Naming convention:

  • Use kebab-case (words-separated-by-hyphens)
  • Be descriptive but concise
  • Examples: format-imports, generate-tests, review-security

3. Write the Description

The description is CRITICAL - it determines when the agent uses the skill.

Good descriptions:

  • "Formats TypeScript imports in alphabetical order and removes duplicates"
  • "Generates Jest unit tests for React components following project patterns"
  • "Reviews code for common security vulnerabilities (SQL injection, XSS, CSRF)"

Bad descriptions (avoid):

  • "Helps with code" (too vague)
  • "Does useful things" (not specific)
  • "General skill" (no context of when to use)

Formula for good descriptions:

[Specific action] + [in which context] + [following which criteria/patterns]

4. Structure the Instructions

The instructions should be:

  • Specific: Clear and unambiguous steps
  • Actionable: The agent can execute directly
  • Focused: One clear responsibility
  • Complete: Include all necessary details

Organize into sections:

  1. When to Use: Clear triggers for application
  2. Main Instructions: Detailed step-by-step
  3. Conventions: Domain-specific rules and patterns
  4. Examples: Concrete use cases (optional but useful)
  5. Notes: Warnings, limitations, special cases

5. Be Concise but Complete

  • Avoid long, rambling prompts (dilute focus)
  • Be direct and specific
  • Use lists and clear structure
  • Include concrete examples when useful

6. Test and Refine

After creating the skill:

  1. Test by making a prompt that should trigger the skill
  2. Verify that the agent uses the skill correctly
  3. Refine the description if the skill isn't triggered when expected
  4. Adjust instructions if behavior isn't as expected

Best Practices

✅ DO

  • Be specific in scope: One skill = one clear responsibility
  • Invest in the description: It's how the agent decides to use the skill
  • Use clear structure: Headers, lists, examples
  • Add to version control: Share with the team
  • Start simple: Add complexity as needed
  • Use concrete examples: Demonstrate expected behavior

❌ AVOID

  • Generic skills: "Helps with general tasks" is not useful
  • Long prompts: 2000 words don't make the skill smarter
  • Duplicating slash commands: If it's single-purpose, maybe a command is better
  • Too many skills: Start with 2-3 focused ones, add when needed
  • Vague descriptions: "Use for general tasks" gives no signal to the agent
  • Complex tasks: If it requires multiple steps and isolated context, use subagent

Skills vs Subagents vs Slash Commands

Use this decision tree:

Is task single-purpose and instant?
├─ YES → Is it a custom command?
│         ├─ YES → Use slash command
│         └─ NO → Use skill
│
└─ NO → Does it require multiple steps and isolated context?
          ├─ YES → Use subagent
          └─ NO → Use skill

Examples:

  • Skill: "Generate a changelog based on commits since last tag"
  • Skill: "Format all imports following the style guide"
  • Subagent: "Implement complete OAuth authentication with tests"
  • Subagent: "Investigate and fix all failing tests"
  • Slash Command: /fix to fix linter errors

Quick Template

Use this template when creating a skill:

---
description: [Specific action] for [context] following [pattern/criteria]
---

# [Skill Name]

You are an expert in [specific domain].

## When to Use

Use this skill when:

- [Trigger 1]
- [Trigger 2]
- [Trigger 3]

## Process

1. [Step 1]
2. [Step 2]
3. [Step 3]

## Criteria and Conventions

- [Rule 1]
- [Rule 2]
- [Rule 3]

## Output Format (if applicable)

[Describe the expected output format]

Well-Structured Skill Examples

Example 1: Import Formatter

---
description: Organizes and formats JavaScript/TypeScript imports in alphabetical order, groups by type (external, internal, types) and removes duplicates.
---

# Import Formatter

## When to Use

- When finishing a file with disorganized imports
- When asked to "organize imports"
- Before commits to maintain consistency

## Process

1. Identify all import statements
2. Classify into groups:
   - External (node_modules)
   - Internal (relative paths and aliases)
   - Types (import type)
3. Sort alphabetically within each group
4. Remove duplicates
5. Add blank line between groups

## Expected Format

// External import { useState } from "react"; import axios from "axios";

// Internal import { Button } from "@/components/Button"; import { utils } from "../utils";

// Types import type { User } from "@/types";

### Example 2: Changelog Generator

description: Generates formatted changelog based on Git commits since last tag, categorizing by type (feat, fix, docs, etc.) following Conventional Commits.


Changelog Generator

When to Use

  • When preparing a release
  • When asked to "generate changelog"
  • To document changes between versions

Process

  1. Fetch commits since last git tag
  2. Parse messages following Conventional Commits
  3. Categorize by type:

- ✨ Features (feat:) - 🐛 Fixes (fix:) - 📚 Docs (docs:) - 🔧 Chore (chore:) - ♻️ Refactor (refactor:)

  1. Format in markdown with bullet points
  2. Include breaking changes in separate section

Output Format

## [Version] - [Date]

### ✨ Features
- feat(auth): add OAuth login
- feat(api): endpoint for file upload

### 🐛 Fixes
- fix(ui): fix responsive menu
- fix(db): resolve race condition in transactions

### 📚 Documentation
- docs: update README with new endpoints

### ⚠️ BREAKING CHANGES
- feat(api)!: remove endpoint /v1/legacy
## Creation Outputs

When creating a skill, you should:

1. **Create the directory**: `.cursor/skills/[skill-name]/`
2. **Create the file**: `SKILL.md` inside the directory
3. **Confirm location**: Inform where the skill was created
4. **Explain usage**: How to test/use the skill
5. **Suggest improvements**: If relevant, suggest refinements

## Quality Checklist

Before finalizing a skill, verify:

- [ ] Description is specific and clear about when to use
- [ ] Folder name uses kebab-case
- [ ] Instructions are actionable and unambiguous
- [ ] Scope is focused (one responsibility)
- [ ] Concrete examples are included (if applicable)
- [ ] Sections are well organized
- [ ] It's not a complex task (that should be a subagent)
- [ ] Output format is clear (if applicable)

## Output Messages

When creating a skill, inform the user:

✅ Skill created successfully!

📁 Location:.cursor/skills/[name]/SKILL.md 🎯 Purpose: [brief description] 🔧 How to test: [example prompt that should trigger the skill]

💡 Tip: The agent will use this skill automatically when it detects [context]. You can also mention it explicitly in prompts.

---

## Remember

Skills are for **reusable knowledge and one-off actions**. For complex tasks with multiple steps, delegation, and isolated context, use **subagents** instead of skills.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.65%
按下载量换算39

Claude

31.14%
按下载量换算36

Cursor

16.56%
按下载量换算19

Gemini CLI

9.46%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills