commit-changes

โดย tldraw

สร้าง git commit สำหรับการเปลี่ยนแปลงปัจจุบัน ใช้เมื่อถูกขอให้ commit การเปลี่ยนแปลง, ทำการ commit, สร้างข้อความ commit, หรือ commit worktree ปัจจุบันด้วย…

npx skills add https://github.com/tldraw/tldraw --skill commit-changes

Commit changes

Create a focused git commit for the current changes.

Workflow

  1. 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.
  2. Review the changed files.
  3. If there are no changes to commit, tell the user and stop.
  4. If there are unstaged changes, stage the relevant files with git add.
  5. Do not stage files that look like secrets, credentials, API keys, or private environment files.
  6. 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, not added 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.

Skills เพิ่มเติมจาก tldraw

write-example
tldraw
เขียนตัวอย่างสำหรับแอปพลิเคชันตัวอย่าง tldraw SDK ใช้เมื่อสร้างตัวอย่างใหม่ เพิ่มการสาธิต SDK หรือเขียนโค้ดตัวอย่างใน apps/examples
official
write-issue
tldraw
มาตรฐานอ้างอิงสำหรับการเขียนและบำรุงรักษา GitHub issues ในคลัง tldraw ใช้เป็นแนวทางสนับสนุนเมื่อทักษะหรือเวิร์กโฟลว์อื่นต้องการ issue…
official
write-pr
tldraw
มาตรฐานอ้างอิงสำหรับการเขียนหัวเรื่องและคำอธิบายของ pull request ในคลังเก็บ tldraw ใช้เป็นแนวทางสนับสนุนเมื่อทักษะหรือขั้นตอนการทำงานอื่นต้องการ...
official
write-release-notes
tldraw
การเขียนบทความบันทึกการเผยแพร่สำหรับการปล่อย SDK ของ tldraw ใช้เมื่อสร้างเอกสารการเผยแพร่ใหม่ ร่างบันทึกการเผยแพร่ตั้งแต่ต้น หรือตรวจสอบการเผยแพร่…
official
write-tbp
tldraw
การเขียนบล็อกโพสต์ทางเทคนิคเกี่ยวกับฟีเจอร์และรายละเอียดการใช้งานของ tldraw ใช้เมื่อสร้างเนื้อหาบล็อกเกี่ยวกับวิธีที่ tldraw แก้ปัญหาที่น่าสนใจ
official
write-unit-tests
tldraw
การเขียน unit tests และ integration tests สำหรับ tldraw SDK ใช้เมื่อสร้าง tests ใหม่ เพิ่ม test coverage หรือแก้ไข tests ที่ล้มเหลวใน packages/editor หรือ…
official
clean-copy
tldraw
สร้างสาขาใหม่จากสาขาปัจจุบันด้วยประวัติการคอมมิต git ที่สะอาดและมีคุณภาพแบบเล่าเรื่อง ใช้เมื่อถูกขอให้สร้างสาขาสำเนาที่สะอาด ทำความสะอาดคอมมิต…
official
issue
tldraw
สร้างและค้นหา GitHub issue ในที่เก็บ tldraw จากคำอธิบายของผู้ใช้ ใช้เมื่อผู้ใช้เรียกใช้ issue, ขอให้สร้าง issue, รายงานข้อบกพร่อง,…
official