commit-changes

作成者: tldraw

現在の変更に対してgitコミットを作成します。コミットの実行、コミットメッセージの生成、現在のワークツリーのコミットを求められた場合に使用します。

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.

tldrawのその他のスキル

dotcom-release-crew
tldraw
投稿する
clean-copy
tldraw
現在のブランチを、クリーンで物語性のあるgitコミット履歴を持つ新しいブランチに再実装します。クリーンなコピーブランチの作成やコミットの整理を求められたときに使用します。
dotcom-release-marketing
tldraw
今週のtldraw.com(dotcom)リリースで出荷される内容の平易な要約を、マーケティングチームのDiscordチャンネルに投稿する。準備時に使用…
issue
tldraw
ユーザーの説明からtldrawリポジトリにGitHub issueを作成・調査します。ユーザーがissueを呼び出したり、issueの作成やバグ報告を依頼した場合に使用します。
pr
tldraw
現在のブランチでtldrawリポジトリにプルリクエストを作成または更新します。ユーザーがprを呼び出したり、PRの作成、既存のPRの更新、プッシュなどを依頼した場合に使用します。
take
tldraw
tldraw/tldrawのGitHub Issueを探し、アサインし、実装し、検証し、プルリクエストを開きます。ユーザーがtakeを呼び出したとき、Issueを取るよう依頼したときなどに使用します。
tldraw-migrate
tldraw
プロジェクトを新しいバージョンのtldraw SDKに移行します。tldrawパッケージのアップグレード時、tldrawアップグレード後のTypeScriptエラーの修正時、またはユーザーが…
update-release-notes
tldraw
Update the release notes file at `apps/docs/content/releases/next.mdx` in the tldraw/tldraw repo based on PRs since the previous release, or archive `next.mdx`…