跳到正文
Skillpedia
提示词与 LLM6.0k · #14507

skill-development

它能做什么

这项技能指导你在本地环境中创建和修复 Claude 技能。适合自己编写技能、并希望它们易于触发、组织良好的人。

适用场景

  • ✓当你想从零开始创建一个新的 Claude 技能时。
  • ✓当现有技能的触发描述需要改进,或其结构需要重新整理的时候。
  • ✓当某个技能提到已不存在的文件或智能体,需要清理的时候。

技能链接

https://github.com/Galaxy-Dawn/claude-scholar/blob/main/skills/skill-development/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/Galaxy-Dawn/claude-scholar/blob/main/skills/skill-development/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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.md layer,
  • backed by real references/, examples/, and scripts/ 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.md focused on workflow and boundaries.
  • Move detailed catalogs, templates, and long explanations into references/ or examples/.
  • 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:

  1. what the skill does,
  2. what triggers it,
  3. what it explicitly does not do,
  4. 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.md is 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 edit
  • references/integrity-checks.md - concrete local checks for missing files, dead references, and drift
  • references/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.

repo: Galaxy-Dawn/claude-scholar

热度

GitHub 星标
6.0k
排名
#14507
许可证
MIT
更新时间
2026/10/19

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能