sl-commit
Installation
SKILL.md
Smart Sapling Commit
Create well-formatted commits following the Conventional Commits specification using Sapling SCM.
<EXTREMELY_IMPORTANT>
Windows Note: Use the full path to
sl.exeto avoid conflicts with PowerShell's built-inslalias forSet-Location. </EXTREMELY_IMPORTANT>
What This Skill Does
- Checks which files have changes with
sl status - If there are untracked files to include, adds them with
sl add - Performs a
sl diffto understand what changes are being committed - Analyzes the diff to determine if multiple distinct logical changes are present
- If multiple distinct changes are detected, suggests breaking the commit into multiple smaller commits
- For each commit, creates a commit message using conventional commit format