git-commit-changes
Guidelines for batching changes and writing safe, atomic git commits
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guidelines for batching changes and writing safe, atomic git commits
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Helps users connect and use a service in Rebel when it isn't already in the built-in connector catalog. Acts as an expert advisor — runs the full build-vs-buy check (catalog, MCP Registry, community) before scaffolding a custom MCP server and guiding research, implementation, security review, and contribution.
Guides users through adding new tools or capabilities to an existing connector (MCP server). Handles eligibility, workspace setup, connector research, implementation via Software Engineer workflow, local testing, and PR submission with an extension-specific template.
Capture citable sources (meetings, documents, files, media, web content) as structured files in memory/sources/ with provenance metadata for traceability.
Help users celebrate impactful wins and surface important learnings by analyzing their recent communications and activities.
Guidelines for maintaining single sources of truth and using signposting to connect documentation without duplication
Evaluate a finalised meeting transcript and distribute relevant content to other spaces, deciding per space whether to copy the full transcript, write a sanitised summary, or skip.
| name | git-commit-changes |
| description | Guidelines for batching changes and writing safe, atomic git commits |
| last_updated | "2025-12-19T00:00:00.000Z" |
| agent_type | main_agent |
Have a look at Git diff. Batch the changes into commits, and make them one at a time.
ABOVE ALL, don't do anything that could result in lost work or mess up yet-to-be-committed changes, unless EXPLICITLY instructed to by the user after warning them.
<type>(<scope>): <Summary sentence 1. Summary sentence 2.>
<optional detailed description>
- Include a reference to current planning doc at the top of the commit body if there is one, e.g. "Planning doc: yyMMddx_feature_name.md"
- More detailed explanation
- Bullet points for multiple changes
Example:
feat(ui): Added dark mode toggle to settings. Users frequently requested theme switching for late-night work.
- Adds ThemeToggle component using existing design tokens
- Persists preference to settings store
Types: feat, fix, docs, style, refactor, test, chore
Others may be changing the code while you work, and they might have added other files already.
git reset && git add wanted-file && git commit -m "fix(auth): Fixed token refresh on expired sessions. Users were getting logged out unexpectedly."
git add "frontend/src/routes/language/[target_language_code]/+page.svelte"[param].gitignore accordingly.If you notice files that almost certainly shouldn't be committed (e.g. node_modules, passwords.secret), read the .gitignore, and stop to ask the user whether to add them to it.