mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-30 13:43:26 +08:00
fix(docs): resolve skill guide review issues
This commit is contained in:
@@ -606,14 +606,23 @@ description: Quick reference for [API/Library].
|
|||||||
Test all code examples:
|
Test all code examples:
|
||||||
|
|
||||||
```bash
|
```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
|
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
|
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/...
|
go build ./skills/your-skill-name/examples/...
|
||||||
|
|
||||||
|
# Or from inside the skill directory
|
||||||
|
go build ./examples/...
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -103,6 +103,6 @@ cp -r rules/php ~/.claude/rules/php
|
|||||||
|
|
||||||
### 带覆盖说明的通用规则
|
### 带覆盖说明的通用规则
|
||||||
|
|
||||||
`rules/common/` 中可能被语言特定文件覆盖的规则会标记:
|
`rules/common/` 中可能被语言特定文件覆盖的规则会被标记:
|
||||||
|
|
||||||
> **语言说明**:此规则可能被语言特定规则覆盖,对于某些语言,该模式可能不是惯用的。
|
> **语言说明**:此规则可能会被语言特定规则覆盖;对于某些语言,该模式可能并不符合惯用写法。
|
||||||
|
|||||||
Reference in New Issue
Block a user