cat > /mnt/user-data/outputs/2026-05-18/skills-ecosystem.html << 'HTMLEOF'

Custom Skills Ecosystem Setup

After a team has accumulated multiple Skills, how to uniformly organize, manage, and distribute them is the core issue in building a "private Skill ecosystem."


Three Levels of the Ecosystem

LevelContentGoal
Skill LibraryA Git repository that centrally manages all SkillsVersion control, traceability
Distribution MechanismStorage and distribution channel for .skill package filesAllows team members to install quickly
Documentation CenterUsage instructions and applicable scenarios for each SkillReduces learning costs

Unified Repository Structure

It is recommended to place all team Skills in the same Git repository, using directories to isolate different Skills.

skills-repo/
├── README.md                  # 仓库总览,列出所有 Skill
├── .github/
│   └── workflows/
│       └── package.yml        # CI:自动打包 .skill 文件
├── skills/
│   ├── data-analyzer/         # Skill 1
│   │   ├── SKILL.md
│   │   └── scripts/
│   ├── doc-generator/         # Skill 2
│   │   ├── SKILL.md
│   │   └── scripts/
│   └── code-reviewer/         # Skill 3
│       ├── SKILL.md
│       └── scripts/
├── dist/                      # 打包好的 .skill 文件
│   ├── data-analyzer.skill
│   ├── doc-generator.skill
│   └── code-reviewer.skill
└── tools/
    └── build_all.sh           # 批量打包脚本

Batch Packaging Script

Example

#!/bin/bash
# File path: tools/build_all.sh
# Package all Skills into .skill files, output to the dist/ directory

set -e  # Exit immediately on error

SKILLS_DIR="skills"
DIST_DIR="dist"
mkdir -p "$DIST_DIR"

echo "Start packaging all Skills..."

for skill_dir in "$SKILLS_DIR"/*/; do
    skill_name=$(basename "$skill_dir")
    echo " Packaging:$skill_name"

    python -m scripts.package_skill "$skill_dir" \
      --output "$DIST_DIR/${skill_name}.skill"

    echo " Completed:$DIST_DIR/${skill_name}.skill"
done

echo ""
echo "All packaging complete, a total of$(ls $DIST_DIR/*.skill | wc -l)Skills."
开始打包所有 Skill...
  正在打包:data-analyzer
  完成:dist/data-analyzer.skill
  正在打包:doc-generator
  完成:dist/doc-generator.skill
  正在打包:code-reviewer
  完成:dist/code-reviewer.skill

全部打包完成,共 3 个 Skill。

GitHub Actions Automated Packaging

Every time code is committed to the main branch, automatically package all Skills and publish them as Release attachments.

Example

# File path: .github/workflows/package.yml
name
: Package and Publish Skills

on
:
  push
:
    branches
: [main]      # Triggered when pushing to the main branch
  release
:
    types
: [created]       # Also triggered when creating a Release

jobs
:
  build
:
    runs-on
: ubuntu-latest
    steps
:
      - name
: Checkout code
        uses
: actions/checkout@v4

      - name
: Install Python
        uses
: actions/setup-python@v5
        with
:
          python-version
: "3.11"

      - name
: Install packaging tool dependencies
        run
: pip install -r tools/requirements.txt

      - name
: Batch package Skills
        run
: bash tools/build_all.sh

      - name
: Upload .skill files as build artifacts
        uses
: actions/upload-artifact@v4
        with
:
          name
: skill-packages
          path
: dist/*.skill
          retention-days
: 30   # Retain for 30 days

Skill Registry

When the number of Skills increases, use a JSON registry to manage metadata for all Skills, making it easy to search and install on demand.

Example

{
  "registry_version": "1.0",
  "updated_at": "2026-05-18",
  "skills": [
    {
      "name":        "data-analyzer",
      "version":     "1.2.0",
      "description": "Analyze Excel/CSV data and generate statistical reports",
      "tags":        ["Data", "Excel", "CSV", "Statistics"],
      "file":        "dist/data-analyzer.skill",
      "requires":    ["python>=3.8", "pandas>=2.0"]
    },
    {
      "name":        "doc-generator",
      "version":     "2.0.1",
      "description": "Generate Word/PDF documents from templates",
      "tags":        ["Document", "Word", "PDF", "Template"],
      "file":        "dist/doc-generator.skill",
      "requires":    ["python>=3.8", "python-docx>=1.0"]
    }
  ]
}

Team Skill Distribution Checklist

Prepare a Skill installation checklist for new team members so they can quickly configure all commonly used Skills.

# 团队 Skills 安装指南

## 必装 Skills(所有成员)

| Skill | 用途 | 下载地址 |
|-------|------|---------|
| data-analyzer | 数据分析与报表 | dist/data-analyzer.skill |
| doc-generator | 文档自动生成 | dist/doc-generator.skill |

## 按需安装

| Skill | 适合角色 | 下载地址 |
|-------|---------|---------|
| code-reviewer | 开发人员 | dist/code-reviewer.skill |

## 安装方式
1. 下载 .skill 文件
2. 在 Claude.ai 的 Settings → Skills 中上传文件
3. 安装完成后重新开始对话即可生效
Other Extensions