1
0
forked from erp-dev/erp
Files
erpnew/.skills/.gitkeep
2026-03-09 22:40:02 +08:00

51 lines
1.2 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Skills 目录说明
这个目录包含项目的自定义skills。
## 当前Skills
### flower-db-access
数据库只读访问skill为AI agent提供安全的数据库查询能力。
- **文件**: `flower-db-access/SKILL.md`
- **用途**: 数据分析、调试、报告生成
- **权限**: 只读,禁止访问认证表
- **详细文档**: `flower-db-access/README.md`
## 是否提交到Git
建议将 `.skills/` 目录提交到Git仓库因为
1. Skills是项目特定的配置和工具
2. 团队成员可以共享相同的数据库访问能力
3. 便于新成员快速了解数据结构
### 建议的 .gitignore 配置
```gitignore
# 不要忽略skills目录
# .skills/
# 但可以忽略skill中的敏感信息如果有的话
# .skills/**/secrets.env
```
## 创建新Skill
要创建新的skill
1. 在此目录下创建新文件夹:`mkdir -p .skills/your-skill-name`
2. 创建 `SKILL.md` 文件包含标准的YAML头
```markdown
---
name: your-skill-name
description: Skill description
allowed-tools: Bash(command:*)
---
# Your Skill Title
Skill content...
```
3. 添加详细的文档和使用示例
4. 提交到Git仓库供团队使用