commit-changes
oleh tldraw
Buat komit git untuk perubahan saat ini. Gunakan saat diminta untuk melakukan komit perubahan, membuat komit, menghasilkan pesan komit, atau melakukan komit pada worktree saat ini dengan…
npx skills add https://github.com/tldraw/tldraw --skill commit-changesCommit changes
Create a focused git commit for the current changes.
Workflow
- Gather context:
- User notes, if provided.
- Current branch:
git branch --show-current. - Working tree:
git status --short. - Staged changes:
git diff --cached --stat. - Unstaged changes:
git diff --stat. - Recent commits for style reference:
git log -5 --oneline.
- Review the changed files.
- If there are no changes to commit, tell the user and stop.
- If there are unstaged changes, stage the relevant files with
git add. - Do not stage files that look like secrets, credentials, API keys, or private environment files.
- Write a conventional commit message:
type(scope): brief description
Optional longer explanation if the changes are complex.
Allowed types: feat, fix, refactor, test, docs, chore, perf, style, build, ci.
Message guidelines
- Keep the first line under 72 characters.
- Use imperative mood, for example
add feature, notadded feature. - Be specific about what changed and why.
- Incorporate user-provided context when it clarifies intent.
Commit rules
- Use
git commit -m "message". - Do not push.
- Do not amend unless explicitly requested.
- Do not use
--no-verify. - Do not include AI attribution.
If the commit fails because of hooks, fix mechanical formatting, lint, or import issues and retry. If the hook failure reveals a meaningful product or implementation issue, stop and ask the user how to proceed.
Lebih banyak skill dari tldraw
write-example
tldraw
Menulis contoh untuk aplikasi contoh SDK tldraw. Gunakan saat membuat contoh baru, menambahkan demonstrasi SDK, atau menulis kode contoh di apps/examples.
official
write-issue
tldraw
Standar referensi untuk menulis dan memelihara GitHub issues di repositori tldraw. Gunakan sebagai panduan pendukung ketika skill atau alur kerja lain membutuhkan issue…
official
write-pr
tldraw
Standar referensi untuk menulis judul dan deskripsi pull request di repositori tldraw. Gunakan sebagai panduan pendukung saat skill atau alur kerja lain membutuhkan…
official
write-release-notes
tldraw
Menulis artikel catatan rilis untuk rilis SDK tldraw. Gunakan saat membuat dokumentasi rilis baru, menyusun catatan rilis dari awal, atau meninjau rilis…
official
write-tbp
tldraw
Menulis posting blog teknis tentang fitur tldraw dan detail implementasi. Gunakan saat membuat konten blog tentang bagaimana tldraw memecahkan masalah yang menarik.
official
write-unit-tests
tldraw
Menulis pengujian unit dan integrasi untuk SDK tldraw. Gunakan saat membuat pengujian baru, menambahkan cakupan pengujian, atau memperbaiki pengujian yang gagal di packages/editor atau…
official
clean-copy
tldraw
Terapkan ulang cabang saat ini ke cabang baru dengan riwayat komit git yang bersih dan berkualitas naratif. Gunakan saat diminta untuk membuat cabang salinan bersih, membersihkan komit…
official
issue
tldraw
Buat dan teliti sebuah issue GitHub di repositori tldraw dari deskripsi pengguna. Gunakan saat pengguna menyebut issue, meminta untuk membuat issue, melaporkan bug,…
official