diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-28 21:46:36 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-28 21:46:36 +0900 |
| commit | 5613ec7a3bbfbe02aa46eafa7ca8209f4e65ab28 (patch) | |
| tree | 6800356c8c6bc0e1063e31168d22806505c8e5a4 | |
| parent | 5d1ea4981011e25e72095effd59c705eebc2ad56 (diff) | |
| download | dotfiles-5613ec7a3bbfbe02aa46eafa7ca8209f4e65ab28.tar.gz dotfiles-5613ec7a3bbfbe02aa46eafa7ca8209f4e65ab28.tar.zst dotfiles-5613ec7a3bbfbe02aa46eafa7ca8209f4e65ab28.zip | |
claude: add /q skill
| -rw-r--r-- | .config/claude/skills/q/SKILL.md | 18 | ||||
| -rw-r--r-- | home-manager/modules/common.nix | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/.config/claude/skills/q/SKILL.md b/.config/claude/skills/q/SKILL.md new file mode 100644 index 0000000..135f200 --- /dev/null +++ b/.config/claude/skills/q/SKILL.md @@ -0,0 +1,18 @@ +--- +name: q +description: Answer a question about the codebase WITHOUT making any changes. Always invoked explicitly via /q. +disallowed-tools: Edit, Write +--- + +The user is **asking a question**, not requesting a change. Answer it; do not modify anything. + +When the user invokes this skill, they have a **neutral question** — they are NOT criticizing or pushing back on a design decision, and they are NOT requesting a change. The question may even be a very basic or elementary check. Do not read it as an objection, a hint that something is wrong, or a request to defend/revise the design. Just answer what was asked. + +## Rules + +- Read-only. Do NOT edit, create, or delete files, and do NOT run state-changing commands. +- Do NOT fix things you noticed along the way. Even an obvious bug — just answer. +- Do NOT treat the question as a challenge to a design decision. The user is curious, not arguing. Don't get defensive and don't volunteer changes. +- Answer directly and concretely. + +If you reach for Edit or Write, stop. This skill only answers questions. diff --git a/home-manager/modules/common.nix b/home-manager/modules/common.nix index 02b80f9..1f97cdf 100644 --- a/home-manager/modules/common.nix +++ b/home-manager/modules/common.nix @@ -93,6 +93,7 @@ in home.file = { ".claude/skills/conventional-commit".source = ../../.config/claude/skills/conventional-commit; + ".claude/skills/q".source = ../../.config/claude/skills/q; ".config/alacritty/alacritty.common.toml".source = ../../.config/alacritty/alacritty.common.toml; ".config/alacritty/alacritty.local.toml".source = ../../.config/alacritty/alacritty.${env.os}.toml; ".config/alacritty/alacritty.toml".source = ../../.config/alacritty/alacritty.toml; |
