---
name: Commit
slug: commit
category: DevOps
description: Commit creates a git commit with a concise summary of staged changes. Use it when an agent needs to commit staged files to a repository.
github: "https://github.com/Windy3f3f3f3f/claude-code-from-scratch/tree/main/.claude/skills/commit"
language: Python
stars: 2577
forks: 526
install: "npx degit https://github.com/Windy3f3f3f3f/claude-code-from-scratch/tree/main/.claude/skills/commit ~/.claude/skills/commit"
installs_to: ~/.claude/skills/commit
source_path: .claude/skills/commit/SKILL.md
collection_size: 2
category_size: 798
collection_url: "https://dirskills.com/collections/Windy3f3f3f3f/claude-code-from-scratch"
added: 2026-08-18T06:57:31.608Z
last_synced: 2026-08-18T06:57:31.608Z
canonical_url: "https://dirskills.com/skills/commit"
---

# Commit

Commit creates a git commit with a concise summary of staged changes. Use it when an agent needs to commit staged files to a repository.

**Install:**

```bash
npx degit https://github.com/Windy3f3f3f3f/claude-code-from-scratch/tree/main/.claude/skills/commit ~/.claude/skills/commit
```

## README

# Commit Skill

1. Run `git diff --staged` and `git status` to see what's changed
2. Write a concise commit message summarizing the changes
3. Run `git commit -m "<message>"`

If no files are staged, tell the user to stage files first.
Arguments passed to this skill are used as additional context for the commit message.
