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

speckit-git-initialize

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

यह स्किल एक प्रोजेक्ट फ़ोल्डर में Git repository शुरू करती है और फ़ाइलों का पहला सेट सहेजती है। यह नया प्रोजेक्ट शुरू करने वाले उन लोगों के लिए है जो शुरू से ही version history चाहते हैं।

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

  • ✓जब आप नया प्रोजेक्ट फ़ोल्डर शुरू करें और शुरू से Git ट्रैकिंग चाहें।
  • ✓जब प्रोजेक्ट फ़ोल्डर अभी version control में न हो।
  • ✓जब आप प्रोजेक्ट फ़ाइलों के साथ पहला commit अपने-आप बनवाना चाहें।

Skill का लिंक

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

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

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

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

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

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

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

“इस नए प्रोजेक्ट फ़ोल्डर में Git सेट कीजिए और मौजूदा फ़ाइलों के साथ पहला commit बनाइए।”

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

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

स्किल जाँचती है कि Git मौजूद है या नहीं और फ़ोल्डर पहले से repository है या नहीं। अगर नहीं, तो वह एक repository शुरू करती है, फ़ाइलें जोड़ती है और प्रारंभिक commit बनाती है।

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

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

Initialize Git Repository

Initialize a Git repository in the current project directory if one does not already exist.

Execution

Run the appropriate script from the project root:

  • Bash: .specify/extensions/git/scripts/bash/initialize-repo.sh
  • PowerShell: .specify/extensions/git/scripts/powershell/initialize-repo.ps1

If the extension scripts are not found, fall back to:

  • Bash: git init && git add . && git commit -m "Initial commit from Specify template"
  • PowerShell: git init; git add .; git commit -m "Initial commit from Specify template"

The script handles all checks internally:

  • Skips if Git is not available
  • Skips if already inside a Git repository
  • Runs git init, git add ., and git commit with an initial commit message

Customization

Replace the script to add project-specific Git initialization steps:

  • Custom .gitignore templates
  • Default branch naming (git config init.defaultBranch)
  • Git LFS setup
  • Git hooks installation
  • Commit signing configuration
  • Git Flow initialization

Output

On success:

  • ✓ Git repository initialized

Graceful Degradation

If Git is not installed:

  • Warn the user
  • Skip repository initialization
  • The project continues to function without Git (specs can still be created under specs/)

If Git is installed but git init, git add ., or git commit fails:

  • Surface the error to the user
  • Stop this command rather than continuing with a partially initialized repository
अक्सर पूछे जाने वाले सवाल

अगर फ़ोल्डर पहले से repository हो तो?

स्किल सेटअप छोड़ देती है, इसलिए मौजूदा repository नहीं बदलती।

अगर Git इंस्टॉल न हो तो?

यह चेतावनी देती है और काम जारी रखती है। प्रोजेक्ट बिना Git के भी चलता है।

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

हाँ। सामग्री बताती है कि स्क्रिप्ट बदली जा सकती है, जैसे .gitignore टेम्पलेट या signing सेटअप जोड़ने के लिए।

जानकारी

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

Initialize a Git repository with an initial commit

repo: unoplatform/uno

लोकप्रियता

GitHub स्टार
10k
रैंकिंग में स्थान
#12001
लाइसेंस
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