This automates the two-step dance of creating a GitHub repo and getting it on your machine. It wraps the `gh` CLI to create a repository under a specific account (zc277584121 in this case), adds a README by default, and immediately clones it locally so you can start working. Defaults to public repos unless you specify otherwise. The skill is written with Chinese documentation but the commands are standard GitHub CLI, so you'll want to fork it and swap in your own username. Saves you from context switching between browser and terminal when spinning up new projects, though it's opinionated about the workflow and assumes you want everything in one go.

skills.sh installs
3.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add zc277584121/mygitplugin --skill git-create-repo --agent claude-code

Installs into .claude/skills of the current project.

Files

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 参数。

Sponsors

Details

Repository
github.com/zc277584121/mygitplugin
Category
Git & Pull Requests
First seen
Jun 3, 2026

More from zc277584121/mygitplugin

All 7
1zc277584121 avatargit-fork-clonezc277584121/mygitpluginFork a GitHub repo and clone it locally with proper remote setup3.4Kskills.sh installs
2zc277584121 avatargit-summarize-weeklyzc277584121/mygitpluginSummarize weekly GitHub contributions for writing weekly reports3.4Kskills.sh installs
3zc277584121 avatargit-sync-mainzc277584121/mygitpluginSync local main branch with the latest code from official upstream or origin remote3.4Kskills.sh installs
4getsentry avatarsentry-code-reviewgetsentry/sentry-for-aiAnalyze and resolve Sentry comments on GitHub Pull Requests. Use this when asked to review or fix issues identified by Sentry in PR comments. Can review specifi2.5Kskills.sh installs
5modem-dev avatarhunk-reviewmodem-dev/hunkInteracts with live Hunk diff review sessions via CLI. Inspects review focus, navigates files and hunks, reloads session contents, and adds inline review commen2.4Kskills.sh installs
6cursor avatarget-pr-commentscursor/pluginsFetch and summarize review comments from the active pull request2.3Kskills.sh installs