Skip to content
Back to skills

Commit

ASecurity

Finalize one completed logical change with Jujutsu (jj) and leave a clean working copy. Use when asked to commit or when a finished unit of work needs recording; do not invoke merely to begin a task.

  • 10 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 1, 2026
ai-agents

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add martinemde/dotfiles --skill commit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Commit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Commit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/martinemde-commit/badge)](https://www.skillsdirectory.com/skills/martinemde-commit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: commit
description: Finalize one completed logical change with Jujutsu (jj) and leave a clean working copy. Use when asked to commit or when a finished unit of work needs recording; do not invoke merely to begin a task.
---

# Commit a Completed Change

Record the current unit of work without absorbing unrelated changes or rewriting existing history. Repository instructions take precedence when they define a more specific commit workflow.

## Inspect

Run these concurrently before changing history:

- `jj diff`
- `jj log -r "ancestors(@, 10)" --template builtin_log_oneline`
- `jj status`

Use the diff to identify the task-owned changes, the log to match the repository's description style, and status to catch conflicts, unrelated work, or an existing description. Confirm the relevant checks have passed and scan the changed paths for likely secrets.

If the working copy is empty, report that there is nothing to commit. If task-owned and unrelated changes are mixed, split only when the ownership boundary is exact and the active jj guidance provides a safe non-interactive procedure; otherwise stop and identify what needs separating.

## Finalize

Choose a concise description that explains why the completed change exists and matches local history. Do not impose Conventional Commits unless the repository uses them.

- If `@` already has an accurate description, run `jj new`.
- Otherwise run `jj commit -m "<description>"`.

Never launch an editor, publish changes, or rewrite an earlier commit as part of this skill.

## Verify

Run `jj status`. Success means the new `@` is empty and the completed change is its accurately described parent. Report the description and the checks that passed; distinguish checks not run from checks that passed.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.