fix: update skill_path and script references to new locations

- picture-it moved from website-creator/creative/ to root
- Update skill_path metadata
- Update all thai-font-patch script references
This commit is contained in:
2026-04-22 11:26:16 +07:00
parent 2fc01fdd6a
commit 03447d0718
2 changed files with 5 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ tags: [image-generation, image-editing, fal-ai, cli, design, banner, social-medi
created: 2026-04-08 created: 2026-04-08
updated: 2026-04-08 updated: 2026-04-08
version: 1.0.0 version: 1.0.0
skill_path: ~/.hermes/skills/website-creator/creative/picture-it skill_path: ~/.hermes/skills/picture-it
platforms: [cli, telegram, discord] platforms: [cli, telegram, discord]
credentials: ~/.config/opencode/.env credentials: ~/.config/opencode/.env
maintenance: Thai font patch must be re-applied after every picture-it update maintenance: Thai font patch must be re-applied after every picture-it update
@@ -77,7 +77,7 @@ picture-it uses Satori for text rendering. Thai fonts are NOT in the default `FO
**Symptom:** Thai text shows as ▢ boxes. **Symptom:** Thai text shows as ▢ boxes.
**Fix:** **Fix:**
```bash ```bash
bun ~/.hermes/skills/website-creator/creative/picture-it/scripts/thai-font-patch.ts --force bun ~/.hermes/skills/picture-it/scripts/thai-font-patch.ts --force
``` ```
**This breaks after every `picture-it` update.** Re-run after updates. **This breaks after every `picture-it` update.** Re-run after updates.
@@ -90,7 +90,7 @@ Thai fonts: `Kanit` (modern, bold), `Noto Sans Thai` (clean, official).
2. **PATH:** Add `~/snap/bun-js/87/.bun/bin` to `$PATH` 2. **PATH:** Add `~/snap/bun-js/87/.bun/bin` to `$PATH`
3. **FAL_KEY:** Store in `~/.config/opencode/.env` as `FAL_KEY=your_key` 3. **FAL_KEY:** Store in `~/.config/opencode/.env` as `FAL_KEY=your_key`
4. **Fonts:** `picture-it download-fonts` 4. **Fonts:** `picture-it download-fonts`
5. **Thai patch:** `bun ~/.hermes/skills/website-creator/creative/picture-it/scripts/thai-font-patch.ts` 5. **Thai patch:** `bun ~/.hermes/skills/picture-it/scripts/thai-font-patch.ts`
## Workflow Templates ## Workflow Templates
@@ -129,7 +129,7 @@ Thai fonts: `Kanit` (modern, bold), `Noto Sans Thai` (clean, official).
| Problem | Solution | | Problem | Solution |
|---|---| |---|---|
| "command not found" | Add bun to PATH: `export PATH="~/snap/bun-js/87/.bun/bin:$PATH"` | | "command not found" | Add bun to PATH: `export PATH="~/snap/bun-js/87/.bun/bin:$PATH"` |
| Thai shows ▢ | Run: `bun ~/.hermes/skills/website-creator/creative/picture-it/scripts/thai-font-patch.ts --force` | | Thai shows ▢ | Run: `bun ~/.hermes/skills/picture-it/scripts/thai-font-patch.ts --force` |
| "No FAL API key" | Load credentials: `set -a && source ~/.config/opencode/.env && set +a` | | "No FAL API key" | Load credentials: `set -a && source ~/.config/opencode/.env && set +a` |
| Fonts not found | Run: `picture-it download-fonts` | | Fonts not found | Run: `picture-it download-fonts` |

View File

@@ -470,7 +470,7 @@ set -a && source ~/.config/opencode/.env && set +a
export PATH="/home/kunthawat/snap/bun-js/87/.bun/bin:$PATH" export PATH="/home/kunthawat/snap/bun-js/87/.bun/bin:$PATH"
# ตรวจสอบ Thai font patch # ตรวจสอบ Thai font patch
bun ~/.hermes/skills/website-creator/creative/picture-it/scripts/thai-font-patch.ts --force bun ~/.hermes/skills/picture-it/scripts/thai-font-patch.ts --force
``` ```
**Workflow สร้างภาพประกอบเว็บ:** **Workflow สร้างภาพประกอบเว็บ:**