fix(docs): resolve skill guide review issues

This commit is contained in:
Affaan Mustafa
2026-03-28 20:23:34 -04:00
parent da74f85c10
commit e815f0d05c
2 changed files with 14 additions and 5 deletions

View File

@@ -606,14 +606,23 @@ description: Quick reference for [API/Library].
Test all code examples:
```bash
# For TypeScript (run from inside the skill directory or specify the path)
# From the repo root
npx tsc --noEmit skills/your-skill-name/examples/*.ts
# For Python
# Or from inside the skill directory
npx tsc --noEmit examples/*.ts
# From the repo root
python -m py_compile skills/your-skill-name/examples/*.py
# For Go
# Or from inside the skill directory
python -m py_compile examples/*.py
# From the repo root
go build ./skills/your-skill-name/examples/...
# Or from inside the skill directory
go build ./examples/...
```
---

View File

@@ -103,6 +103,6 @@ cp -r rules/php ~/.claude/rules/php
### 带覆盖说明的通用规则
`rules/common/` 中可能被语言特定文件覆盖的规则会标记:
`rules/common/` 中可能被语言特定文件覆盖的规则会标记:
> **语言说明**:此规则可能被语言特定规则覆盖对于某些语言,该模式可能不是惯用的
> **语言说明**:此规则可能被语言特定规则覆盖对于某些语言,该模式可能并不符合惯用写法