Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Skills Publishing and Team Sharing

Skills Publishing and Team Sharing

A completed Skill needs to be packaged, tested, and documented before it can be distributed to team members or published publicly.

This article introduces the complete process from development completion to go-live release.


Pre-release Checklist

Check item by item before release to avoid distributing incomplete or defective Skills.

Check item Check content Reference Chapter
Complete functionality All planned features are implemented and tested Article 22
Error handling Common error scenarios are handled with prompts Article 16
Accurate Description Trigger test pass rate ≥ 85% Article 24
Dependencies declared requirements.txt or compatibility field complete Article 20
No hardcoded secrets No sensitive information such as API keys or passwords in scripts Article 28
Version number updated version field in SKILL.md updated Article 21
CHANGELOG updated This change recorded Article 21
Debug code removed No temporary print statements, debug checkpoints, or to-do markers Article 23

Package as a .skill file

Before release, the Skill directory must be packaged as a .skill file, which is the standard distributable format.

Example

Basic Packaging Command

python

-m

scripts.package_skill my-skill

/

Specify output path and version number

python

-m

scripts.package_skill my-skill

/

\

 

--output

dist

/

my-skill-v1.2.0.skill \

 

--version

1.2.0

After packaging, verify the files are complete (list the files in the package)

python

-m

scripts.package_skill

--list

dist

/

my-skill-v1.2.0.skill



打包完成:dist/my-skill-v1.2.0.skill(共 8 个文件,42KB)

包含:

  SKILL.md

  scripts/process.py

  scripts/requirements.txt

  assets/template.xlsx


Write User Documentation

At the end of SKILL.md or in a separate README.md, provide complete user instructions.



# Data Analysis Assistant v1.2.0



## What can this Skill do?



After uploading CSV or Excel files, automatically perform the following tasks:

- 统计各列的行数、均值、最大/最小值、空值比例

- 生成数据质量报告,标注需要清理的问题列

- 输出带统计图表的 Excel 报告文件



## Quick Start



1. 在对话中上传你的数据文件(.csv 或 .xlsx)

2. 说:"帮我分析这份数据" 或 "生成统计报告"

3. 等待分析完成,下载生成的 Excel 报告



## System Requirements



- Python 3.8+

- pandas >= 2.0(首次运行时自动安装)



## Frequently Asked Questions



**Q: What to do if the file is too large?**

建议文件不超过 50MB。更大的文件请先筛选或抽样后上传。



What encodings are supported?

支持 UTF-8 和 GBK。若文件乱码,请另存为 UTF-8 后重新上传。


Distribution channels

Channel Applicable scenarios Operation
Direct file transfer Internal sharing in small teams Send the .skill file and have the other party upload it to Claude
Git repository Team collaboration requiring version management Commit to a private/public repository and download from dist/
GitHub Releases Formal release, public sharing Create a Release with the .skill file attached
Internal CI/CD Enterprise internal automated distribution CI packages and pushes to an internal file server

Publish via GitHub Releases

Example

Create and push a Git tag

git tag

v1.2.0

-m

"Release v1.2.0: added chart generation feature"

git push

origin v1.2.0

Use GitHub CLI to create a Release and attach the .skill file

gh release create v1.2.0 \

  dist

/

my-skill-v1.2.0.skill \

 

--title

"My Skill v1.2.0"

\

 

--notes

"Added chart generation feature, fixed memory issue in large file processing"


Installation Guide Page Template

If your Skill is intended for multiple users, you can write a concise guide specifically for the installation steps.



## Installation Method



1. 前往 [Release 页面](https://github.com/yourname/skills/releases/latest)

2. 下载 `my-skill-v1.2.0.skill` 文件

3. 打开 Claude.ai → Settings(设置)→ Skills

4. 点击"上传 Skill",选择下载的 .skill 文件

5. 安装完成后,开始新对话即可使用



After installation, sending the following content in the conversation can verify successful installation:



> "我上传了一个 CSV 文件,请帮我做数据统计分析"



若 Skill 正常工作,Claude 会按照 Skill 的流程引导你完成分析。