docs: emphasize updating prompt files before regenerating

This commit is contained in:
Jim Liu 宝玉
2026-01-28 13:56:35 -06:00
parent 499a1ee478
commit 40fadcb1f6
5 changed files with 27 additions and 6 deletions
+6 -1
View File
@@ -303,10 +303,15 @@ illustrations/{topic-slug}/
| Action | Steps |
|--------|-------|
| **Edit** | Update prompt → Regenerate → Update reference |
| **Edit** | **Update prompt file FIRST** → Regenerate → Update reference |
| **Add** | Identify position → Create prompt → Generate → Update outline → Insert |
| **Delete** | Delete files → Remove reference → Update outline |
**IMPORTANT**: When updating illustrations, ALWAYS update the prompt file (`prompts/illustration-{slug}.md`) FIRST before regenerating. This ensures:
1. Changes are documented and reproducible
2. The prompt reflects the new requirements
3. Future regeneration uses the correct prompt
## References
| File | Content |