fix(docs): escape inline-code backticks in !command`` references

Escape backticks across en/ja/uk/vi/zh slash-commands and skills modules so the literal `!`command`` syntax renders correctly instead of breaking the inline-code span.
This commit is contained in:
Stephen Guo
2026-05-12 04:58:29 +08:00
committed by GitHub
parent b3571e8def
commit 6e46b25276
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -276,7 +276,7 @@ Usage: `/review-pr 456 high` → `$0`="456", `$1`="high"
### Dynamic Context with Shell Commands
Execute bash commands before the prompt using `!`command``:
Execute bash commands before the prompt using `` !`command` ``:
```yaml
---
+2 -2
View File
@@ -178,7 +178,7 @@ paths: "src/api/**/*.ts" # Glob patterns limiting when skill activ
| `effort` | Effort level override while the skill is active: `low`, `medium`, `high`, `xhigh`, or `max`. Available levels depend on the model — `xhigh` is the Claude Code default for Opus 4.7. |
| `context` | `fork` to run the skill in a forked subagent context with its own context window. |
| `agent` | Subagent type when `context: fork` (e.g., `Explore`, `Plan`, `general-purpose`). |
| `shell` | Shell used for `!`command`` substitutions and scripts: `bash` (default) or `powershell`. |
| `shell` | Shell used for `` !`command` `` substitutions and scripts: `bash` (default) or `powershell`. |
| `hooks` | Hooks scoped to this skill's lifecycle (same format as global hooks). |
| `paths` | Glob patterns that limit when the skill is auto-activated. Comma-separated string or YAML list. Same format as path-specific rules. |
@@ -266,7 +266,7 @@ Running `/fix-issue 123` replaces `$ARGUMENTS` with `123`.
## Injecting Dynamic Context
The `!`command`` syntax runs shell commands before the skill content is sent to Claude:
The `` !`command` `` syntax runs shell commands before the skill content is sent to Claude:
```yaml
---
+1 -1
View File
@@ -280,7 +280,7 @@ Review PR #$0 with priority $1
### シェルコマンドによる動的コンテキスト
プロンプトの前に `!`command`` で bash コマンドを実行する:
プロンプトの前に `` !`command` `` で bash コマンドを実行する:
```yaml
---
+2 -2
View File
@@ -179,7 +179,7 @@ paths: "src/api/**/*.ts" # スキルの発火を制限する glob
| `effort` | スキルが有効な間の努力レベルの上書き: `low`, `medium`, `high`, `max`。 |
| `context` | `fork` を指定するとスキルを独自のコンテキストウィンドウを持つフォーク済みサブエージェントコンテキストで実行する。 |
| `agent` | `context: fork` の際のサブエージェントタイプ(例: `Explore`, `Plan`, `general-purpose`)。 |
| `shell` | `!`command`` 置換とスクリプトに使うシェル: `bash`(既定)または `powershell`。 |
| `shell` | `` !`command` `` 置換とスクリプトに使うシェル: `bash`(既定)または `powershell`。 |
| `hooks` | このスキルのライフサイクルにスコープされたフック(グローバルフックと同じ形式)。 |
| `paths` | スキルが自動発火する条件を制限する glob パターン。カンマ区切り文字列または YAML リスト。パス固有ルールと同じ形式。 |
@@ -266,7 +266,7 @@ Fix GitHub issue $ARGUMENTS following our coding standards.
## 動的コンテキストの注入
`!`command`` 構文は、スキルコンテンツが Claude に送信される前にシェルコマンドを実行する。
`` !`command` `` 構文は、スキルコンテンツが Claude に送信される前にシェルコマンドを実行する。
```yaml
---
+1 -1
View File
@@ -179,7 +179,7 @@ paths: "src/api/**/*.ts" # Glob-патерни, що обмежу
| `effort` | Перевизначення рівня зусиль: `low`, `medium`, `high` або `max`. |
| `context` | `fork` для запуску навички у відгалуженому контексті субагента з власним контекстним вікном. |
| `agent` | Тип субагента при `context: fork` (наприклад, `Explore`, `Plan`, `general-purpose`). |
| `shell` | Оболонка для підстановок `!`command`` та скриптів: `bash` (за замовч.) або `powershell`. |
| `shell` | Оболонка для підстановок `` !`command` `` та скриптів: `bash` (за замовч.) або `powershell`. |
| `hooks` | Хуки, обмежені життєвим циклом цієї навички (той самий формат, що й глобальні хуки). |
| `paths` | Glob-патерни, що обмежують автоактивацію. Рядок через кому або YAML-список. Формат як у правилах для конкретних шляхів. |
+1 -1
View File
@@ -233,7 +233,7 @@ Cách sử dụng: `/review-pr 456 high` → `$0`="456", `$1`="high"
### Bối Cảnh Động Với Lệnh Shell
Thực thi các lệnh bash trước prompt sử dụng `!`command``:
Thực thi các lệnh bash trước prompt sử dụng `` !`command` ``:
```yaml
---
+1 -1
View File
@@ -222,7 +222,7 @@ description: 按优先级审查 PR
### 用 Shell 命令注入动态上下文
在 prompt 发送前,可用 `!` 命令先执行 shell 命令:
在 prompt 发送前,可用 `` !`command` `` 先执行 shell 命令:
```yaml
---