कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

code-share

jeromestein द्वारा

Git & GitHub
536clawskills.sh द्वारा बताए गए डाउनलोड
2स्टार
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Share code via GitHub Gist instead of inline chat blocks.

विवरण

यह स्किल क्या करती है

Shares code via GitHub Gist instead of pasting it inline in chat. For outputs over 10 lines, it creates a secret gist by default, returns a fixed 3-line summary with the URL, and strips sensitive values before sharing. Updating previously shared code reuses the same gist URL as a new revision.

Using a gist URL keeps chat readable and gives recipients a stable, syntax-highlighted link they can bookmark or fork instead of copying raw text.

इसे कब इस्तेमाल करें

  • Sharing a long script in a Discord server without wall-of-text formatting
  • Getting a copy-paste-ready link for a multi-file refactor
  • Iterating on a script with a teammate using a stable gist URL
  • Posting sanitized code publicly without accidentally leaking API keys
  • Reviewing generated code in GitHub's syntax-highlighted gist view

उदाहरण वर्कफ़्लो

इनपुट

User asks: 'Share the migration script we just wrote as a gist'

एजेंट
  1. 1

    Checks GitHub CLI auth status with gh auth status

  2. 2

    Scans code for secrets and replaces any found with placeholders

  3. 3

    Writes the script to a temp file with the correct extension

  4. 4

    Runs gh gist create with a short description, defaulting to secret

  5. 5

    Returns the fixed 3-line response: summary, URL, filename and line count

आउटपुट

Shared the migration script as a secret Gist for clean copy/paste. https://gist.github.com/... File: migrate.py · Lines: 87

आवश्यकताएँ

  • GitHub CLI (`gh`) installed and authenticated with gist scope

इंस्टॉलेशन

clawhub install jeromestein/code-share

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक