commit
Review repo changes and create logical atomic commits. Use when the user says "/commit", wants to commit their work, or asks to break changes into commits.
- License 许可
- Apache-2.0
- 最近更新
- 2026-04-27
- Stars
- ★ 6
- Forks
- 2
01 前言 Front Matter
- name
- commit
- description
- Review repo changes and create logical atomic commits. Use when the user says "/commit", wants to commit their work, or asks to break changes into commits.
- argument-hint
- [message (optional)]
03 SKILL.md 正文
What this skill does
Reviews all staged and unstaged changes in the repo, groups them into logical atomic commits, and commits each one using charlie-commit.
Steps
1. Review changes
git status -u
git diff --stat
git diff
Analyze what changed and group into logical commits. Each commit should be a single concern — don't lump unrelated changes together.
2. If $ARGUMENTS has a message
Stage all changes and commit with that message:
git add -A
charlie-commit -m "$ARGUMENTS"
Done.
3. If no message provided
For each logical group:
- Stage the relevant files:
git add <files> - Draft a concise commit message (imperative mood, focus on the "why")
- Commit:
charlie-commit -m "<message>"
Rules
- Always use
charlie-commit(nevergit commit) - Never include co-authored-by or AI references
- Commit message ends with:
Charlie ? <charlie@charlieverse.ai> - Break into atomic commits — one concern per commit
- Don't push. That's a separate step.
04 同仓库更多 Skills
trick
Run Charlie tricks by name or path. Use when the user says "/trick", wants to run a trick, list available tricks, or execute a skill file. Also trigger when the user mentions running a specific trick by name (e.g., "run the session-save trick", "run ship", "do the commit trick").
research
Research a topic and save findings to Charlieverse knowledge. Use whenever the user wants to research something, look up documentation, investigate a library or tool, explore a concept, or asks "what do you know about X". Also trigger when the user says "/research", wants to build up knowledge about a subject, or asks you to "look into" something — even if they don't use the word "research" explicitly.
trick
Run Charlie tricks by name or path. Use when the user says "/trick", wants to run a trick, list available tricks, or execute a skill file. Also trigger when the user mentions running a specific trick by name (e.g., "run the session-save trick", "run ship", "do the commit trick").
research
Research a topic and save findings to Charlieverse knowledge. Use whenever the user wants to research something, look up documentation, investigate a library or tool, explore a concept, or asks "what do you know about X". Also trigger when the user says "/research", wants to build up knowledge about a subject, or asks you to "look into" something — even if they don't use the word "research" explicitly.
copilot
Run a task through GitHub Copilot CLI. Use when the user says "/copilot", wants to delegate work to Copilot, or mentions running something through Copilot. Also trigger when the user wants to use Copilot for a task.
codex
Run a task through OpenAI Codex CLI. Use when the user says "/codex", wants to delegate work to Codex, or mentions running something through Codex. Also trigger when the user wants to use an OpenAI model for a task.