
Git Create Repo
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-codeInstalls into .claude/skills of the current project.
Files
Git Create Repo
在 GitHub 上创建新的仓库并 clone 到本地。
触发条件
当用户要求创建一个新的 GitHub 仓库时使用此 skill。
执行步骤
-
创建仓库:
gh repo create <repo-name> --public --add-readme- 默认创建公开仓库(
--public)。 - 如果用户明确要求私有仓库,使用
--private替代。 - 默认添加 README 文件。
- 默认创建公开仓库(
-
Clone 仓库:
gh repo clone zc277584121/<repo-name> -
确认结果:进入项目目录,向用户报告仓库创建成功。
注意事项
- GitHub 账号为
zc277584121。 - 如果用户没有指定公开或私有,默认使用公开(
--public)。 - 如果用户提供了描述,使用
--description参数。
Sponsors
Details
- Repository
- github.com/zc277584121/mygitplugin
- Category
- Git & Pull Requests
- First seen
- Jun 3, 2026