.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/bitsocial-web 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:.
development
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
data-ai
Add or update i18next translation keys across all language files by spawning translator subagents. Use when the user asks to add a new translation, update existing translations, translate text, or work with i18n keys. Triggers on "translate", "add translation", "translation key", "i18n", "localization".
development
Test and debug Android wrapper features for Bitsocial Web using a local Android emulator or attached device. Manages emulator lifecycle, builds and installs the wrapper when commands are provided, runs focused checks, captures logcat diagnostics, and debugs WebView or TWA behavior. Use when the user asks to test Android, debug WebView behavior, run emulator tests, or says "test-apk".
testing
Review an open GitHub pull request, inspect bot and human feedback, decide which findings are valid, implement fixes on the PR branch, and merge the PR into master when it is ready. Use when the user says "check the PR", "address review comments", "review PR feedback", or "merge this PR".