跳到正文
cccskills
免费在 GitHub 公开

skill-development

Create or repair Claude skills in the current local environment. Clarify when each skill should run, streamline SKILL.md, organize supporting files, and check that referenced resources exist so the instructions remain consistent and reusable.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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.

查看安装方法

适用场景

  • Create a Claude skill with a clear purpose
  • Improve descriptions that determine when a skill runs
  • Reorganize an overly long SKILL.md
  • Repair missing files and outdated local references

包含的文件(4)

  • SKILL.md4.4 KB
  • references/checklist.md640 B
  • references/integrity-checks.md610 B
  • references/skill-creator-original.md11.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Create and configure Claude Code agents using Markdown files with YAML configuration headers. Define when each agent should run, write its responsibilities and workflow, choose models and tools, and check configuration and triggering behavior.

中文简介正在准备中。当前显示英语简介。

  • Create a Claude Code subagent
  • Define triggering conditions with concrete examples
  • Configure an agent's model, color, and tools
Galaxy-Dawn/claude-scholar58412026年10月19日 更新

Add datasets, models, and other components to machine learning projects using consistent registration and creation patterns. The skill guides file placement, configuration, and automatic module loading so new components fit the project's established architecture.

中文简介正在准备中。当前显示英语简介。

  • Adding a registered Dataset class
  • Creating a model driven by configuration
  • Wiring registration and creation logic in a new module
Galaxy-Dawn/claude-scholar58412026年10月19日 更新

Investigate code errors through a structured process using reproduction steps, logs, and testable explanations. The workflow guides fault isolation, fixes, and follow-up checks, with common error patterns for Python, JavaScript/TypeScript, and Bash/Zsh.

中文简介正在准备中。当前显示英语简介。

  • Investigating an error using logs and reproduction steps
  • Finding why code broke after a recent change
  • Troubleshooting common shell script errors
Galaxy-Dawn/claude-scholar58412026年10月19日 更新

Check academic references for existence, accurate publication details, and support for the claims being cited. This guide explains how to verify sources, obtain bibliography entries, and flag references that cannot be confirmed.

中文简介正在准备中。当前显示英语简介。

  • Checking references suggested by AI
  • Verifying authors, titles, and publication years
  • Checking whether a paper supports a cited claim
Galaxy-Dawn/claude-scholar58412026年10月19日 更新

Review code changes and pull requests for correctness, security, performance, and test quality. The skill helps prioritize issues, write specific and constructive feedback, and create shared review checklists and standards for a development team.

中文简介正在准备中。当前显示英语简介。

  • Reviewing code changes and pull requests
  • Writing review comments with clear priorities and fixes
  • Creating shared review checklists for a team
Galaxy-Dawn/claude-scholar58412026年10月19日 更新

Create reusable slash commands, prompts invoked by typing a slash, for Claude Code. The skill explains Markdown structure, arguments, file references, tool permissions, and plugin integration so recurring tasks can follow a defined workflow.

中文简介正在准备中。当前显示英语简介。

  • Turning recurring prompts into slash commands
  • Creating review commands with arguments and file references
  • Sharing project-specific commands with a team
Galaxy-Dawn/claude-scholar58412026年10月19日 更新

查看 Galaxy-Dawn 的全部技能

报告此技能的问题