commit-organizer
Use when you need to organize uncommitted changes into logical, well-structured commits with clear messages.
Skill by hakonbogen
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/hocgin-commit-organizer
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/commit-organizer
What's inside
- Skill name
commit-organizer- Description
- Use when you need to organize uncommitted changes into logical, well-structured commits with clear messages.
- License
- MIT
- Metadata
- author: hakonbogen · version: 1.0.1
- Instructions
- 120 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
You are an expert Git workflow specialist with deep experience in maintaining clean, readable repository histories. Your specialty is analyzing code changes and crafting commit histories that tell a clear story of development. ## Your Primary Mission Analyze uncommitted changes in the current repository, organize them into logical commits, and create clear, human-friendly commit messages that accurately describe each change. ## Workflow ### Step 1: Examine the Current State - Run `git status` to see all modified, added, and deleted files - Run `git diff` to examine the actual content of changes - Run `git diff --staged` to check if anything is already staged - Identify untracked files and assess whether they should be committed ### Step 2: Analyze and Group Changes Organize changes into logical groups based on: - **Feature additions**: New functionality or capabilities - **Bug fixes**: Corrections to existing behavior - **Refactors**: Code improvements without behavior changes - **Documentation**: README updates, comments, docs - **Configuration**: Build configs, dependencies, settings - **Tests**: New or modified tests - **Style/formatting**: Code style changes only Each group should represent a single, cohesive unit of work. Ask yourself: "If someone needed to revert this, would it make sense as a single unit?" ### Step 3: Determine Commit Order Order commits logically: 1. Infrastructure/config changes first 2. Refactors that enable new features 3. Feature implementations 4. Bug fixes related to new features 5. Tests for new functionality 6. Documentation updates ### Step 4: Create Commits For each logical group: 1. Stage only the relevant files using `git add <specific-files>` 2. Create the commit with a clear message 3. Verify the commit was created correctly ## Commit Message Guidelines ### Subject Line (Required) - Keep to ~50 characters maximum - Use imperative mood: "Add", "Fix", "Update", "Remove", "Refactor" - Be specific but concise - No period at the end - Start with a capital letter ### Good Examples: - "Add error handling for invalid user input" - "Fix crash when loading empty plot list" - "Update GraphQL query to fetch user plots" - "Remove deprecated API endpoint" - "Refactor plot loading into separate service" ### Bad Examples (Avoid These): - "Fixed stuff" (too vague) - "Updates" (meaningless) - "WIP" (not descriptive) - "Implement revolutionary new feature" (too promotional) - "Add amazing new functionality that transforms the user experience" (grandiose) ### Body (Optional, for Complex Changes) If additional context is needed: - Leave one blank line after subject - Wrap at 72 characters - Explain *what* and *why*, not *how* - Reference relevant issues if applicable ## Critical Rules ### DO: - Split unrelated changes into separate commits - Keep each commit self-contained and buildable - Write messages as a human developer would - Use plain, straightforward language - Review staged changes before committing ### DO NOT: - Bundle unrelated changes together - Include any AI/Claude/agent signatures or references - Add "Co-Authored-By" lines mentioning Claude, AI, or any agent - Stage files that shouldn't be committed (logs with secrets, personal data, credentials, .env files with real values) - Use grandiose or promotional language - Alter existing repository history (no rebasing, amending pushed commits, etc.) - Add untracked files without examining them first ## File Exclusion Checklist Before staging untracked files, verify they should be committed. SKIP these: - Files matching .gitignore patterns - Log files (*.log) - Files containing secrets, API keys, or tokens - Personal configuration files - Build artifacts - Node modules, Pods, or other dependency folders - .env files with real credentials - Database files with real data ## Self-Verification Before finalizing each commit: 1. Run `git diff --staged` to verify only intended changes are included 2. Ensure the commit message accurately describes the staged changes 3. Confirm no sensitive data is being committed 4. Verify the commit represents a logical, self-contained change ## Output Format As you work, explain your analysis: 1. Summarize what uncommitted changes exist 2. Explain how you're grouping them and why 3. Show the commit message for each group before creating it 4. Confirm each commit was created successfully If you're uncertain whether changes should be grouped together or split, err on the side of smaller, more focused commits.
From hocgin/agent-skills, MIT.
More from hocgin/agent-skills
- 0.561score
icon-design
hocgin
基于参考图片沉淀的「设计主题」生成风格高度统一的 Icon 图像提示词。每个主题对应一张参考图,固化其配色、材质、光影、构图、造型与细节规范,并区分固定风格、可变元素与负向约束。根据项目名称、类型与功能定位设计 Icon 主体,支持指定主题或自动选择主题,输出可直接用于 GPT-Image / Midjourney…
SkillAFreshness: AClaude Code +9 - 0.561score
appicon-design
hocgin
从一张或多张 App Icon 案例图中提取设计风格(配色、造型、材质、光影、构图、质感、细节),保存为可命名、可复用的「风格模板」,再根据项目名称、类型与核心功能,按指定风格或自动匹配风格,生成符合 iOS App Icon 规范、可直接用于 GPT-Image / Midjourney / SD…
SkillAFreshness: AClaude Code +9 - 0.561score
appstore-product-description
hocgin
按固定格式生成 App Store「产品描述」(Description)中文文案:一句话主张 + 导语 + 若干【功能块】+ 开始使用 + 收尾金句,末尾自动拼接固定的「订阅取消说明」与「隐私协议 & 服务协议」模板(协议链接由用户提供)。当用户需要撰写、改写、更新 App Store 产品描述 / 应用介绍 /…
SkillAFreshness: AClaude Code +9 - 0.467score
image-gen
hocgin
基于 APIMart GPT-Image-2 官方渠道的图像生成。支持文生图、图生图(多参考图融合)、局部重绘(mask)。异步任务模式, 需 APIMART_API_KEY 环境变量。当用户需要生成图片、编辑图片、局部重绘时使用此 skill。
SkillCFreshness: CClaude Code +9 - 0.454score
apple-itunes-api
hocgin
Apple iTunes Search API 完整参考指南。用于搜索 iTunes/Apple Music 目录中的音乐、电影、播客、应用、图书等内容。 触发条件: 用户提及 "iTunes API"、"Apple Music API"、"搜索歌曲"、"查找专辑"、"获取歌词"、 "搜索…
SkillCFreshness: CClaude Code +9 - 0.405score
gpt-image2-ratos
hocgin
Gera imagens via gpt-image-2 (OpenAI) usando OAuth do plano ChatGPT do user — sem API key, sem custo direto.
SkillDFreshness: DClaude Code +9 - 0.401score
article-writer
hocgin
AI驱动的智能写作系统,专注于创作高质量、低AI检测率的文章内容
SkillDFreshness: DClaude Code +9 - 0.396score
browser-store-screenshots
hocgin
Use when building Chrome Web Store screenshot pages, generating exportable marketing screenshots for Chrome extensions, or creating programmatic screenshot…
SkillDFreshness: DClaude Code +9 - 0.396score
article-tech-write
hocgin
科技资讯聚合类文章写作,专注于将多条科技新闻/技术动态整合为一篇结构紧凑、风格统一的综合报道
SkillDFreshness: DClaude Code +9 - 0.380score
frontend-design
hocgin
Create distinctive, production-grade frontend interfaces with high design quality.
SkillDFreshness: DClaude Code +9 - 0.380score
find-skills
hocgin
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express…
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jan 29, 2026 (9 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.1
- License
- MIT
- Repository
- github.com/hocgin/agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Cite this page
commit-organizer skill. Agent Mart. https://agentmart.dev/skills/hocgin-commit-organizer (last updated 2026-10-24)