global-setup

配置SkillForge的marketplace路径和作者信息,只需执行一次。

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "global-setup" with this command: npx skills add blueif16/amazing-claude-code-plugins/blueif16-amazing-claude-code-plugins-global-setup

SkillForge全局设置

目的

配置SkillForge的marketplace路径和作者信息,只需执行一次。

执行流程

  1. 检查是否已有marketplace

询问用户:"你是否已经有一个Claude Code插件marketplace?"

如果回答YES:

  • 询问:"marketplace的完整路径是什么?"

  • 验证目录是否存在

  • 检查是否为git仓库

  • 如果不是:询问"是否初始化为git仓库?(yes/no)"

  • 如果是:继续

  • 检查git配置(user.name, user.email)

  • 如果缺失:显示"请运行: git config --global user.name 'Your Name'"

  • 保存配置

如果回答NO:

  • 询问:"应该在哪里创建marketplace?" (默认: ~/claude-marketplaces/my-marketplace)

  • 询问:"marketplace名称?" (默认: my-marketplace)

  • 询问:"作者名称(用于author字段)?"

  • 执行: bash scripts/create-marketplace.sh <路径> <名称> <作者>

  • 初始化git仓库

  • 创建初始commit

  • 显示:"Marketplace已创建。要分享,请添加remote: git remote add origin "

  • 保存配置

  1. 配置文件格式

保存到 ~/.skillforge-config :

{ "marketplacePath": "/完整/路径/到/marketplace", "author": "用户名称", "email": "user@example.com" }

  1. 错误处理
  • 路径无效 → 重新询问

  • 未安装git → 引导安装git

  • 无写入权限 → 报告错误及权限信息

工具使用

  • Read: 检查现有配置文件

  • Write: 创建~/.skillforge-config

  • Bash: 执行git命令和create-marketplace.sh脚本

成功输出

✅ SkillForge配置完成! 📁 Marketplace路径: ~/projects/my-marketplace 👤 作者: Shiran 🚀 现在可以开始创建插件了

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

create-skill

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

merge-resolver

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

init-plugin

No summary provided by upstream source.

Repository SourceNeeds Review