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:
@@ -6,7 +6,7 @@ tags: [image-generation, image-editing, fal-ai, cli, design, banner, social-medi
|
||||
created: 2026-04-08
|
||||
updated: 2026-04-08
|
||||
version: 1.0.0
|
||||
skill_path: ~/.hermes/skills/website-creator/creative/picture-it
|
||||
skill_path: ~/.hermes/skills/picture-it
|
||||
platforms: [cli, telegram, discord]
|
||||
credentials: ~/.config/opencode/.env
|
||||
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.
|
||||
**Fix:**
|
||||
```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.
|
||||
@@ -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`
|
||||
3. **FAL_KEY:** Store in `~/.config/opencode/.env` as `FAL_KEY=your_key`
|
||||
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
|
||||
|
||||
@@ -129,7 +129,7 @@ Thai fonts: `Kanit` (modern, bold), `Noto Sans Thai` (clean, official).
|
||||
| Problem | Solution |
|
||||
|---|---|
|
||||
| "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` |
|
||||
| Fonts not found | Run: `picture-it download-fonts` |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user