SuperAPI AI Directory

git-create-repo

Coding & development

View repository

Updated 10-16 09:09

About this skill

Git Create Repo

Create a new repository on GitHub and clone it locally.

Trigger Conditions

Use this skill when the user requests to create a new GitHub repository.

Execution Steps

  1. Create Repository:
    gh repo create <repo-name> --public --add-readme
    
    • Create a public repository by default (--public)。
    • If the user explicitly requests a private repository, use --private instead.
    • Add a README file by default.
  1. Clone Repository:

    gh repo clone zc277584121/<repo-name>
    
  2. Confirm Result: Enter the project directory and report to the user that the repository was created successfully.

Notes

  • The GitHub account is zc277584121。
  • If the user does not specify public or private, use public by default (--public)。
  • If the user provides a description, use the --description parameter.