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

speckit-git-feature

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

यह स्किल फ़ीचर के लिए नई Git branch बनाती है, जिसका नाम क्रमांक या समय-चिह्न से तय होता है। यह Git और Spec Kit तरीका इस्तेमाल करने वाले डेवलपरों के लिए है।

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

  • ✓जब आप नया फ़ीचर स्पेक शुरू करें और उसकी अपनी Git branch चाहिए।
  • ✓जब आप चाहते हैं कि branch के नाम क्रमांकित या समय-चिह्न वाले पैटर्न पर चलें।
  • ✓जब आपको branch का नाम ठीक वही चाहिए जो आप चुनें।

Skill का लिंक

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

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

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

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

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

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

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

“मेरे फ़ीचर स्पेक के लिए नई Git branch बनाइए, जिसका क्रमांक इस प्रोजेक्ट की बाकी branches की तरह क्रम में हो।”

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

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

स्किल जाँचती है कि branches का क्रमांक कैसे होना चाहिए, branch बनाती है और उसमें चली जाती है। वह सिर्फ़ branch संभालती है, स्पेक फ़ाइलें नहीं।

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

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

Create Feature Branch

Create and switch to a new git feature branch for the given specification. This command handles branch creation only — the spec directory and files are created by the core /speckit.specify workflow.

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Environment Variable Override

If the user explicitly provided GIT_BRANCH_NAME (e.g., via environment variable, argument, or in their request), pass it through to the script by setting the GIT_BRANCH_NAME environment variable before invoking the script. When GIT_BRANCH_NAME is set:

  • The script uses the exact value as the branch name, bypassing all prefix/suffix generation
  • --short-name, --number, and --timestamp flags are ignored
  • FEATURE_NUM is extracted from the name if it starts with a numeric prefix, otherwise set to the full branch name

Prerequisites

  • Verify Git is available by running git rev-parse --is-inside-work-tree 2>/dev/null
  • If Git is not available, warn the user and skip branch creation

Branch Numbering Mode

Determine the branch numbering strategy by checking configuration in this order:

  1. Check .specify/extensions/git/git-config.yml for branch_numbering value
  2. Check .specify/init-options.json for branch_numbering value (backward compatibility)
  3. Default to sequential if neither exists

Execution

Generate a concise short name (2-4 words) for the branch:

  • Analyze the feature description and extract the most meaningful keywords
  • Use action-noun format when possible (e.g., "add-user-auth", "fix-payment-bug")
  • Preserve technical terms and acronyms (OAuth2, API, JWT, etc.)

Run the appropriate script based on your platform:

  • Bash: .specify/extensions/git/scripts/bash/create-new-feature.sh --json --short-name "<short-name>" "<feature description>"
  • Bash (timestamp): .specify/extensions/git/scripts/bash/create-new-feature.sh --json --timestamp --short-name "<short-name>" "<feature description>"
  • PowerShell: .specify/extensions/git/scripts/powershell/create-new-feature.ps1 -Json -ShortName "<short-name>" "<feature description>"
  • PowerShell (timestamp): .specify/extensions/git/scripts/powershell/create-new-feature.ps1 -Json -Timestamp -ShortName "<short-name>" "<feature description>"

IMPORTANT:

  • Do NOT pass --number — the script determines the correct next number automatically
  • Always include the JSON flag (--json for Bash, -Json for PowerShell) so the output can be parsed reliably
  • You must only ever run this script once per feature
  • The JSON output will contain BRANCH_NAME and FEATURE_NUM

Graceful Degradation

If Git is not installed or the current directory is not a Git repository:

  • Branch creation is skipped with a warning: [specify] Warning: Git repository not detected; skipped branch creation
  • The script still outputs BRANCH_NAME and FEATURE_NUM so the caller can reference them

Output

The script outputs JSON with:

  • BRANCH_NAME: The branch name (e.g., 003-user-auth or 20260319-143022-user-auth)
  • FEATURE_NUM: The numeric or timestamp prefix used
अक्सर पूछे जाने वाले सवाल

क्या यह स्पेक फ़ाइल लिखती है?

नहीं। स्किल सिर्फ़ branch बनाती है। स्पेक एक अलग चरण से बनता है।

branches कैसे क्रमांकित होती हैं?

स्किल प्रोजेक्ट की सेटिंग के आधार पर क्रमिक संख्या या समय-चिह्न इस्तेमाल कर सकती है।

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

स्किल चेतावनी देती है और branch बनाना छोड़ देती है।

जानकारी

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

Create a feature branch with sequential or timestamp numbering

repo: unoplatform/uno

लोकप्रियता

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