Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问clear审计提醒

example-skill示例技能

Agent Skill

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

总安装

1,896

周安装

79

GitHub Stars

94

下载量

632
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/sendaifun/skills --skill example-skill

简介

example-skill 用于处理 GitHub 仓库、Issue、Pull Request 等协作信息。

  • 它适合在开发或维护流程中自动整理代码变更、跟踪任务或同步协作状态。
  • 通过 npx skills add 命令从指定仓库安装,具体用法需结合原始 README 验证。
  • 使用前应确认是否具备对目标仓库的读取权限,避免越权操作。
  • 该技能为示例性质,生产环境中建议优先选用功能更明确的替代方案。

SKILL.md

Example Skill Template

This skill serves as a template and guide for creating new skills. It demonstrates the standard structure and best practices used by all skills in this codebase.

Overview

Every skill should provide:

  • Core Documentation - Main concepts and quick start guide in SKILL.md
  • API References - Detailed method/function documentation in resources/
  • Code Examples - Working code samples in examples/
  • Starter Templates - Ready-to-use setup files in templates/
  • Troubleshooting - Common issues and solutions in docs/

Required Structure

skill-name/
├── SKILL.md                    # Main skill file (required)
├── resources/                  # API references and detailed docs
│   ├── api-reference.md
│   └── program-addresses.md
├── examples/                   # Working code examples
│   └── feature-name/
│       └── example.ts
├── templates/                  # Starter templates
│   └── setup.ts
└── docs/                       # Guides and troubleshooting
    └── troubleshooting.md

SKILL.md Format

Frontmatter (Required)

Every SKILL.md must start with YAML frontmatter:

---
name: skill-name
description: Brief description of what this skill covers. Should be 1-2 sentences explaining the protocol/tool and main features.
---

Recommended Sections

# Protocol Name Development Guide

Brief introduction paragraph.

## Overview

Bullet points of main features:
- **Feature 1** - Description
- **Feature 2** - Description

## Program IDs (for Solana protocols)

| Program | Address |
|---------|---------|
| Main Program | `address` |

## Quick Start

### Installation

\`\`\`bash
npm install package-name
\`\`\`

### Basic Setup

\`\`\`typescript
// Setup code example
\`\`\`

## Core Features

Document each major feature with:
- Explanation
- Code examples
- Important notes

## Best Practices

- Security considerations
- Performance tips
- Common patterns

## Resources

- Links to official docs
- GitHub repositories
- Community resources

## Skill Structure

Show the actual file structure of this skill.

Writing Guidelines

Code Examples

  1. Always include imports - Show complete, runnable code
  2. Use TypeScript - Prefer .ts files with proper types
  3. Add comments - Explain non-obvious logic
  4. Handle errors - Show proper error handling patterns
  5. Use real addresses - Use actual program IDs, not placeholders

Documentation Style

  1. Be concise - Get to the point quickly
  2. Use tables - For lists of methods, addresses, parameters
  3. Show, don't tell - Prefer code examples over lengthy explanations
  4. Keep updated - Include version info and update dates

Resource Files

Create separate files in resources/ for:

  • Complete API method references
  • Program addresses and PDAs
  • Configuration options
  • Type definitions

Example Files

Examples in examples/ should be:

  • Self-contained and runnable
  • Well-commented
  • Cover common use cases
  • Include error handling

Template Files

Templates in templates/ should be:

  • Ready to copy and use
  • Include configuration options
  • Have placeholder values clearly marked
  • Include all necessary imports

Example Protocol Skill

Here's how a typical Solana protocol skill is structured:

---
name: protocol-name
description: Complete guide for Protocol Name - description of what it does.
---

# Protocol Name Development Guide

## Overview

Protocol Name provides:
- **Feature A** - What it does
- **Feature B** - What it does

## Program IDs

| Program | Address |
|---------|---------|
| Main | \`ProgramAddress111111111111111111111\` |

## Quick Start

### Installation

\`\`\`bash
npm install @protocol/sdk
\`\`\`

### Basic Setup

\`\`\`typescript
import { Protocol } from '@protocol/sdk';

const protocol = new Protocol(connection);
\`\`\`

## Core Operations

### Operation 1

\`\`\`typescript
// Code example
\`\`\`

### Operation 2

\`\`\`typescript
// Code example
\`\`\`

## Best Practices

- Practice 1
- Practice 2

## Resources

- [Official Docs](https://docs.protocol.com)
- [GitHub](https://github.com/protocol/sdk)

## Skill Structure

\`\`\`
protocol-name/
├── SKILL.md
├── resources/
│   ├── api-reference.md
│   └── program-addresses.md
├── examples/
│   └── basic/
│       └── example.ts
├── templates/
│   └── setup.ts
└── docs/
    └── troubleshooting.md
\`\`\`

Checklist for New Skills

  • SKILL.md with proper frontmatter
  • Overview section with feature list
  • Program IDs table (for Solana protocols)
  • Quick Start with installation and setup
  • Core operations with code examples
  • Best practices section
  • Resources with external links
  • Skill structure diagram
  • resources/ with API references
  • examples/ with working code
  • templates/ with starter template
  • docs/troubleshooting.md with common issues

Skill Structure

example-skill/
├── SKILL.md                    # This file
├── resources/
│   └── api-reference.md        # Example API reference format
├── examples/
│   └── basic/
│       └── example.ts          # Example code file
├── templates/
│   └── setup.ts                # Example template
└── docs/
    └── troubleshooting.md      # Example troubleshooting guide

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Gemini CLI

28.86%
按下载量换算182

Antigravity

21%
按下载量换算133

Claude Code

19.24%
按下载量换算122

Codex

11.9%
按下载量换算75

OpenCode

7.49%
按下载量换算47

cline

3.38%
按下载量换算21

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills