一键导入
git-pushing
Create atomic commits with descriptive messages. Maintain clean git history for the Cooper project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create atomic commits with descriptive messages. Maintain clean git history for the Cooper project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Evaluate code quality and suggest refactoring opportunities before committing. Ensure Cooper's codebase stays clean and maintainable.
Build comprehensive task context before making changes. Track constraints, dependencies, and execution order across multi-file work in Cooper's Electron architecture.
Define patterns for integrating with the Copilot SDK in Cooper. Cover session management, model switching, tool execution, event handling, and agent support.
Define and enforce IPC communication patterns between Cooper's main process, preload bridge, and renderer. Ensure all cross-process communication follows the secure, typed preload bridge pattern.
Decompose tasks into sub-tasks, assess risk, and create implementation checklists before starting work on Cooper features.
Define React, TypeScript, and Tailwind conventions for Cooper's renderer process. Ensure consistent, accessible, and maintainable UI components.
| name | git-pushing |
| description | Create atomic commits with descriptive messages. Maintain clean git history for the Cooper project. |
Create atomic commits with descriptive messages. Maintain clean git history for the Cooper project.
Use conventional commits:
<type>(<scope>): <short description>
[optional body explaining WHY]
[optional footer with issue refs]
Types: feat, fix, refactor, test, docs, chore, style, perf
Scopes (Cooper-specific):
main — Main process changes (src/main/)renderer — Renderer/UI changes (src/renderer/)preload — Preload bridge changes (src/preload/)sdk — Copilot SDK integration changesterminal — PTY/terminal changesvoice — Voice service changesworktree — Git worktree changesipc — IPC handler changestest — Test changesbuild — Build/config changesnode_modules/, out/, dist/# Good
git commit -m "feat(renderer): add model selector dropdown to chat header"
git commit -m "fix(ipc): handle session resume failure when model changes"
git commit -m "refactor(main): extract SDK event handlers to separate module"
git commit -m "test(components): add tests for SettingsPanel toggle behavior"
# Bad
git commit -m "update stuff"
git commit -m "fix bug"
git commit -m "WIP"
stagingstagingmain