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
- 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
--privateinstead. - Add a README file by default.
- Create a public repository by default (
-
Clone Repository:
gh repo clone zc277584121/<repo-name> -
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
--descriptionparameter.