mirror of
https://github.com/tiennm99/try-claudekit.git
synced 2026-04-17 15:21:21 +00:00
Add agent definitions, slash commands, hooks, and settings for Claude Code project tooling.
1.4 KiB
1.4 KiB
allowed-tools, description, category, argument-hint
| allowed-tools | description | category | argument-hint |
|---|---|---|---|
| Bash, Write, TodoWrite | Create a new GitHub repository with proper setup including directory creation, git initialization, and remote configuration | workflow | <repository-name> |
GitHub Repository Setup
Create a new GitHub repository named "$ARGUMENTS" with proper directory structure and git setup.
Note: The repository will be created as private by default for security. If you need a public repository, please specify "public" in your request.
Steps to execute:
- Create a new directory named "$ARGUMENTS"
- Initialize a git repository in that directory
- Create the GitHub repository using gh CLI
- Create a basic README.md file
- Make an initial commit
- Set up the remote origin
- Push to GitHub
Commands:
# Create the directory
mkdir "$ARGUMENTS"
cd "$ARGUMENTS"
# Initialize git repository
git init
# Create GitHub repository using gh CLI (private by default)
gh repo create "$ARGUMENTS" --private
# Create README.md
echo "# $ARGUMENTS" > README.md
echo "" >> README.md
echo "A new repository created with GitHub CLI." >> README.md
# Initial commit
git add README.md
git commit -m "Initial commit"
# Add remote origin (using SSH)
git remote add origin "git@github.com:$(gh api user --jq .login)/$ARGUMENTS.git"
# Push to GitHub
git branch -M main
git push -u origin main
Execute these commands to create the repository.