Skip to content

Commit f388158

Browse files
committed
chore(release): bump version of web-video-presentation to 1.1.5
- Updated the version in manifest.json from 1.1.4 to 1.1.5. - Corrected references in SKILL.md and THEMES.md to use a placeholder path for scripts and themes. - Enhanced scaffold.sh script comments for clarity on theme selection and usage.
1 parent 3cfa796 commit f388158

4 files changed

Lines changed: 16 additions & 17 deletions

File tree

skills/web-video-presentation/SKILL.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ Phase 2.4 的"实现单章"会重复 N 次 —— 每次都要回看核心约束
200200
★ <推荐 1:nameZh (id)> — 因为 <bestFor 命中>;<descriptionZh 摘要>
201201
★ <推荐 2 / 推荐 3>
202202
其它可选:<剩余主题,nameZh + 一句话>
203-
也可以让我帮你做新主题(详见 themes/THEMES.md)。
203+
也可以让我帮你做新主题(详见 references/THEMES.md)。
204204
205205
4. 真素材怎么准备?粗看本视频要的图:<列粗略清单>
206206
a) 我从 <现有素材路径> 帮你挑 b) 你自己提供 c) 全部 placeholder
@@ -232,11 +232,11 @@ Phase 2.4 的"实现单章"会重复 N 次 —— 每次都要回看核心约束
232232
### 2.1 脚手架
233233

234234
```bash
235-
bash .cursor/skills/web-video-presentation/scripts/scaffold.sh \
235+
bash <path-to-web-video-presentation>/scripts/scaffold.sh \
236236
./presentation \
237237
--theme=<用户选的主题 id>
238238

239-
bash .cursor/skills/web-video-presentation/scripts/scaffold.sh --list-themes
239+
bash <path-to-web-video-presentation>/scripts/scaffold.sh --list-themes
240240
```
241241

