← スキル一覧に戻る

commit
by hugocxl
✨ My site built with Next.js, PandaCSS, Notion, and Vercel.
⭐ 2🍴 1📅 2026年1月18日
SKILL.md
name: commit description: Create conventional commits for this Electron + React project. Run type checking before committing to ensure no type errors are introduced. user_invocable: true model: haiku tools: Bash, Read
Commit Skill
Create well-formatted conventional commits for the Cleanify project.
Commit Message Format
Use conventional commits format:
<type>(<scope>): <description>
[optional body]
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Types
| Type | When to Use |
|---|---|
| feat | New feature or capability |
| fix | Bug fix |
| refactor | Code change that neither fixes a bug nor adds a feature |
| perf | Performance improvement |
| style | Formatting, missing semicolons, etc. |
| docs | Documentation only changes |
| test | Adding or correcting tests |
| chore | Maintenance tasks, dependency updates |
| build | Changes to build system or external dependencies |
Scopes
| Scope | Files Affected |
|---|---|
| main | src/main/** |
| renderer | src/renderer/** |
| preload | src/preload/** |
| types | src/shared/types.ts |
| services | src/main/services/** |
| hooks | src/renderer/hooks/** |
| ipc | IPC handlers and preload bridges |
| build | Build configuration, electron-builder |
| deps | package.json dependency changes |
Workflow
- Run
pnpm typecheckto verify no type errors - Run
git statusto see changes - Run
git diff --stagedfor staged changes (orgit difffor all) - Check recent commits with
git log --oneline -5for style consistency - Create commit with appropriate type, scope, and description
Examples
# Feature in renderer
feat(renderer): add disk usage visualization panel
# Bug fix in main process service
fix(services): handle null path in artifact scanner
# IPC changes spanning main and preload
feat(ipc): add real-time progress events for cleanup
# Type definition update
refactor(types): add discriminated union for scan states
# Dependency update
chore(deps): update electron to v40
Pre-Commit Check
Always run type checking before committing:
pnpm typecheck
If there are errors, fix them before committing. Never commit code with type errors.
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です