speckit-git-validate
यह क्या करती है
यह स्किल जाँचती है कि आपकी मौजूदा Git branch का नाम प्रोजेक्ट के क्रमांक पैटर्न से मेल खाता है या नहीं। यह feature branches के साथ Spec Kit तरीका इस्तेमाल करने वाले डेवलपरों के लिए है।
कब इस्तेमाल करें
- ✓जब आप बदलाव करने से पहले पक्का करना चाहते हों कि आप सही फ़ीचर branch पर हैं।
- ✓जब branch का नाम प्रोजेक्ट के फ़ीचर नामकरण पैटर्न जैसा न लगे।
- ✓जब आप जाँचना चाहते हों कि आपकी branch के लिए मेल खाता spec फ़ोल्डर मौजूद है।
Skill का लिंक
https://github.com/unoplatform/uno/blob/master/.claude/skills/speckit-git-validate/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“जाँचिए कि मेरी मौजूदा Git branch हमारे फ़ीचर नामकरण नियमों का पालन करती है और उसका spec फ़ोल्डर मौजूद है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल मौजूदा branch का नाम पढ़ती है और उसे दो स्वीकृत पैटर्न से मिलाती है। फिर वह उसी क्रमांक या समय-चिह्न वाला spec फ़ोल्डर खोजती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Validate Feature Branch
Validate that the current Git branch follows the expected feature branch naming conventions.
Prerequisites
- Check if Git is available by running
git rev-parse --is-inside-work-tree 2>/dev/null - If Git is not available, output a warning and skip validation:
[specify] Warning: Git repository not detected; skipped branch validation
Validation Rules
Get the current branch name:
git rev-parse --abbrev-ref HEAD
The branch name must match one of these patterns:
- Sequential:
^[0-9]{3,}-(e.g.,001-feature-name,042-fix-bug,1000-big-feature) - Timestamp:
^[0-9]{8}-[0-9]{6}-(e.g.,20260319-143022-feature-name)
Execution
If on a feature branch (matches either pattern):
- Output:
✓ On feature branch: <branch-name> - Check if the corresponding spec directory exists under
specs/:- For sequential branches, look for
specs/<prefix>-*where prefix matches the numeric portion - For timestamp branches, look for
specs/<prefix>-*where prefix matches theYYYYMMDD-HHMMSSportion
- For sequential branches, look for
- If spec directory exists:
✓ Spec directory found: <path> - If spec directory missing:
⚠ No spec directory found for prefix <prefix>
If NOT on a feature branch:
- Output:
✗ Not on a feature branch. Current branch: <branch-name> - Output:
Feature branches should be named like: 001-feature-name or 20260319-143022-feature-name
Graceful Degradation
If Git is not installed or the directory is not a Git repository:
- Check the
SPECIFY_FEATUREenvironment variable as a fallback - If set, validate that value against the naming patterns
- If not set, skip validation with a warning
अक्सर पूछे जाने वाले सवाल
कौन से नामकरण पैटर्न स्वीकार्य हैं?
branch का नाम तीन या अधिक अंकों के क्रमांक से, या तारीख और समय-चिह्न से शुरू हो सकता है।
अगर मैं फ़ीचर branch पर न होऊँ तो?
स्किल यह बताती है और उदाहरण नाम दिखाती है जिन्हें इस्तेमाल किया जा सकता है।
अगर spec फ़ोल्डर न मिले तो?
स्किल चेतावनी देती है कि कोई मेल खाता spec फ़ोल्डर नहीं मिला।
जानकारी
लेखक का मूल विवरण
Validate current branch follows feature branch naming conventions
repo: unoplatform/uno
लोकप्रियता
- GitHub स्टार
- 10k
- रैंकिंग में स्थान
- #12003
- लाइसेंस
- 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यह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।