gist-management

Manage GitHub gists for creating, editing, listing, viewing, deleting, cloning, starring, and forking code snippets.

Updated Jan 21, 2019
One-click install
npx skills add https://github.com/jtdowney/dotfiles --skill gist-management-jtdowney
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gist-management
Source: https://github.com/jtdowney/dotfiles/tree/main/dot_claude/skills/github/gist-management
Command: npx skills add https://github.com/jtdowney/dotfiles --skill gist-management-jtdowney

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, and includes references (resource) components.

What problem does it solve?

This skill simplifies the management of GitHub Gists, allowing users to easily create, edit, list, view, delete, clone, star, and fork code snippets and small files.

Core Features & Use Cases

  • Create Gists: Quickly create new gists from files or standard input, with options for public or secret visibility and descriptions.
  • Manage Gists: List, view, edit, delete, clone, star, and fork existing gists using the GitHub CLI.
  • Use Case: Share a quick code snippet with a colleague by creating a public gist from your terminal.

Quick Start

Create a new public gist named 'hello.js' with the content 'console.log("Hello")'.

Frequently Asked Questions about gist-management

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a GitHub gist from the command line?

You can create a GitHub gist by passing file contents or standard input to the GitHub CLI, with options to set public or secret visibility and add descriptions for your code snippets.

Do I need the GitHub CLI installed to manage gists?

Yes, you need the GitHub CLI (gh) installed and authenticated, because this skill integrates directly with the gh command line tool to execute all gist management operations.

Can I fork and star existing code snippets using the CLI?

Yes, you can fork and star existing code snippets, as the skill supports these actions alongside listing, viewing, editing, deleting, and cloning gists through the GitHub CLI integration.

What is the best way to share a quick code snippet with a colleague?

Creating a public GitHub gist from your terminal is an effective way to share code snippets, allowing you to quickly generate and distribute URLs for small files or code blocks.

Can I create secret gists that are not publicly visible?

Yes, you can create secret gists that are not publicly visible. When creating a gist via the CLI, you can specify secret visibility to ensure your code snippets remain unlisted.