From 7286279b1c8e30648887f6b609f0fbed30f3433c Mon Sep 17 00:00:00 2001 From: nkoji21 <133028205+nkoji21@users.noreply.github.com> Date: Sun, 29 Mar 2026 15:42:29 +0900 Subject: [PATCH 1/2] =?UTF-8?q?refactor(skills):=20=E3=82=B3=E3=83=9F?= =?UTF-8?q?=E3=83=83=E3=83=88=E3=83=A1=E3=83=83=E3=82=BB=E3=83=BC=E3=82=B8?= =?UTF-8?q?=E6=96=B9=E9=87=9D=E3=82=92=E6=94=B9=E5=96=84=E3=81=97git-workt?= =?UTF-8?q?ree=E3=81=AErsync=E3=83=91=E3=82=B9=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude --- .agents/skills/git-commit-ja/SKILL.md | 2 +- .agents/skills/git-commit/SKILL.md | 15 +++++++++++++-- .agents/skills/git-worktree/SKILL.md | 1 + 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.agents/skills/git-commit-ja/SKILL.md b/.agents/skills/git-commit-ja/SKILL.md index 50fbc03..985ef5b 100644 --- a/.agents/skills/git-commit-ja/SKILL.md +++ b/.agents/skills/git-commit-ja/SKILL.md @@ -7,4 +7,4 @@ allowed-tools: Bash, Skill Use /git-commit to perform the commit, but write the commit message description **in Japanese**. -Example: `feat(alacritty): 透明度設定を追加` +Example: `fix(alacritty): 起動時警告を消すため非推奨オプションを削除` diff --git a/.agents/skills/git-commit/SKILL.md b/.agents/skills/git-commit/SKILL.md index e1f7093..1fa79ca 100644 --- a/.agents/skills/git-commit/SKILL.md +++ b/.agents/skills/git-commit/SKILL.md @@ -26,7 +26,9 @@ If a `--path ` argument is provided (e.g. invoked as `git-commit --path /tm 3. Stage and commit using `git apply` (see below) ## Principle -- Write **Why** (why the change was made) in the commit message. Leave What to the diff. +- Write **Why** in the subject line itself — keep it concise but meaningful. +- Body is optional. If you feel a body is necessary, the commit is likely too large — consider splitting it. +- Footer (Co-Authored-By) is always required. - Each commit must be **independently revertable** without breaking other functionality. ## Commit Granularity @@ -61,7 +63,16 @@ Conventional Commits v1.0.0 Format: `type(scope): description` - scope: optional (e.g., `alacritty`, `vim`, `git`) -- **description: in English** +- **description: in English** — convey Why, not just What, but keep it short + +Examples: +``` +# Too vague (What only) +fix(git): remove deprecated option + +# Better (Why in subject) +fix(git): remove deprecated option to prevent startup warning +``` Types: - `feat`: new feature diff --git a/.agents/skills/git-worktree/SKILL.md b/.agents/skills/git-worktree/SKILL.md index aef3da3..ee7c1e1 100644 --- a/.agents/skills/git-worktree/SKILL.md +++ b/.agents/skills/git-worktree/SKILL.md @@ -23,6 +23,7 @@ Create a git worktree for the current changes so they can be worked on in isolat 4. Copy all modified/untracked files from the current working directory into the worktree, preserving directory structure: ``` # For each changed file shown in git status (macOS-compatible): + cd $(git rev-parse --show-toplevel) rsync -R {file} /tmp/{branch-name}/ ``` From bb7ca613ed3e29f5f55ffe890aa267e570e04f59 Mon Sep 17 00:00:00 2001 From: nkoji21 <133028205+nkoji21@users.noreply.github.com> Date: Sun, 29 Mar 2026 15:42:33 +0900 Subject: [PATCH 2/2] =?UTF-8?q?chore(cursor):=20=E6=9C=AA=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E3=81=AE=E7=AB=AF=E6=9C=AB=E3=83=BB=E3=82=A6=E3=82=A3?= =?UTF-8?q?=E3=83=B3=E3=83=89=E3=82=A6=E8=A8=AD=E5=AE=9A=E3=82=92=E5=89=8A?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude --- .cursor/settings.json | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.cursor/settings.json b/.cursor/settings.json index fa8672e..bf636da 100644 --- a/.cursor/settings.json +++ b/.cursor/settings.json @@ -67,9 +67,7 @@ // background - opacity "vscode_vibrancy.opacity": 0.42, - "workbench.colorCustomizations": { - "terminal.background": "#00000000" - }, + "workbench.colorCustomizations": {}, "workbench.panel.showLabels": false, "zig.zls.enabled": "on", "cursor.cpp.disabledLanguages": [ @@ -77,9 +75,6 @@ "plaintext", "c" ], - "terminal.integrated.gpuAcceleration": "off", - "window.systemColorTheme": "dark", - "window.autoDetectColorScheme": false, "accessibility.signals.terminalBell": { "sound": "on" }