.codex/skills/commit/SKILL.md
Commit current work by reviewing diffs, splitting into logical commits, and writing standardized messages. Use when the user says "commit", "commit this", "commit current work", or asks to create a git commit.
npx skillsauth add bitsocialnet/5chan commitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Review all uncommitted changes
git status
git diff
git diff --cached
Read every changed file's diff to understand the full scope of changes.
Group changes into logical commits
If diffs are unrelated, split into multiple commits. Each commit should cover one logical unit of work.
Example — two unrelated changes in the working tree:
src/components/reply-modal.tsx (UI fix)src/stores/use-settings-store.ts (new setting)These should be two separate commits, not one.
Stage and commit each group
For each logical group:
git add <relevant files>
git commit -m "title here"
Display the commit title to the user wrapped in backticks (inline code).
Title format: Conventional Commits with a required scope. The scope should be a short, human-readable name for the area of the codebase affected.
| Pattern | Example |
|---------|---------|
| type(scope): description | feat(reply modal): add textarea |
Never omit the scope. feat: add textarea is wrong. feat(reply modal): add textarea is correct.
Keep titles short. If more context is needed, add a commit body — but don't repeat the title.
Use perf: for performance optimizations, not fix:.
tools
Profile app performance while browsing, collecting Web Vitals and React rerender data via react-scan. Orchestrates parallel profiler subagents via playwright-cli to capture navigation timing, long tasks, layout shifts, LCP, React commit counts, render bursts, and per-component render data. Use when profiling browsing performance, finding bottlenecks, diagnosing excessive rerenders, or auditing page performance.
tools
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
tools
Create a GitHub issue from recent changes, commit only relevant diffs on a short-lived task branch, push that branch, and open a PR into master that will close the issue on merge. Use when the user says "make closed issue", "close issue", or wants to create a tracked, already-resolved GitHub issue for completed work.
development
Formats GitHub issue titles and descriptions for tracking problems that were fixed. Use when proposing or implementing code changes, creating GitHub issues, or when the user asks for issue suggestions.