跳到正文
cccskills
免费在 GitHub 公开

skill-creator

Create a custom Claude Code skill with a structured SKILL.md file and optional scripts, reference documents, and templates. Follow checks for metadata and usage examples, test a real task, and package the skill for distribution.

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

原文查看原文说明

Scaffold a new Claude Code skill with SKILL.md, frontmatter, and bundled resources. Use when creating a custom skill, standardizing skill structure across a team, or packaging a skill for distribution.

集成工具Slack
查看安装方法

适用场景

  • Creating a custom skill for a project
  • Standardizing skill structure across a team
  • Preparing a skill with scripts and templates
  • Validating and packaging a skill for distribution

包含的文件(3)

  • SKILL.md3.6 KB
  • scripts/init_skill.py5.5 KB
  • scripts/package_skill.py3.9 KB

SKILL.md(原文)

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

Skill creator

Generate new Claude Code skills with correct directory structure, YAML frontmatter, and optional bundled resources.

When to use

  • Creating a new custom skill for a project
  • Standardizing skill structure across a team
  • Generating skill templates with scripts, references, and assets
  • Packaging skills for distribution

Skill directory structure

skill-name/
├── SKILL.md          # Required: Main skill file with YAML frontmatter
├── scripts/          # Optional: Executable code for deterministic tasks
├── references/       # Optional: Documentation loaded contextually
└── assets/           # Optional: Templates, images, boilerplate (not loaded into context)

Workflow

1. Create the skill

Create a new skill called "my-skill-name" in ~/.claude/skills/

Or with a specific purpose:

Create a skill for generating release notes from git commits,
with templates for CHANGELOG.md and Slack announcements

Or via the initialization script:

python3 ~/.claude/skills/skill-creator/scripts/init_skill.py <skill-name> --path <output-directory>

2. Generated SKILL.md template

The created SKILL.md follows this structure:

---
name: skill-name
description: "What the skill does. Use when [trigger conditions]."
---

# Skill Name

## When to Use
- Trigger condition 1
- Trigger condition 2

## What This Skill Does
1. **Step 1**: Description
2. **Step 2**: Description

## How to Use
[Usage examples]

## Example
**User**: "Example prompt"
**Output**: [Example output]

3. Validate the skill

After creation, verify:

  1. Frontmatter: name is kebab-case, 1-64 chars; description is a quoted string with "Use when" clause
  2. Content: Has "When to Use" section with trigger conditions and at least one usage example
  3. Structure: SKILL.md is under 5000 words; references and assets are in correct subdirectories
  4. Test: Invoke the skill with a real use case and confirm expected output

4. Package for distribution (optional)

python3 ~/.claude/skills/skill-creator/scripts/package_skill.py <path/to/skill-folder> [output-directory]

Organizational patterns

PatternBest ForStructure
Workflow-BasedSequential proceduresStep-by-step instructions
Task-BasedMultiple operationsCollection of tasks
Reference/GuidelinesStandards, specsRules and examples
Capabilities-BasedInterrelated featuresFeature descriptions

Example: Creating a release notes skill

User: "Create a skill for generating release notes with 3 output formats"

Steps:

  1. Initialize: init_skill.py release-notes-generator --path ~/.claude/skills/
  2. Add templates to assets/: changelog-template.md, pr-release-template.md, slack-template.md
  3. Add rules to references/: tech-to-product-mappings.md
  4. Complete SKILL.md with usage instructions
  5. Validate: check frontmatter, test with a real commit range
  6. Package: package_skill.py ~/.claude/skills/release-notes-generator

Tips

  • Keep SKILL.md under 5000 words for efficient context usage
  • Use references/ for domain knowledge that doesn't change often
  • Put templates in assets/ so they're not auto-loaded into context
  • Always include a "Use when" clause in the description frontmatter
  • Test with real use cases before packaging

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Evaluate Claude Code agents, skills, and commands with weighted quality criteria. Get scores, readiness grades, template comparisons, and practical improvement suggestions in Markdown or JSON reports to guide reviews before release.

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

  • Review skills before release
  • Compare agent definitions with reference templates
  • Quickly check critical quality criteria
FlorianBruniaux/claude-code-ultimate-guide62072026年10月20日 更新

Assess a codebase across seven areas, including exposed credentials, security, dependencies, structure, and tests. Receive category scores, findings tied to file locations, and a prioritized improvement plan with smaller tasks that can be completed quickly.

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

  • Assessing the overall health of an inherited project
  • Reviewing exposed credentials and security risks
  • Identifying dependency and test coverage gaps
FlorianBruniaux/claude-code-ultimate-guide62072026年10月20日 更新

Measure code patterns such as casts to any or disabled lint rules, then run repeated, targeted edits. Keep changes that improve the chosen metric, revert unsuccessful changes, and track results for each improvement loop.

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

  • Finding code patterns to prioritize for cleanup
  • Preparing measurement files for an improvement loop
  • Repeating targeted edits to reduce casts to any
FlorianBruniaux/claude-code-ultimate-guide62072026年10月20日 更新

best-of-n

免费

Generate several separate solutions, compare them against criteria fixed in advance, and verify the selected result through executable checks or an independent reviewer. Keep a proof log documenting candidates, evidence, failures, and remaining limits.

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

  • Comparing implementation options before choosing one
  • Verifying a solution when a wrong choice would be costly
  • Keeping evaluation evidence for delivery or audit
FlorianBruniaux/claude-code-ultimate-guide62072026年10月20日 更新

canary

免费

Monitor a live application after deployment and compare it with a saved baseline, a record of its earlier state. Check page responses, loading times, and new errors, flag persistent changes, and produce a per-page health report.

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

  • Recording a healthy baseline before deployment
  • Monitoring production immediately after deployment
  • Checking key pages for slower responses or failures
FlorianBruniaux/claude-code-ultimate-guide62072026年10月20日 更新

catchup

免费

Rebuild project context after clearing a conversation or returning to work. Review recent Git history, uncommitted changes, and TODO markers to get a structured summary of project status and suggested next steps.

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

  • Restoring project context after /clear
  • Reviewing recent changes after a long break
  • Checking unfinished work before choosing the next task
FlorianBruniaux/claude-code-ultimate-guide62072026年10月20日 更新

查看 FlorianBruniaux 的全部技能

报告此技能的问题