मुख्य सामग्री पर जाएँ
Skillpedia
डिप्लॉय और क्लाउड (DevOps)10k · #11999

speckit-git-commit

यह क्या करती है

यह स्किल Spec Kit चरण पूरा होने पर प्रोजेक्ट के बदलाव अपने-आप Git में सहेजती है। यह उन डेवलपरों के लिए है जो Git इस्तेमाल करते हैं और मैन्युअल commit कम चाहते हैं।

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

  • ✓जब कोई Spec Kit चरण पूरा हो और आप चाहते हैं कि उसके बदलाव तुरंत Git में सहेजे जाएँ।
  • ✓जब आप config में खास चरणों के लिए अपने-आप commit चालू या बंद करना चाहते हैं।
  • ✓जब आप चाहते हैं कि हर योजना चरण का अपना साफ़ commit संदेश हो।

Skill का लिंक

https://github.com/unoplatform/uno/blob/master/.claude/skills/speckit-git-commit/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

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

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/unoplatform/uno/blob/master/.claude/skills/speckit-git-commit/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस योजना चरण के पूरा होने के बाद सभी बदलाव साफ़ commit संदेश के साथ Git में सहेजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल प्रोजेक्ट की config फ़ाइल देखती है कि उस चरण के लिए auto-commit चालू है या नहीं। अगर चालू है और बदलाव हैं, तो वह उन्हें stage करके commit बनाती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Auto-Commit Changes

Automatically stage and commit all changes after a Spec Kit command completes.

Behavior

This command is invoked as a hook after (or before) core commands. It:

  1. Determines the event name from the hook context (e.g., if invoked as an after_specify hook, the event is after_specify; if before_plan, the event is before_plan)
  2. Checks .specify/extensions/git/git-config.yml for the auto_commit section
  3. Looks up the specific event key to see if auto-commit is enabled
  4. Falls back to auto_commit.default if no event-specific key exists
  5. Uses the per-command message if configured, otherwise a default message
  6. If enabled and there are uncommitted changes, runs git add . + git commit

Execution

Determine the event name from the hook that triggered this command, then run the script:

  • Bash: .specify/extensions/git/scripts/bash/auto-commit.sh <event_name>
  • PowerShell: .specify/extensions/git/scripts/powershell/auto-commit.ps1 <event_name>

Replace <event_name> with the actual hook event (e.g., after_specify, before_plan, after_implement).

Configuration

In .specify/extensions/git/git-config.yml:

auto_commit:
  default: false          # Global toggle — set true to enable for all commands
  after_specify:
    enabled: true          # Override per-command
    message: "[Spec Kit] Add specification"
  after_plan:
    enabled: false
    message: "[Spec Kit] Add implementation plan"

Graceful Degradation

  • If Git is not available or the current directory is not a repository: skips with a warning
  • If no config file exists: skips (disabled by default)
  • If no changes to commit: skips with a message
अक्सर पूछे जाने वाले सवाल

क्या इसे चालू करना ज़रूरी है?

auto-commit एक config फ़ाइल से नियंत्रित होता है। यह सभी चरणों के लिए या सिर्फ़ कुछ चरणों के लिए चालू हो सकता है।

अगर कोई बदलाव न हों तो?

बिना commit न किए गए बदलाव न होने पर स्किल कुछ नहीं करती।

क्या मैं संदेश बदल सकता हूँ?

हाँ। config में हर चरण का अपना commit संदेश हो सकता है।

जानकारी

लेखक का मूल विवरण

Auto-commit changes after a Spec Kit command completes

repo: unoplatform/uno

लोकप्रियता

GitHub स्टार
10k
रैंकिंग में स्थान
#11999
लाइसेंस
Apache-2.0
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

speckit-analyze

10k

आपके एजेंट को बिना कोई फ़ाइल बदले जाँचने में मदद करती है कि फ़ीचर स्पेक, योजना और कार्य सूची एक-दूसरे से मेल खाते हैं और कमियाँ बताती है।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

speckit-checklist

10k

आपके एजेंट को एक कस्टम checklist बनाने में मदद करती है, जो जाँचती है कि निर्माण शुरू होने से पहले फ़ीचर की लिखित आवश्यकताएँ साफ़, पूरी और एक जैसी हैं।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

speckit-clarify

10k

आपके एजेंट को फ़ीचर स्पेक के अस्पष्ट हिस्से खोजने, पाँच तक केंद्रित सवाल पूछने और जवाब स्पेक में वापस लिखने में मदद करती है।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

speckit-constitution

10k

आपके एजेंट को प्रोजेक्ट का constitution, यानी मार्गदर्शक सिद्धांतों का छोटा सेट, लिखने या अपडेट करने और संबंधित योजना टेम्पलेट उसके अनुरूप रखने में मदद करती है।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

मिलती-जुलती skills