PluginBench
Skill
Pass
Audit score 90

git-create-repo

zc277584121/mygitplugin

Create a new GitHub repository and clone it locally with a single command

What is git-create-repo?

This skill automates GitHub repository creation and local cloning using the GitHub CLI. Use it when you need to quickly set up a new repository on GitHub and have it ready for local development.

  • Creates a new GitHub repository with customizable visibility (public by default)
  • Automatically adds a README file to the new repository
  • Clones the repository to your local machine
  • Supports optional repository descriptions
  • Confirms successful creation and reports the result

How to install git-create-repo

npx skills add https://github.com/zc277584121/mygitplugin --skill git-create-repo
Prerequisites
  • GitHub CLI (gh) installed and authenticated
  • Active GitHub account
Claude Code
Cursor
Windsurf
Cline

How to use git-create-repo

  1. 1.Run the skill with a repository name when prompted to create a new repo
  2. 2.Specify public or private visibility if needed (defaults to public)
  3. 3.Optionally provide a repository description
  4. 4.The skill will create the repository on GitHub and clone it locally
  5. 5.Navigate to the cloned directory to begin development

Use cases

Good for
  • Starting a new project and immediately cloning it for local development
  • Creating multiple repositories in batch workflows
  • Setting up repositories with specific visibility settings (public or private)
  • Automating repository initialization as part of a larger project setup process
Who it's for
  • Developers managing multiple GitHub repositories
  • Teams automating project initialization workflows
  • Users preferring CLI-based repository management

git-create-repo FAQ

What is the default repository visibility?

Public. Use the private option explicitly if you need a private repository.

Is a README file automatically created?

Yes, the skill adds a README file by default when creating the repository.

Which GitHub account is used?

The skill uses the GitHub account configured in your authenticated GitHub CLI (zc277584121 in the default configuration).

Can I add a description to the repository?

Yes, provide a description and the skill will use the --description parameter when creating the repository.

Full instructions (SKILL.md)

Source of truth, from zc277584121/mygitplugin.


name: git-create-repo description: Create a new GitHub repository and clone it locally allowed-tools:

  • Bash

Git Create Repo

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

触发条件

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

执行步骤

  1. 创建仓库

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

    gh repo clone zc277584121/<repo-name>
    
  3. 确认结果:进入项目目录,向用户报告仓库创建成功。

注意事项

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