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-pr/SKILL.md b/.agents/skills/git-pr/SKILL.md index 1f8d4f8..5c8f49d 100644 --- a/.agents/skills/git-pr/SKILL.md +++ b/.agents/skills/git-pr/SKILL.md @@ -43,3 +43,4 @@ Anything the reviewer should be aware of. Remove if unnecessary. **Write all content in English.** **Keep it concise. Implementation details belong in the diff, not the PR description.** +**For readability, wrap long lines with a newline at natural break points (e.g. after a period or comma) so no line exceeds ~80 characters.** 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}/ ``` 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" }