Skills Publishing and Team Sharing

A developed Skill must go through packaging, testing, and documentation before it can be distributed to team members or publicly released.

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


Pre-release Checklist

Confirm each item before release to avoid distributing incomplete or defective Skills.

Check ItemCheck ContentReference Section
Complete FunctionalityAll planned features are implemented and testedArticle 22
Error HandlingCommon error scenarios have handling and promptsArticle 16
Accurate DescriptionTrigger test pass rate ≥ 85%Article 24
Dependencies Declaredrequirements.txt or compatibility field is completeArticle 20
No hardcoded secretsNo sensitive information such as API keys or passwords in scriptsArticle 28
Version number updatedThe version field in SKILL.md has been updatedArticle 21
CHANGELOG updatedThis change has been recordedArticle 21
Debugging code removedNo temporary print statements, debug checkpoints, or TODOsArticle 23

Packaging as a .skill File

Before release, package the Skill directory into a.skillfile, 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 file is complete (list 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

Writing User Documentation

Provide complete user instructions at the end of SKILL.md or in a separate README.md.

# 数据分析助手 v1.2.0

## 这个 Skill 能做什么

上传 CSV 或 Excel 文件后,自动完成以下工作:
- 统计各列的行数、均值、最大/最小值、空值比例
- 生成数据质量报告,标注需要清理的问题列
- 输出带统计图表的 Excel 报告文件

## 快速开始

1. 在对话中上传你的数据文件(.csv 或 .xlsx)
2. 说:"帮我分析这份数据" 或 "生成统计报告"
3. 等待分析完成,下载生成的 Excel 报告

## 系统要求

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

## 常见问题

**Q:文件太大怎么办?**
建议文件不超过 50MB。更大的文件请先筛选或抽样后上传。

**Q:支持哪些编码?**
支持 UTF-8 和 GBK。若文件乱码,请另存为 UTF-8 后重新上传。

Distribution Channels

ChannelApplicable ScenariosOperation Method
Direct file transferInternal sharing within a small teamSend the .skill file, the recipient uploads it to Claude
Git repositoryTeam collaboration, requires version managementCommit to private/public repository, download from dist/
GitHub ReleasesFormal release, public sharingCreate a Release, attach the .skill file
Internal CI/CDAutomated distribution within an enterpriseCI packages and pushes to internal file server

Publishing via GitHub Releases

Example

# Create a Git tag and push
git tag v1.2.0 -m "Release v1.2.0: Added chart generation feature"
git push origin v1.2.0

# Create a Release with GitHub CLI 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 for the installation steps.

## 安装方法

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. 安装完成后,开始新对话即可使用

安装后,在对话中发送以下内容可以验证安装成功:

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

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