بنقرة واحدة
github-repo-management
GitHub repos: create, clone, fork, archive (gh CLI + git)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
GitHub repos: create, clone, fork, archive (gh CLI + git)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Search and download arXiv papers (no API key needed)
Delegate coding and file edits to Anthropic Claude Code CLI
Read/write Windows clipboard text, HTML, images, history (PowerShell)
Running scripts and code on Windows
Delegate coding tasks to OpenAI Codex CLI
Windows Defender: scans, threat history, signatures (PowerShell)
| name | github-repo-management |
| description | GitHub repos: create, clone, fork, archive (gh CLI + git) |
| category | developer |
| version | 1.0.0 |
| origin | aiden |
| license | Apache-2.0 |
| tags | github, repository, repo, clone, fork, branch, gh-cli, git, remote, management |
Create, clone, fork, configure, and manage GitHub repositories using the gh CLI and git. Covers repo creation, branch management, secrets, and repo settings.
# Create public repo and clone locally
gh repo create my-new-project --public --clone
# Create private repo with description
gh repo create my-new-project --private --description "Internal API service"
# Create repo from local directory
cd "C:\Users\<you>\Projects\myapp"
gh repo create my-new-project --source=. --private --push
# Clone via gh (handles auth automatically)
gh repo clone owner/repo-name
# Clone to specific directory
gh repo clone owner/repo-name ./local-folder
# Clone with SSH explicitly
git clone git@github.com:owner/repo-name.git
# Fork to your account and clone locally
gh repo fork owner/repo-name --clone
# Fork to an organization
gh repo fork owner/repo-name --org my-org
# Your repos
gh repo list --limit 30
# Organization repos
gh repo list my-org --limit 50
# Filter by language
gh repo list --language python --limit 20
# List remote branches
git branch -r
# Create and push a new branch
git checkout -b feature/my-feature
git push -u origin feature/my-feature
# Delete a remote branch
git push origin --delete feature/old-branch
# List branches via gh
gh api repos/owner/repo/branches | python -m json.tool
# View repo details
gh repo view owner/repo-name
# View in browser
gh repo view owner/repo-name --web
# Edit repo description and topics
gh repo edit owner/repo-name --description "Updated description" --add-topic "api,python"
# List secrets
gh secret list
# Set a secret
gh secret set DATABASE_URL --body "postgresql://user:pass@host/db"
# Set from a file
gh secret set PRIVATE_KEY < private_key.pem
# Delete a secret
gh secret delete OLD_SECRET
# Archive (read-only, not deleted)
gh repo archive owner/repo-name
# Delete — IRREVERSIBLE — direct user to do this manually
# gh repo delete owner/repo-name --yes ← do not run this for the user
"Create a new private GitHub repo for my Python scripts"
→ Use step 1: gh repo create my-python-scripts --private --clone.
"Fork the fastapi repository so I can contribute"
→ Use step 3: gh repo fork tiangolo/fastapi --clone.
"Add my API key as a GitHub Actions secret"
→ Use step 7: gh secret set API_KEY --body "...".
gh repo delete for the user; direct them to do it in the GitHub web UIgh secret set are write-only in the GitHub UI — they cannot be read back after creation