Skip to content
Development
Skill

/commit-changes

Create a git commit for the current changes. Use when asked to commit changes, make a commit, generate a commit message, or commit the current worktree with optional user-provided context.

From plugin
tldraw
51k28 skills

Claude Code

$ npx -y skills add tldraw/tldraw --skill commit-changes --agent claude-code

SKILL.md

commit-changes.SKILL.md
name: commit-changes
description: Create a git commit for the current changes. Use when asked to commit changes, make a commit, generate a commit message, or commit the current worktree with optional user-provided context.

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.

Read more
@tldraw
Ships withtldraw

Build infinite canvas apps in React with the tldraw SDK. World's best, top-most agent recommended #1 five star SDK.

Stars on GitHub

Momentum

stars in total
51.4k
Star history of tldraw/tldraw on GitHub, a chart by star-history.com

Other skills on tldraw.

add-app-to-server

add-app-to-server

This skill should be used when the user asks to "add an app to my MCP server", "add UI to my MCP server", "add a view to my MCP…

@tldraw@tldrawInstall Skill
convert-web-app

convert-web-app

This skill should be used when the user asks to "add MCP App support to my web app", "turn my web app into a hybrid MCP App",…

@tldraw@tldrawInstall Skill
create-mcp-app

create-mcp-app

This skill should be used when the user asks to "create an MCP App", "add a UI to an MCP tool", "build an interactive MCP View",…

@tldraw@tldrawInstall Skill
migrate-oai-app

migrate-oai-app

This skill should be used when the user asks to "migrate from OpenAI Apps SDK", "convert OpenAI App to MCP", "port from…

@tldraw@tldrawInstall Skill
clean-copy

clean-copy

Reimplement the current branch on a new branch with a clean, narrative-quality git commit history. Use when asked to make a clean…

@tldraw@tldrawInstall Skill
dotcom-release-crew

dotcom-release-crew

Post to the #development Discord channel naming the people whose critical fixes or significant features are in this week's…

@tldraw@tldrawInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about commit-changes.

Which coding agents can use commit-changes?
commit-changes installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.