feat: 新增 account 和 plan 目录
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
41
account/admin/skills/system/read-file/SKILL.md
Normal file
41
account/admin/skills/system/read-file/SKILL.md
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
name: read-file
|
||||
description: Read file content for text files. When you need to check file content, analyze code or data, or get configuration values.
|
||||
system: true
|
||||
handler: filesystem
|
||||
tool-name: read_file
|
||||
category: File System
|
||||
---
|
||||
|
||||
# Read File
|
||||
|
||||
读取文件内容。
|
||||
|
||||
## Parameters
|
||||
|
||||
| 参数 | 类型 | 必填 | 说明 |
|
||||
|-----|------|-----|------|
|
||||
| path | string | 是 | 文件路径 |
|
||||
|
||||
## Examples
|
||||
|
||||
**读取配置文件**:
|
||||
```json
|
||||
{"path": "config.json"}
|
||||
```
|
||||
|
||||
**读取代码文件**:
|
||||
```json
|
||||
{"path": "src/main.py"}
|
||||
```
|
||||
|
||||
## Notes
|
||||
|
||||
- 适用于文本文件
|
||||
- 使用 UTF-8 编码
|
||||
- 二进制文件需要特殊处理
|
||||
|
||||
## Related Skills
|
||||
|
||||
- `write-file`: 写入文件
|
||||
- `list-directory`: 列出目录内容
|
||||
Reference in New Issue
Block a user