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

Building a Custom Skills Ecosystem

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

Building a Custom Skills Ecosystem

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


Three Levels of the Ecosystem

Level Content Goals
Skill Library A Git repository that uniformly manages all Skills Version control and traceability
Distribution mechanism Storage and distribution channels for .skill package files Let team members install quickly
Documentation hub Usage instructions and applicable scenarios for each Skill Reduce learning costs

Unified repository structure

It is recommended to put 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 and output them to the dist/ directory

set

-e

 

Exit immediately on error

SKILLS_DIR

=

"skills"

DIST_DIR

=

"dist"

mkdir

-p

"$DIST_DIR"

echo

"Starting to package 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

" Complete: $DIST_DIR/${skill_name}.skill"

done

echo

""

echo

"All packaging complete, $(ls $DIST_DIR/*.skill | wc -l) Skills in total."



开始打包所有 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, all Skills are automatically packaged and published as Release attachments.

Example

File path: .github/workflows/package.yml

name

:

Package and publish Skills

on

:

  push

:

    branches

:

[

main

]

     

Triggered on push to the main branch

  release

:

    types

:

[

created

]

     

Also triggered when a Release is created

jobs

:

  build

:

    runs-on

:

ubuntu-latest

    steps

:

      - name

:

Check out 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

As the number of Skills grows, use a JSON registry to manage the metadata of all Skills for easy retrieval and on-demand installation.

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"

:

       

[

"Documents"

,

"Word"

,

"PDF"

,

"Templates"

]

,

     

"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 set up all commonly used Skills.



# Team Skills Installation Guide



## Required Skills (All Members)



| Skill | 用途 | 下载地址 |

|-------|------|---------|

| data-analyzer | 数据分析与报表 | dist/data-analyzer.skill |

| doc-generator | 文档自动生成 | dist/doc-generator.skill |



## On-demand installation



| Skill | 适合角色 | 下载地址 |

|-------|---------|---------|

| code-reviewer | 开发人员 | dist/code-reviewer.skill |



## Installation Methods

1. 下载 .skill 文件

2. 在 Claude.ai 的 Settings → Skills 中上传文件

3. 安装完成后重新开始对话即可生效