Token导航 LogoToken导航TokenDH.com
待分类权限需确认github未标认证来源可访问许可证需确认审计通过

create-skill创造技能

Agent Skill

create-skill 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

272

周安装

11

GitHub Stars

17

下载量

85
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:create-skill(创造技能)
来源仓库:https://github.com/ronnycoding/.claude
仓库路径:skills/create-skill
安装命令:
npx skills add https://github.com/ronnycoding/.claude --skill create-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ronnycoding/.claude --skill create-skill

简介

create-skill 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 建议结合原始 README 核验具体用法和功能边界。

SKILL.md

name
create-skill
description
Guide for creating well-structured Claude Code skills with proper YAML frontmatter, focused descriptions, and supporting files. Use when the user wants to create a new skill, build a custom skill, extend Claude's capabilities, or mentions creating/designing/building skills.

Create Skill Guide

This skill helps you create new Claude Code skills following official best practices and standards.

Quick Start

When creating a new skill, follow this workflow:

  1. Understand the requirement - Ask clarifying questions about the skill's purpose
  2. Choose location - Determine if this is personal (~/.claude/skills/) or project (.claude/skills/)
  3. Create directory structure - Set up skill directory with SKILL.md and supporting files
  4. Write SKILL.md - Follow the format below
  5. Test activation - Verify the skill activates with appropriate user prompts

SKILL.md Format

Every skill requires a SKILL.md file with this structure:

---
name: skill-name-here
description: Brief description of what this skill does and when to use it (include trigger terms)
---

# Skill Title

Main skill instructions go here in Markdown format.

Frontmatter Requirements

Required fields:

  • name: Lowercase letters, numbers, hyphens only (max 64 characters)
  • description: What the skill does AND when to use it (max 1024 characters)

Optional fields:

  • allowed-tools: Comma-separated list to restrict tool access (e.g., "Read, Grep, Glob")

Description Best Practices

Write descriptions that help Claude discover when to activate the skill:

GOOD - Specific with trigger terms:

description: Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.

BAD - Too vague:

description: Helps with documents

Key principles:

  • Include both WHAT the skill does and WHEN to use it
  • Mention specific file types, workflows, or keywords users might say
  • Add trigger terms that distinguish this skill from similar ones
  • Be specific enough for Claude to autonomously decide to use it

Directory Structure Examples

Simple Skill (Instructions Only)

skill-name/
└── SKILL.md

Complex Skill (With Supporting Files)

skill-name/
├── SKILL.md
├── reference.md          # Additional documentation
├── examples.md          # Usage examples
├── scripts/
│   ├── helper.py
│   └── utilities.sh
└── templates/
    ├── template.txt
    └── sample.json

Referencing Supporting Files

Use relative paths within SKILL.md:

For advanced usage, see [reference.md](reference.md).

Run the helper script:

python scripts/helper.py input.txt


Use this template: [template.txt](templates/template.txt)

Claude loads supporting files progressively as needed to manage context efficiently.

Tool Restrictions

Restrict which tools Claude can use when the skill is active:

---
name: read-only-analyzer
description: Analyze code without making changes
allowed-tools: Read, Grep, Glob, Bash
---

This is useful for:

  • Security-sensitive workflows (read-only access)
  • Limited-scope skills (prevent unintended modifications)
  • Ensuring permission-free execution

Skill Locations

Personal skills (~/.claude/skills/):

  • Available across all projects
  • Private to your machine
  • Not version controlled

Project skills (.claude/skills/):

  • Shared with team via git
  • Project-specific capabilities
  • Automatically available when teammates pull changes

Plugin skills:

  • Bundled with installed plugins
  • Recommended for distribution

Creation Checklist

When creating a new skill, ensure:

  • [ ] SKILL.md exists with valid YAML frontmatter
  • [ ] Name uses only lowercase, numbers, and hyphens
  • [ ] Description includes BOTH what it does AND when to use it
  • [ ] Description mentions specific trigger terms/keywords
  • [ ] Description is under 1024 characters
  • [ ] Supporting files use Unix-style paths (forward slashes)
  • [ ] Instructions are clear and actionable
  • [ ] Tool restrictions are appropriate (if specified)
  • [ ] Directory is in correct location (personal vs project)

Testing Your Skill

After creating a skill:

  1. Restart Claude Code - Changes require restart to take effect
  2. Test activation - Use trigger terms from description to verify Claude activates it
  3. Check debug mode - Run claude --debug to see loading errors
  4. Verify instructions - Ensure the skill produces expected results

Common Issues

Skill not activating:

  • Description too vague - add specific trigger terms
  • Wrong file location - verify path matches ~/.claude/skills/ or .claude/skills/
  • Invalid YAML - check frontmatter syntax (opening/closing ---, proper indentation)

Supporting files not found:

  • Use Unix-style paths (forward slashes)
  • Verify relative paths are correct from SKILL.md location
  • Check file permissions

Tool access denied:

  • Review allowed-tools restrictions
  • Consider if restrictions are too limiting
  • Remove field entirely to allow all tools

Version History Template

Include in your SKILL.md for tracking changes:

## Version History

### v1.0.0 (2025-10-30)
- Initial release
- Core functionality for X, Y, Z

### v1.1.0 (2025-11-15)
- Added support for feature A
- Fixed bug in B
- Updated documentation

Sharing Skills

Best practice: Distribute via plugins for team access

Project sharing:

  1. Create skill in .claude/skills/skill-name/
  2. Commit to git
  3. Team members automatically get access on pull

Key Principles

  1. One skill, one purpose - Keep skills focused on specific capabilities
  2. Descriptive names - Use clear, searchable names
  3. Trigger-rich descriptions - Include keywords users would naturally say
  4. Progressive disclosure - Use supporting files for complex details
  5. Unix conventions - Always use forward slashes in paths
  6. Test thoroughly - Verify activation with real user prompts

Example: Creating a PDF Processing Skill

---
name: pdf-processor
description: Extract text and tables from PDF files, fill forms, merge PDFs, and convert to other formats. Use when working with PDF files or when user mentions PDFs, form filling, document extraction, or PDF conversion.
allowed-tools: Read, Write, Bash, Grep
---

# PDF Processor

This skill handles PDF file operations using various tools.

## Capabilities

- Extract text from PDFs
- Parse tables and structured data
- Fill PDF forms programmatically
- Merge multiple PDFs
- Convert PDFs to text/images

## Usage

When the user asks to work with PDF files, I will:

1. Check if required tools are installed (pdftotext, pdftk, etc.)
2. Perform the requested operation
3. Verify output and report results

## Examples

See [examples.md](examples.md) for detailed usage scenarios.

## Requirements

Requires installation of PDF utilities. See [reference.md](reference.md) for setup instructions.

Workflow Summary

When a user asks you to create a skill:

  1. Clarify requirements - What should the skill do? When should it activate?
  2. Choose location - Personal or project skill?
  3. Design structure - Simple (SKILL.md only) or complex (with supporting files)?
  4. Write frontmatter - Name and description with trigger terms
  5. Write instructions - Clear, actionable Markdown content
  6. Add supporting files - If needed (templates, scripts, docs)
  7. Set tool restrictions - If appropriate for security/scope
  8. Create the files - Write all content to correct location
  9. Provide testing guidance - How to verify it works

Remember: Skills are model-invoked. Claude autonomously decides when to use them based on the description, so make descriptions specific and keyword-rich.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.32%
按下载量换算30

Claude

30.19%
按下载量换算26

Cursor

19.95%
按下载量换算17

Gemini CLI

9.24%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills