mirror of
https://github.com/JimLiu/baoyu-skills.git
synced 2026-07-19 00:49:47 +08:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6a71d5080d | |||
| 1e6e6637ac | |||
| 873b60aee5 | |||
| b88ac59133 |
@@ -6,14 +6,14 @@
|
|||||||
},
|
},
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"description": "Skills shared by Baoyu for improving daily work efficiency",
|
"description": "Skills shared by Baoyu for improving daily work efficiency",
|
||||||
"version": "1.61.0"
|
"version": "1.62.0"
|
||||||
},
|
},
|
||||||
"plugins": [
|
"plugins": [
|
||||||
{
|
{
|
||||||
"name": "content-skills",
|
"name": "content-skills",
|
||||||
"description": "Content generation and publishing skills",
|
"description": "Content generation and publishing skills",
|
||||||
"source": "./",
|
"source": "./",
|
||||||
"strict": false,
|
"strict": true,
|
||||||
"skills": [
|
"skills": [
|
||||||
"./skills/baoyu-xhs-images",
|
"./skills/baoyu-xhs-images",
|
||||||
"./skills/baoyu-post-to-x",
|
"./skills/baoyu-post-to-x",
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
"name": "ai-generation-skills",
|
"name": "ai-generation-skills",
|
||||||
"description": "AI-powered generation backends",
|
"description": "AI-powered generation backends",
|
||||||
"source": "./",
|
"source": "./",
|
||||||
"strict": false,
|
"strict": true,
|
||||||
"skills": [
|
"skills": [
|
||||||
"./skills/baoyu-danger-gemini-web",
|
"./skills/baoyu-danger-gemini-web",
|
||||||
"./skills/baoyu-image-gen"
|
"./skills/baoyu-image-gen"
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
"name": "utility-skills",
|
"name": "utility-skills",
|
||||||
"description": "Utility tools for content processing",
|
"description": "Utility tools for content processing",
|
||||||
"source": "./",
|
"source": "./",
|
||||||
"strict": false,
|
"strict": true,
|
||||||
"skills": [
|
"skills": [
|
||||||
"./skills/baoyu-danger-x-to-markdown",
|
"./skills/baoyu-danger-x-to-markdown",
|
||||||
"./skills/baoyu-compress-image",
|
"./skills/baoyu-compress-image",
|
||||||
|
|||||||
@@ -2,6 +2,17 @@
|
|||||||
|
|
||||||
English | [中文](./CHANGELOG.zh.md)
|
English | [中文](./CHANGELOG.zh.md)
|
||||||
|
|
||||||
|
## 1.62.0 - 2026-03-12
|
||||||
|
|
||||||
|
### Features
|
||||||
|
- `baoyu-infographic`: support flexible aspect ratios with custom W:H values (e.g., 3:4, 4:3, 2.35:1) in addition to named presets
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Set strict mode on plugins to prevent duplicated slash commands
|
||||||
|
|
||||||
|
### Documentation
|
||||||
|
- `baoyu-post-to-wechat`: replace credential-like placeholders
|
||||||
|
|
||||||
## 1.61.0 - 2026-03-11
|
## 1.61.0 - 2026-03-11
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|||||||
@@ -2,6 +2,17 @@
|
|||||||
|
|
||||||
[English](./CHANGELOG.md) | 中文
|
[English](./CHANGELOG.md) | 中文
|
||||||
|
|
||||||
|
## 1.62.0 - 2026-03-12
|
||||||
|
|
||||||
|
### 新功能
|
||||||
|
- `baoyu-infographic`:支持灵活宽高比,可使用自定义 W:H 值(如 3:4、4:3、2.35:1),同时保留预设名称
|
||||||
|
|
||||||
|
### 修复
|
||||||
|
- 设置插件严格模式,防止重复注册斜杠命令
|
||||||
|
|
||||||
|
### 文档
|
||||||
|
- `baoyu-post-to-wechat`:替换类似凭证的占位符
|
||||||
|
|
||||||
## 1.61.0 - 2026-03-11
|
## 1.61.0 - 2026-03-11
|
||||||
|
|
||||||
### 新功能
|
### 新功能
|
||||||
|
|||||||
@@ -169,8 +169,9 @@ Generate professional infographics with 20 layout types and 17 visual styles. An
|
|||||||
# Specify both
|
# Specify both
|
||||||
/baoyu-infographic path/to/content.md --layout funnel --style corporate-memphis
|
/baoyu-infographic path/to/content.md --layout funnel --style corporate-memphis
|
||||||
|
|
||||||
# With aspect ratio
|
# With aspect ratio (named preset or custom W:H)
|
||||||
/baoyu-infographic path/to/content.md --aspect portrait
|
/baoyu-infographic path/to/content.md --aspect portrait
|
||||||
|
/baoyu-infographic path/to/content.md --aspect 3:4
|
||||||
```
|
```
|
||||||
|
|
||||||
**Options**:
|
**Options**:
|
||||||
@@ -178,7 +179,7 @@ Generate professional infographics with 20 layout types and 17 visual styles. An
|
|||||||
|--------|-------------|
|
|--------|-------------|
|
||||||
| `--layout <name>` | Information layout (20 options) |
|
| `--layout <name>` | Information layout (20 options) |
|
||||||
| `--style <name>` | Visual style (17 options, default: craft-handmade) |
|
| `--style <name>` | Visual style (17 options, default: craft-handmade) |
|
||||||
| `--aspect <ratio>` | landscape (16:9), portrait (9:16), square (1:1) |
|
| `--aspect <ratio>` | Named: landscape (16:9), portrait (9:16), square (1:1). Custom: any W:H ratio (e.g., 3:4, 4:3, 2.35:1) |
|
||||||
| `--lang <code>` | Output language (en, zh, ja, etc.) |
|
| `--lang <code>` | Output language (en, zh, ja, etc.) |
|
||||||
|
|
||||||
**Layouts** (information structure):
|
**Layouts** (information structure):
|
||||||
@@ -603,8 +604,8 @@ accounts:
|
|||||||
default_author: Author Name
|
default_author: Author Name
|
||||||
need_open_comment: 1
|
need_open_comment: 1
|
||||||
only_fans_can_comment: 0
|
only_fans_can_comment: 0
|
||||||
app_id: wx1234567890abcdef
|
app_id: your_wechat_app_id
|
||||||
app_secret: your_app_secret_here
|
app_secret: your_wechat_app_secret
|
||||||
- name: AI Newsletter
|
- name: AI Newsletter
|
||||||
alias: ai-news
|
alias: ai-news
|
||||||
default_publish_method: browser
|
default_publish_method: browser
|
||||||
|
|||||||
+5
-4
@@ -169,8 +169,9 @@ clawhub install baoyu-markdown-to-html
|
|||||||
# 同时指定布局和风格
|
# 同时指定布局和风格
|
||||||
/baoyu-infographic path/to/content.md --layout funnel --style corporate-memphis
|
/baoyu-infographic path/to/content.md --layout funnel --style corporate-memphis
|
||||||
|
|
||||||
# 指定比例
|
# 指定比例(预设名称或自定义 W:H)
|
||||||
/baoyu-infographic path/to/content.md --aspect portrait
|
/baoyu-infographic path/to/content.md --aspect portrait
|
||||||
|
/baoyu-infographic path/to/content.md --aspect 3:4
|
||||||
```
|
```
|
||||||
|
|
||||||
**选项**:
|
**选项**:
|
||||||
@@ -178,7 +179,7 @@ clawhub install baoyu-markdown-to-html
|
|||||||
|------|------|
|
|------|------|
|
||||||
| `--layout <name>` | 信息布局(20 种选项) |
|
| `--layout <name>` | 信息布局(20 种选项) |
|
||||||
| `--style <name>` | 视觉风格(17 种选项,默认:craft-handmade) |
|
| `--style <name>` | 视觉风格(17 种选项,默认:craft-handmade) |
|
||||||
| `--aspect <ratio>` | landscape (16:9)、portrait (9:16)、square (1:1) |
|
| `--aspect <ratio>` | 预设:landscape (16:9)、portrait (9:16)、square (1:1)。自定义:任意 W:H 比例(如 3:4、4:3、2.35:1) |
|
||||||
| `--lang <code>` | 输出语言(en、zh、ja 等) |
|
| `--lang <code>` | 输出语言(en、zh、ja 等) |
|
||||||
|
|
||||||
**布局**(信息结构):
|
**布局**(信息结构):
|
||||||
@@ -603,8 +604,8 @@ accounts:
|
|||||||
default_author: 宝玉
|
default_author: 宝玉
|
||||||
need_open_comment: 1
|
need_open_comment: 1
|
||||||
only_fans_can_comment: 0
|
only_fans_can_comment: 0
|
||||||
app_id: wx1234567890abcdef
|
app_id: 你的微信AppID
|
||||||
app_secret: 你的 AppSecret
|
app_secret: 你的微信AppSecret
|
||||||
- name: AI 工具集
|
- name: AI 工具集
|
||||||
alias: ai-tools
|
alias: ai-tools
|
||||||
default_publish_method: browser
|
default_publish_method: browser
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ Two dimensions: **layout** (information structure) × **style** (visual aestheti
|
|||||||
/baoyu-infographic path/to/content.md
|
/baoyu-infographic path/to/content.md
|
||||||
/baoyu-infographic path/to/content.md --layout hierarchical-layers --style technical-schematic
|
/baoyu-infographic path/to/content.md --layout hierarchical-layers --style technical-schematic
|
||||||
/baoyu-infographic path/to/content.md --aspect portrait --lang zh
|
/baoyu-infographic path/to/content.md --aspect portrait --lang zh
|
||||||
|
/baoyu-infographic path/to/content.md --aspect 3:4
|
||||||
/baoyu-infographic # then paste content
|
/baoyu-infographic # then paste content
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -26,7 +27,7 @@ Two dimensions: **layout** (information structure) × **style** (visual aestheti
|
|||||||
|--------|--------|
|
|--------|--------|
|
||||||
| `--layout` | 21 options (see Layout Gallery), default: bento-grid |
|
| `--layout` | 21 options (see Layout Gallery), default: bento-grid |
|
||||||
| `--style` | 20 options (see Style Gallery), default: craft-handmade |
|
| `--style` | 20 options (see Style Gallery), default: craft-handmade |
|
||||||
| `--aspect` | landscape (16:9), portrait (9:16), square (1:1) |
|
| `--aspect` | Named: landscape (16:9), portrait (9:16), square (1:1). Custom: any W:H ratio (e.g., 3:4, 4:3, 2.35:1) |
|
||||||
| `--lang` | en, zh, ja, etc. |
|
| `--lang` | en, zh, ja, etc. |
|
||||||
|
|
||||||
## Layout Gallery
|
## Layout Gallery
|
||||||
@@ -220,7 +221,7 @@ Use **single AskUserQuestion call** with multiple questions to confirm all optio
|
|||||||
| Question | When | Options |
|
| Question | When | Options |
|
||||||
|----------|------|---------|
|
|----------|------|---------|
|
||||||
| **Combination** | Always | 3+ layout×style combos with rationale |
|
| **Combination** | Always | 3+ layout×style combos with rationale |
|
||||||
| **Aspect** | Always | landscape (16:9), portrait (9:16), square (1:1) |
|
| **Aspect** | Always | Named presets (landscape/portrait/square) or custom W:H ratio (e.g., 3:4, 4:3, 2.35:1) |
|
||||||
| **Language** | Only if source ≠ user language | Language for text content |
|
| **Language** | Only if source ≠ user language | Language for text content |
|
||||||
|
|
||||||
**Important**: Do NOT split into separate AskUserQuestion calls. Combine all applicable questions into one call.
|
**Important**: Do NOT split into separate AskUserQuestion calls. Combine all applicable questions into one call.
|
||||||
@@ -236,6 +237,10 @@ Combine:
|
|||||||
4. Structured content from Step 2
|
4. Structured content from Step 2
|
||||||
5. All text in confirmed language
|
5. All text in confirmed language
|
||||||
|
|
||||||
|
**Aspect ratio resolution** for `{{ASPECT_RATIO}}`:
|
||||||
|
- Named presets → ratio string: landscape→`16:9`, portrait→`9:16`, square→`1:1`
|
||||||
|
- Custom W:H ratios → use as-is (e.g., `3:4`, `4:3`, `2.35:1`)
|
||||||
|
|
||||||
### Step 6: Generate Image
|
### Step 6: Generate Image
|
||||||
|
|
||||||
1. Select available image generation skill (ask user if multiple)
|
1. Select available image generation skill (ask user if multiple)
|
||||||
|
|||||||
@@ -125,8 +125,8 @@ accounts:
|
|||||||
default_author: 宝玉
|
default_author: 宝玉
|
||||||
need_open_comment: 1
|
need_open_comment: 1
|
||||||
only_fans_can_comment: 0
|
only_fans_can_comment: 0
|
||||||
app_id: wx1234567890abcdef
|
app_id: your_wechat_app_id
|
||||||
app_secret: abc123secret456
|
app_secret: your_wechat_app_secret
|
||||||
- name: AI工具集
|
- name: AI工具集
|
||||||
alias: ai-tools
|
alias: ai-tools
|
||||||
default_publish_method: browser
|
default_publish_method: browser
|
||||||
@@ -176,12 +176,12 @@ For a selected account with alias `{alias}`:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Account: baoyu
|
# Account: baoyu
|
||||||
WECHAT_BAOYU_APP_ID=wx1234567890abcdef
|
WECHAT_BAOYU_APP_ID=your_wechat_app_id
|
||||||
WECHAT_BAOYU_APP_SECRET=abc123secret456
|
WECHAT_BAOYU_APP_SECRET=your_wechat_app_secret
|
||||||
|
|
||||||
# Account: ai-tools
|
# Account: ai-tools
|
||||||
WECHAT_AI_TOOLS_APP_ID=wxabcdef1234567890
|
WECHAT_AI_TOOLS_APP_ID=your_ai_tools_wechat_app_id
|
||||||
WECHAT_AI_TOOLS_APP_SECRET=def789secret012
|
WECHAT_AI_TOOLS_APP_SECRET=your_ai_tools_wechat_app_secret
|
||||||
```
|
```
|
||||||
|
|
||||||
### Chrome Profile (Browser Method)
|
### Chrome Profile (Browser Method)
|
||||||
|
|||||||
Reference in New Issue
Block a user