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

emergency-rescue

gitgoodordietrying द्वारा

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

संक्षिप्त

Recover from developer disasters.

विवरण

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

Step-by-step recovery procedures for common developer disasters: force-pushed branches, leaked credentials, full disks, failed database migrations, broken deploys, and lost SSH access. Each section follows a diagnose, fix, verify sequence. Commands are non-destructive by default, with destructive steps clearly flagged.

Having all recovery procedures in one place with a consistent diagnose-fix-verify structure means less time searching documentation during an active outage.

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

  • Recovering lost commits after an accidental git reset --hard
  • Revoking and purging a leaked API key from public git history
  • Freeing disk space when Docker images exhaust a drive
  • Rolling back a broken production deployment to a known-good state
  • Regaining SSH access to a cloud server after a lockout

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

इनपुट

User asks: I accidentally committed my AWS secret key to a public GitHub repo

एजेंट
  1. 1

    Identify the file and commit containing the exposed credential using git log

  2. 2

    Revoke the AWS access key immediately via the AWS IAM console before touching git

  3. 3

    Remove the file from git tracking and add it to .gitignore

  4. 4

    Rewrite git history with git filter-repo to permanently remove the secret from all commits

  5. 5

    Force push the cleaned history to the remote and instruct all collaborators to re-clone

आउटपुट

Credential revoked, git history cleaned of the secret, .gitignore updated to prevent recurrence, collaborators notified to re-clone

इंस्टॉलेशन

clawhub install gitgoodordietrying/emergency-rescue

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

लिंक