| name | lgs-1920-studio-git-commit-quality |
| description | Prepare high-quality LGS1920 Git commits by checking scope, preserving unrelated work, grouping changes, validating tests, and applying the repository commit convention and commit history workflow. |
Git Commit Quality
Use when reviewing, splitting, or preparing commits. Inspect git status, the full diff, recent commit style, and required documentation updates before staging anything.
Workflow:
- Separate user changes from unrelated or pre-existing work.
- Group one coherent topic per commit and inspect staged content before committing.
- Use the key format
feat, fix, refactor, docs, style, test, or chore.
- Run relevant tests, lint, and build checks before committing.
- Update the required README and
COMMIT_HISTORY.md documentation when preparing a commit.
- Report the exact commit scope and remaining working-tree changes.
Never reset, checkout, or discard user changes without explicit authorization. Never commit secrets, generated noise, or unrelated modifications.