create-plugin-scaffold
它能做什么
让助手为新的 Cursor 插件搭建初始文件。适合希望构建并分享插件的开发者。
适用场景
- ✓当你想从零开始创建一个新的 Cursor 插件时。
- ✓当你需要把插件添加到包含多个插件的代码仓库中时。
- ✓当你希望在编码之前就正确创建文件夹结构和清单文件时。
技能链接
https://github.com/cursor/plugins/blob/main/create-plugin/skills/create-plugin-scaffold/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在我的本地插件文件夹中创建一个名为 daily-notes 的新 Cursor 插件。”
每周 5 个新技能,1 分钟读完。
工作原理
助手会检查插件名称,创建包含清单文件、README 和许可证的文件夹,并添加你选择的组件文件夹。默认使用你本地的 Cursor 插件文件夹。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Create plugin scaffold
Trigger
You need to create a new Cursor plugin from scratch and make it ready for local use or marketplace submission.
Required Inputs
- Plugin name (lowercase kebab-case)
- Plugin purpose and target users
- Component set to include (
rules,skills,agents,commands,hooks,mcpServers) - Repository style (
single-pluginormulti-plugin marketplace)
Output Location
By default, create the plugin inside the user's local plugin directory:
~/.cursor/plugins/local/<plugin-name>/
This path makes the plugin immediately available to Cursor without any install step. If the user explicitly asks to create the plugin elsewhere (e.g. inside an existing repo or a specific directory), respect that choice instead.
Workflow
- Validate plugin name format: lowercase kebab-case, starts and ends with an alphanumeric character.
- Determine the target directory:
- Default:
~/.cursor/plugins/local/<plugin-name>/ - Override: use the path the user specifies, if any.
- Create the directory (and parents) if it does not exist.
- Default:
- Create base files inside the target directory:
.cursor-plugin/plugin.jsonREADME.mdLICENSE- optional
CHANGELOG.md
- Populate
plugin.json:- Required:
name - Recommended:
version,description,author,license,keywords - Add explicit component paths only when non-default discovery is needed.
- Required:
- Create component files with valid frontmatter:
- Rules:
.mdcwithdescription,alwaysApply, optionalglobs - Skills:
skills/<skill-name>/SKILL.mdwithname,description - Agents:
agents/*.mdwithname,description - Commands:
commands/*.(md|txt)withname,description
- Rules:
- If repository uses
.cursor-plugin/marketplace.json, add plugin entry:namesource- optional metadata (
description,keywords,category,tags)
- Ensure all manifest paths are relative, valid, and do not use absolute paths or parent traversal.
Guardrails
- Keep the plugin focused on one use case.
- Prefer concise, actionable skill and rule text over long prose.
- Do not reference files that do not exist.
- Use folder discovery defaults unless custom paths are required.
- Always save to
~/.cursor/plugins/local/<plugin-name>/unless the user provides a different path.
Output
- Created file tree for the plugin (with full path to the output directory)
- Final
plugin.json - Marketplace entry (if applicable)
- Short validation report of required fields and component metadata
- Confirmation that the plugin is saved under
~/.cursor/plugins/local/and ready for use
常见问题
插件创建在哪里?
默认在你本地的 Cursor 插件文件夹中,以插件名称命名,除非你选择其他位置。
需要什么名称格式?
名称必须是小写的 kebab-case 格式,例如 daily-notes。
它可以包含哪些部分?
根据你的选择,可以包括规则、技能、智能体、命令、钩子和 MCP 服务器设置。
详情
作者的原始描述
Create a new Cursor plugin scaffold with a valid manifest, component directories, and marketplace wiring. Use when starting a new plugin or adding a plugin to a multi-plugin repository.
repo: cursor/plugins
热度
- GitHub 星标
- 15k
- 排名
- #10927
- 许可证
- —
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
advisor
15k如果你开启该功能,让你的智能体在关键节点咨询一个更强的第二模型,例如在重大决定之前,或在错误上卡住时。
check-agent-compatibility
15k全面检查 AI 编程智能体能否启动、验证和记录某个代码仓库,并返回一个兼容性评分以及主要问题。
cli-for-agents
15k教你的智能体设计或审查命令行工具,使 AI 智能体无需提示即可运行,并提供清晰的帮助文字和示例。
continual-learning
15k通过把回顾过往对话的工作交给专门的记忆更新程序,使你的 AGENTS.md 笔记保持最新。