speckit-git-feature
Fungsinya
Skill ini membuat cabang Git baru untuk sebuah fitur, dengan nama berupa nomor atau stempel waktu. Skill ini ditujukan untuk developer yang memakai Git dan metode Spec Kit.
Kapan dipakai
- ✓Saat Anda memulai spesifikasi fitur baru dan ingin cabang Git tersendiri untuknya.
- ✓Saat Anda ingin nama cabang mengikuti pola bernomor atau berstempel waktu.
- ✓Saat Anda membutuhkan nama cabang yang persis sesuai pilihan Anda.
Link skill
https://github.com/unoplatform/uno/blob/master/.claude/skills/speckit-git-feature/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Buatkan cabang Git baru untuk spesifikasi fitur saya, dengan nomor yang berurutan seperti cabang lain di proyek ini.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill ini memeriksa aturan penomoran cabang, membuat cabang, lalu berpindah ke sana. Skill hanya menangani cabangnya, bukan berkas spesifikasi.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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--timestampflags are ignoredFEATURE_NUMis 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:
- Check
.specify/extensions/git/git-config.ymlforbranch_numberingvalue - Check
.specify/init-options.jsonforbranch_numberingvalue (backward compatibility) - Default to
sequentialif 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 (
--jsonfor Bash,-Jsonfor PowerShell) so the output can be parsed reliably - You must only ever run this script once per feature
- The JSON output will contain
BRANCH_NAMEandFEATURE_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_NAMEandFEATURE_NUMso the caller can reference them
Output
The script outputs JSON with:
BRANCH_NAME: The branch name (e.g.,003-user-author20260319-143022-user-auth)FEATURE_NUM: The numeric or timestamp prefix used
Pertanyaan umum
Apakah skill ini menulis berkas spesifikasi?
Tidak. Skill hanya membuat cabang. Spesifikasi dibuat oleh langkah terpisah.
Bagaimana cabang diberi nomor?
Skill dapat memakai nomor berurutan atau stempel waktu, sesuai pengaturan proyek.
Bagaimana jika Git belum terpasang?
Skill akan memberi peringatan dan melewati pembuatan cabang.
Detail
Deskripsi asli dari pembuat
Create a feature branch with sequential or timestamp numbering
repo: unoplatform/uno
Popularitas
- Bintang GitHub
- 10k
- Peringkat
- #12000
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
speckit-analyze
10kMembantu agent Anda memastikan spesifikasi fitur, rencana, dan daftar tugas saling sesuai serta menunjukkan celahnya, tanpa mengubah file apa pun.
speckit-checklist
10kMembantu agent Anda membuat daftar periksa yang menguji apakah persyaratan tertulis untuk sebuah fitur sudah jelas, lengkap, dan konsisten sebelum pengerjaan dimulai.
speckit-clarify
10kMembantu agent Anda menemukan bagian yang tidak jelas dalam spesifikasi fitur, mengajukan paling banyak lima pertanyaan terarah, dan menuliskan jawabannya kembali ke spesifikasi.
speckit-constitution
10kMembantu agent Anda menulis atau memperbarui konstitusi proyek, yaitu kumpulan prinsip panduan singkat, serta menjaga templat perencanaan terkait tetap sejalan dengannya.
Skill serupa
openclaw-update
394kMembantu agent Anda memperbarui OpenClaw Gateway yang sudah ada, dengan memilih metode pembaruan yang sesuai cara pemasangannya dan menjaga sesi Anda tetap berjalan.
diagnose-gateway
394kMembantu agent Anda mencari tahu mengapa OpenClaw Gateway gagal dengan memeriksa pengaturan, channel, dan port tanpa mengubah apa pun.
crabbox-apps
394kMembantu agent Anda membuka dan menjalankan aplikasi di mesin cloud sementara, lalu menampilkan tampilannya di panel samping chat Anda.