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 पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
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:
- Determines the event name from the hook context (e.g., if invoked as an
after_specifyhook, the event isafter_specify; ifbefore_plan, the event isbefore_plan) - Checks
.specify/extensions/git/git-config.ymlfor theauto_commitsection - Looks up the specific event key to see if auto-commit is enabled
- Falls back to
auto_commit.defaultif no event-specific key exists - Uses the per-command
messageif configured, otherwise a default message - 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 संदेश हो सकता है।
जानकारी
लोकप्रियता
- GitHub स्टार
- 10k
- रैंकिंग में स्थान
- #11999
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
speckit-analyze
10kआपके एजेंट को बिना कोई फ़ाइल बदले जाँचने में मदद करती है कि फ़ीचर स्पेक, योजना और कार्य सूची एक-दूसरे से मेल खाते हैं और कमियाँ बताती है।
speckit-checklist
10kआपके एजेंट को एक कस्टम checklist बनाने में मदद करती है, जो जाँचती है कि निर्माण शुरू होने से पहले फ़ीचर की लिखित आवश्यकताएँ साफ़, पूरी और एक जैसी हैं।
speckit-clarify
10kआपके एजेंट को फ़ीचर स्पेक के अस्पष्ट हिस्से खोजने, पाँच तक केंद्रित सवाल पूछने और जवाब स्पेक में वापस लिखने में मदद करती है।
speckit-constitution
10kआपके एजेंट को प्रोजेक्ट का constitution, यानी मार्गदर्शक सिद्धांतों का छोटा सेट, लिखने या अपडेट करने और संबंधित योजना टेम्पलेट उसके अनुरूप रखने में मदद करती है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।