원클릭으로
gist-management
Manage GitHub gists - create, edit, list, and share code snippets using gh CLI
메뉴
Manage GitHub gists - create, edit, list, and share code snippets using gh CLI
GitHub code review operations - approve PRs, request changes, comment on code, and manage review workflows using gh CLI
View and analyze commits in GitHub repositories - commit history, diffs, and commit details using gh CLI
Work with GitHub issues - create, list, update, comment, and search issues using gh CLI
Manage GitHub labels - create, edit, delete, apply labels, and organize with color coding using gh CLI
GitHub PR operations - create, list, merge, update, and manage pull requests using gh CLI
Manage GitHub releases - create releases, upload assets, manage tags, and generate release notes using gh CLI
| name | gist-management |
| description | Manage GitHub gists - create, edit, list, and share code snippets using gh CLI |
This skill provides operations for managing GitHub Gists - simple way to share code snippets, notes, and small files.
Create new gists (public or secret).
View your gists or public gists.
Display gist content.
Update gist files and description.
Remove a gist.
Clone gist as a Git repository.
Star gists to save them.
Fork someone else's gist.
Create from file:
gh gist create myfile.js --desc "Useful JavaScript function"
Create public gist:
gh gist create myfile.py --public --desc "Python script"
Create secret gist:
gh gist create config.yaml --desc "Configuration file"
Create from multiple files:
gh gist create file1.js file2.js file3.js --desc "Project files"
Create from stdin:
echo "console.log('Hello')" | gh gist create --filename hello.js --desc "Hello world"
Create in browser:
gh gist create myfile.txt --web
List your gists:
gh gist list
Limit results:
gh gist list --limit 50
List public gists only:
gh gist list --public
List secret gists only:
gh gist list --secret
View gist content:
gh gist view abc123def456
View specific file:
gh gist view abc123def456 --filename myfile.js
View in browser:
gh gist view abc123def456 --web
View raw content:
gh gist view abc123def456 --raw
Edit gist file:
gh gist edit abc123def456 --filename myfile.js
Add file to gist:
gh gist edit abc123def456 --add newfile.js
Update description:
# Use API
gh api gists/abc123def456 -X PATCH -f description="Updated description"
Delete gist:
gh gist delete abc123def456
Delete with confirmation:
gh gist delete abc123def456 --confirm
Clone gist as Git repo:
gh gist clone abc123def456
Clone to specific directory:
gh gist clone abc123def456 my-gist-folder
Using API to star:
gh api gists/abc123def456/star -X PUT
Unstar:
gh api gists/abc123def456/star -X DELETE
Check if starred:
gh api gists/abc123def456/star
List starred gists:
gh api gists/starred --jq '.[] | {id, description, files: .files | keys}'
Fork using API:
gh api gists/abc123def456/forks -X POST --jq '{id, url: .html_url}'
# Share a code snippet
cat script.sh | gh gist create --filename script.sh --desc "Deployment script" --public
# Get the URL
gh gist list --limit 1
# Backup dotfiles
gh gist create ~/.bashrc ~/.vimrc --desc "My dotfiles backup"
# Create gist
gh gist create notes.md --public --desc "Meeting notes"
# Others can fork and modify
# gh gist fork abc123def456
repository-management for full projectscode-review discussions