commit-changes
作成者: tldraw
現在の変更に対してgitコミットを作成します。コミットの実行、コミットメッセージの生成、現在のワークツリーのコミットを求められた場合に使用します。
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.
tldrawのその他のスキル
write-example
tldraw
tldraw SDKのexamplesアプリ向けのサンプルコードを作成します。新しいサンプルを作成するとき、SDKのデモを追加するとき、またはapps/examples内でサンプルコードを記述するときに使用します。
official
write-issue
tldraw
tldrawリポジトリにおけるGitHub Issueの作成と管理のための参照基準。別のスキルやワークフローがIssueを必要とする際の補助ガイダンスとして使用します。
official
write-pr
tldraw
tldrawリポジトリにおけるプルリクエストのタイトルと説明を記述するための参考基準。別のスキルやワークフローで必要な場合の補助ガイダンスとして使用…
official
write-release-notes
tldraw
tldraw SDKリリース向けのリリースノート記事を作成します。新しいリリースドキュメントを作成する際、リリースノートを一から作成する際、またはリリースノートをレビューする際に使用します。
official
write-tbp
tldraw
tldrawの機能と実装の詳細について技術ブログ記事を執筆します。tldrawがどのように興味深い問題を解決するかについてのブログコンテンツを作成する際に使用します。
official
write-unit-tests
tldraw
tldraw SDKのユニットテストと統合テストを作成します。packages/editor内で新しいテストを作成する場合、テストカバレッジを追加する場合、または失敗しているテストを修正する場合に使用します。
official
clean-copy
tldraw
現在のブランチを、クリーンで物語性のあるgitコミット履歴を持つ新しいブランチに再実装します。クリーンなコピーブランチの作成やコミットの整理を求められたときに使用します。
official
issue
tldraw
ユーザーの説明からtldrawリポジトリにGitHub issueを作成・調査します。ユーザーがissueを呼び出したり、issueの作成やバグ報告を依頼した場合に使用します。
official