From 5613ec7a3bbfbe02aa46eafa7ca8209f4e65ab28 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 28 Jun 2026 21:46:36 +0900 Subject: claude: add /q skill --- .config/claude/skills/q/SKILL.md | 18 ++++++++++++++++++ home-manager/modules/common.nix | 1 + 2 files changed, 19 insertions(+) create mode 100644 .config/claude/skills/q/SKILL.md 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; -- cgit v1.3.1