commit
Generate a Conventional Commits message from the staged diff and create the commit after user confirmation. TRIGGER when the user says "commit these changes", "commit this", "generate a commit message", "stage and commit", "commit with CC", "write a commit message", "summarize my diff into a commit", "/nyann:commit". Do NOT trigger on "git commit" in an informational context or when the user is just asking what a commit message means. DISAMBIGUATION: if the user mentions BOTH branch creation AND committing in the same message (e.g. "start a branch and commit this", "new branch + commit"), route to the `new-branch` skill FIRST; `commit` will take over after the branch is created. When nothing is staged, guide the user to stage first rather than silently staging everything.
适合你,如果每次写提交信息都要纠结格式。
npx oh-my-skill add thettwe/nyann/commitcurl -fsSL https://oh-my-skill.com/install.sh | bash -s -- thettwe/nyann/commitnpx oh-my-skill verify thettwe/nyann/commit