其他

git-create-repo

zc277584121/mygitplugin

Create a new GitHub repository and clone it locally

  • 3431 次安装
  • 收录于

安装命令

npx skills add https://github.com/zc277584121/mygitplugin --skill git-create-repo

SKILL.md

Git Create Repo

在 GitHub 上创建新的仓库并 clone 到本地。

触发条件

当用户要求创建一个新的 GitHub 仓库时使用此 skill。

执行步骤

  1. 创建仓库:
    gh repo create <repo-name> --public --add-readme
    
    • 默认创建公开仓库(--public)。
    • 如果用户明确要求私有仓库,使用 --private 替代。
    • 默认添加 README 文件。