Commit all changes (purely local operation).
Commit requirements
- Commit at an auditable granularity, with clear commit messages, and only commit files that should be included in the repository
- Commit messages comply with the Conventional Commits specification
- Run the minimum-scope tests related to the modified content; if they fail, fix and commit
- When the changes involve
skills/orREADME.md, runnode scripts/check.mjsbefore committing to verify consistency
Process
- First check
git status --porcelainthen decide. - If files that should be ignored/temporary files are found: after seeking the user's opinion, decide 1 include them in the commit 2 keep them and update
.gitignore3 delete them directly. - Complete the commit according to the "Commit requirements"; at the end, try to ensure the working tree is clean.