skill-development
它能做什么
这项技能指导你在本地环境中创建和修复 Claude 技能。适合自己编写技能、并希望它们易于触发、组织良好的人。
适用场景
- ✓当你想从零开始创建一个新的 Claude 技能时。
- ✓当现有技能的触发描述需要改进,或其结构需要重新整理的时候。
- ✓当某个技能提到已不存在的文件或智能体,需要清理的时候。
技能链接
https://github.com/Galaxy-Dawn/claude-scholar/blob/main/skills/skill-development/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我创建一个新的 Claude 技能,用来撰写每周进度更新,并附上清晰的触发描述。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先检查本地已有的技能和工具,确定技能的任务和边界,然后撰写精简的主文件,只在必要时添加参考文件。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Skill Development
Use this skill to create or repair Claude skills in the current local environment, not in an abstract plugin template.
Goal
Produce a skill that is:
- easy to trigger,
- lean at the
SKILL.mdlayer, - backed by real
references/,examples/, andscripts/files when they are mentioned, - free of dead local references.
Core rules
- Keep one skill = one durable job.
- Treat the frontmatter description as the main trigger surface.
- Keep
SKILL.mdfocused on workflow and boundaries. - Move detailed catalogs, templates, and long explanations into
references/orexamples/. - Do not mention files that do not exist.
- Do not inherit stale names, agents, or sibling skill references without verifying they exist locally.
Default workflow
1. Inspect the current environment first
Before writing anything:
- inspect the target skill directory,
- inspect neighboring skills that already solve a similar problem,
- verify which agents, commands, and sibling skills actually exist,
- identify stale references before adding new ones.
Use the local inventory as the authority. Do not write guidance against an imagined plugin layout.
2. Lock the skill contract
Define four things before editing:
- what the skill does,
- what triggers it,
- what it explicitly does not do,
- which bundled resources are actually needed.
If the skill only needs a short workflow, keep it short. Do not create references/, examples/, or scripts/ just because the directories are conventional.
3. Write or repair the frontmatter
The frontmatter should:
- use the real skill identifier in
name, - use a third-person trigger description,
- include concrete phrases a user would naturally say,
- stay short enough to scan quickly.
Prefer descriptions of this form:
---
name: skill-name
description: This skill should be used when the user asks to "...", "...", or needs help with ....
---
4. Keep the main file lean
A good SKILL.md should usually contain:
- a short goal section,
- role boundaries,
- a default workflow,
- safety or quality rules,
- a short list of additional resources.
Move these out of the main file when they get long:
- templates,
- exhaustive checklists,
- edge-case catalogs,
- sample outputs,
- long examples.
5. Add only real bundled resources
Use bundled resources deliberately:
references/for detailed guidance that may be loaded selectively,examples/for real example outputs or scaffolds,scripts/for deterministic helper logic.
If a resource is mentioned in SKILL.md, it must exist.
If a resource exists but is never referenced or used, delete it.
6. Run integrity checks before closing
At minimum, verify:
- frontmatter parses,
- referenced local files exist,
- sibling skill or agent references are real,
SKILL.mdis not overloaded with material that belongs in references,- temporary logs, caches, and editor artifacts are not left inside the skill directory.
Typical repair patterns
When the skill is too long
- keep the trigger and workflow in
SKILL.md, - move catalogs and deep detail into
references/, - keep a short read order so another model knows what to load first.
When the skill is too thin
- add a default workflow,
- add at least one concrete example or checklist,
- make the boundaries explicit so the skill is not just a slogan.
When the skill has stale references
- remove dead paths immediately,
- replace historical names with current local names,
- re-check neighboring agents/commands/skills against the live directory.
Recommended output shape
When creating or repairing a skill, prefer ending with:
- what changed,
- which files were created or updated,
- what integrity checks were run,
- what still needs manual follow-up, if anything.
References
Load only what is needed:
references/checklist.md- compact quality checklist before closing a skill editreferences/integrity-checks.md- concrete local checks for missing files, dead references, and driftreferences/skill-creator-original.md- legacy background reference; use for context, not as the live source of truth
常见问题
什么样的触发描述才好?
描述是主要的触发条件,因此应清楚说明何时应该使用这项技能。
每项技能只做一件事吗?
是的。指导原则是一项技能只承担一项持久的任务。
较长的细节放在哪里?
较长的目录、模板和说明放在参考或示例文件中,而不放在主文件里。
详情
作者的原始描述
This skill should be used when the user asks to create a new skill, repair an existing skill, improve trigger descriptions, reorganize skill structure, or make a Claude skill more reusable and internally consistent.
热度
- GitHub 星标
- 6.0k
- 排名
- #14507
- 许可证
- MIT
- 更新时间
- 2026/10/19
评论
- …
同一仓库的更多技能
agent-identifier
6.0k教你的智能体创建 Claude Code 智能体,正确编写其名称、触发描述、系统提示词和设置。
architecture-design
6.0k教你的智能体掌握机器学习项目代码的标准结构,在添加可注册组件时使用工厂和注册表模式。
bug-detective
6.0k帮你的智能体用清晰的方法找出并修复代码错误:先理解问题,收集证据,验证想法,再确认修复结果。
citation-verification
6.0k教你的智能体对照可信的学术来源检查论文中的每条引用,找出虚假或错误的参考文献。