mirror of
https://github.com/JimLiu/baoyu-skills.git
synced 2026-08-07 17:33:03 +08:00
docs: add Customization section to README files
This commit is contained in:
@@ -245,6 +245,34 @@ Post content to WeChat Official Account (微信公众号). Two modes available:
|
|||||||
|
|
||||||
Prerequisites: Google Chrome installed. First run requires QR code login (session preserved).
|
Prerequisites: Google Chrome installed. First run requires QR code login (session preserved).
|
||||||
|
|
||||||
|
## Customization
|
||||||
|
|
||||||
|
All skills support customization via `EXTEND.md` files. Create an extension file to override default styles, add custom configurations, or define your own presets.
|
||||||
|
|
||||||
|
**Extension paths** (checked in priority order):
|
||||||
|
1. `.baoyu-skills/<skill-name>/EXTEND.md` - Project-level (for team/project-specific settings)
|
||||||
|
2. `~/.baoyu-skills/<skill-name>/EXTEND.md` - User-level (for personal preferences)
|
||||||
|
|
||||||
|
**Example**: To customize `baoyu-cover-image` with your brand colors:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mkdir -p .baoyu-skills/baoyu-cover-image
|
||||||
|
```
|
||||||
|
|
||||||
|
Then create `.baoyu-skills/baoyu-cover-image/EXTEND.md`:
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
## Custom Styles
|
||||||
|
|
||||||
|
### brand
|
||||||
|
- Primary color: #1a73e8
|
||||||
|
- Secondary color: #34a853
|
||||||
|
- Font style: Modern sans-serif
|
||||||
|
- Always include company logo watermark
|
||||||
|
```
|
||||||
|
|
||||||
|
The extension content will be loaded before skill execution and override defaults.
|
||||||
|
|
||||||
## Disclaimer
|
## Disclaimer
|
||||||
|
|
||||||
### baoyu-gemini-web
|
### baoyu-gemini-web
|
||||||
|
|||||||
@@ -245,6 +245,34 @@ npx add-skill jimliu/baoyu-skills
|
|||||||
|
|
||||||
前置要求:已安装 Google Chrome,首次运行需扫码登录(登录状态会保存)
|
前置要求:已安装 Google Chrome,首次运行需扫码登录(登录状态会保存)
|
||||||
|
|
||||||
|
## 自定义扩展
|
||||||
|
|
||||||
|
所有技能支持通过 `EXTEND.md` 文件自定义。创建扩展文件可覆盖默认样式、添加自定义配置或定义个人预设。
|
||||||
|
|
||||||
|
**扩展路径**(按优先级检查):
|
||||||
|
1. `.baoyu-skills/<skill-name>/EXTEND.md` - 项目级(团队/项目特定设置)
|
||||||
|
2. `~/.baoyu-skills/<skill-name>/EXTEND.md` - 用户级(个人偏好设置)
|
||||||
|
|
||||||
|
**示例**:为 `baoyu-cover-image` 自定义品牌配色:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mkdir -p .baoyu-skills/baoyu-cover-image
|
||||||
|
```
|
||||||
|
|
||||||
|
然后创建 `.baoyu-skills/baoyu-cover-image/EXTEND.md`:
|
||||||
|
|
||||||
|
```markdown
|
||||||
|
## 自定义风格
|
||||||
|
|
||||||
|
### brand
|
||||||
|
- 主色:#1a73e8
|
||||||
|
- 辅色:#34a853
|
||||||
|
- 字体风格:现代无衬线
|
||||||
|
- 始终包含公司 logo 水印
|
||||||
|
```
|
||||||
|
|
||||||
|
扩展内容会在技能执行前加载,并覆盖默认设置。
|
||||||
|
|
||||||
## 免责声明
|
## 免责声明
|
||||||
|
|
||||||
### baoyu-gemini-web
|
### baoyu-gemini-web
|
||||||
|
|||||||
Reference in New Issue
Block a user