242242
> 自定义主题 → 先按 [`references/THEMES.md`](references/THEMES.md)
@@ -437,4 +437,3 @@ Part 8「常见反馈速查」。**关键**:先定位是哪一层(节奏 /
437437
| [`references/RECORDING.md`](references/RECORDING.md) | Phase 4 才读 | 录屏工具 + 后期合成 |
438438
| [`themes/`](themes) | Checkpoint Plan / Phase 1.2 时翻 | 内置主题(每个含 `theme.json` + `tokens.css`|
439439
| [`scripts/scaffold.sh`](scripts/scaffold.sh) | Phase 2.1 跑一次 | 一键项目脚手架 |
440-

skills/web-video-presentation/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web-video-presentation",
3-
"version": "1.1.4",
3+
"version": "1.1.5",
44
"category": "Web Video / Presentation",
55
"description": "Turn scripts, articles, lessons, product demos, and talks into click-driven 16:9 web presentations that can be screen-recorded as cinematic videos. Ships a Vite + React + TypeScript scaffold, a (chapter, step) cursor model, hard collaboration checkpoints, and a theme-token architecture.",
66
"homepage": "https://github.com/ConardLi/garden-skills/tree/main/skills/web-video-presentation",

skills/web-video-presentation/references/THEMES.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
随时列出可用主题:
6666

6767
```bash
68-
bash .cursor/skills/web-video-presentation/scripts/scaffold.sh --list-themes
68+
bash <path-to-web-video-presentation>/scripts/scaffold.sh --list-themes
6969
```
7070

7171
---
@@ -90,7 +90,7 @@ bash scripts/scaffold.sh ./talk --theme=newsroom
9090
切换 = 一次文件覆盖:
9191

9292
```bash
93-
cp .cursor/skills/web-video-presentation/themes/newsroom/tokens.css \
93+
cp <path-to-web-video-presentation>/themes/newsroom/tokens.css \
9494
presentation/src/styles/tokens.css
9595
```
9696

@@ -217,7 +217,7 @@ CSS"领域 —— 在那里解决,别扩主题契约。
217217
| 精炼 / 安静 / 印刷 | `monochrome-print` |
218218

219219
```bash
220-
cd .cursor/skills/web-video-presentation/themes
220+
cd <path-to-web-video-presentation>/themes
221221
cp -r monochrome-print my-theme
222222
```
223223

skills/web-video-presentation/scripts/scaffold.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
# bash scripts/scaffold.sh --list-themes
88
#
99
# 例子:
10-
# bash .cursor/skills/web-video-presentation/scripts/scaffold.sh ./presentation
11-
# bash .cursor/skills/web-video-presentation/scripts/scaffold.sh ./talk --theme=paper-press
12-
# bash .cursor/skills/web-video-presentation/scripts/scaffold.sh --list-themes
10+
# bash <path-to-web-video-presentation>/scripts/scaffold.sh ./presentation
11+
# bash <path-to-web-video-presentation>/scripts/scaffold.sh ./talk --theme=paper-press
12+
# bash <path-to-web-video-presentation>/scripts/scaffold.sh --list-themes
1313
#
1414
# 跑完后,看 SKILL.md "Phase 2.4 实现单章" + references/CHAPTER-CRAFT.md
1515
# 了解每章怎么写。卡壳时翻 references/EXAMPLES/ 找完整章节 anchor。
1616
#
1717
# 之后切换主题,覆盖一个文件即可:
18-
# cp .cursor/skills/web-video-presentation/themes/<id>/tokens.css \
18+
# cp <path-to-web-video-presentation>/themes/<id>/tokens.css \
1919
# <project>/src/styles/tokens.css
2020
# ─────────────────────────────────────────────────────────────
2121
set -euo pipefail
@@ -26,7 +26,7 @@ THEMES_DIR="$SKILL_DIR/themes"
2626
DEFAULT_THEME="midnight-press"
2727

2828
list_themes() {
29-
echo "可用主题(来自 $THEMES_DIR):"
29+
echo "可用主题(来自 ${THEMES_DIR}):"
3030
echo
3131
for dir in "$THEMES_DIR"/*/; do
3232
[[ -d "$dir" ]] || continue
@@ -39,7 +39,7 @@ list_themes() {
3939
desc=$(grep -E '"descriptionZh"' "$meta" | head -n1 | sed -E 's/.*"descriptionZh":[[:space:]]*"([^"]+)".*/\1/')
4040
printf " • %-18s %s\n %s\n\n" "$id" "$name" "$desc"
4141
done
42-
echo "用 --theme=<id> 选定一个。默认:$DEFAULT_THEME"
42+
echo "用 --theme=<id> 选定一个。默认:${DEFAULT_THEME}"
4343
}
4444

4545
# ── 解析参数 ──
@@ -69,7 +69,7 @@ THEME_DIR="$THEMES_DIR/$THEME"
6969
THEME_TOKENS="$THEME_DIR/tokens.css"
7070

7171
if [[ ! -d "$THEME_DIR" || ! -f "$THEME_TOKENS" ]]; then
72-
echo "✗ 找不到主题 '$THEME'。可用主题:" >&2
72+
echo "✗ 找不到主题 '${THEME}'。可用主题:" >&2
7373
echo >&2
7474
for dir in "$THEMES_DIR"/*/; do
7575
[[ -d "$dir" ]] || continue
@@ -79,7 +79,7 @@ if [[ ! -d "$THEME_DIR" || ! -f "$THEME_TOKENS" ]]; then
7979
fi
8080

8181
if [[ -d "$TARGET" && -n "$(ls -A "$TARGET" 2>/dev/null || true)" ]]; then
82-
echo "✗ 目标目录 '$TARGET' 已存在且非空,已中止。" >&2
82+
echo "✗ 目标目录 '${TARGET}' 已存在且非空,已中止。" >&2
8383
exit 1
8484
fi
8585

@@ -187,7 +187,7 @@ cat <<EOF
187187
1. cd $TARGET
188188
2. npm run dev # 默认 http://localhost:5174(被占会自动换端口)
189189
190-
当前主题:$THEME(见 .theme)
190+
当前主题:${THEME}(见 .theme)
191191
192192
然后:
193193

0 commit comments

Comments
 (0)