← ClaudeAtlas

add-commitlisted

Use when committing changes mid-workflow with smart message generation. Triggers: commit, git commit, salvar progresso, checkpoint, conventional commits, push changes, commitar, fazer commit.
brabos-ai/code-addiction · ★ 9 · Code & Development · score 76
Install: claude install-skill brabos-ai/code-addiction
# add-commit — Smart Commit Smart commit for mid-workflow progress: analyzes the changeset and generates a Conventional Commits message adapted to the number of files changed. ## When to Use - Mid-workflow commits during feature development - Saving progress checkpoints before risky changes - Any `git commit` with automatic message generation - Quick commits with optional `--push` in one step ## When NOT to Use - **Finalizing a branch** → use `/add-done` instead - **Creating a PR** → use `/add-pr` - **Force push, rebase, or amend** → out of scope - **Specific file staging** → stage manually first, then use this skill ## Adaptive Message Logic The message format adapts to changeset size: **≤ 3 files changed** — single-line message: ``` type(scope): objective description in present tense ``` **> 3 files changed** — list format: ``` type: general summary - context/module: what changed - context/module: what changed - context/module: what changed ``` ## Conventional Commits Type Detection Infer the type from the diff content: | Type | When to use | |------|-------------| | `feat` | New feature, new functionality | | `fix` | Bug fix, error correction | | `refactor` | Code restructure without behavior change | | `chore` | Config, deps, scripts, tooling | | `docs` | Documentation only | | `test` | Test files only | | `style` | Formatting, whitespace, lint fixes | When ambiguous, show the inferred type and ask the user to confirm. ## Execution Flow **STEP 1 — Analyze