zc277584121/mygitplugin

git-create-repo

Create a new GitHub repository and clone it locally

View source

How to use

  1. Copy the installation command and review the source package before installing it in your own agent environment.
  2. Check the source document for required tools, credentials and supported hosts.
  3. Describe your input and desired deliverable; review the output against the source material.
npx skills add https://github.com/zc277584121/mygitplugin --skill git-create-repo

Before you start

  • Installation does not include a model subscription, API allowance or permission to access your files.
  • Repository stars and installation counts describe activity, not an independent quality or security test.
Original skill document

Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.

Git Create Repo

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

触发条件

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

执行步骤

  1. 创建仓库:
bash
   gh repo create <repo-name> --public --add-readme
  • 默认创建公开仓库(--public)。
  • 如果用户明确要求私有仓库,使用 --private 替代。
  • 默认添加 README 文件。
  1. Clone 仓库:
bash
   gh repo clone zc277584121/<repo-name>
  1. 确认结果:进入项目目录,向用户报告仓库创建成功。

注意事项

  • GitHub 账号为 zc277584121。
  • 如果用户没有指定公开或私有,默认使用公开(--public)。
  • 如果用户提供了描述,使用 --description 参数。

Related by task

from this repository

More skills

All skills