refactor(zenmux-image-generation): save prompts under project .context dir - #6
Merged
thinkthinking merged 1 commit intoJun 20, 2026
Merged
Conversation
…t dir Relocate optimized prompt files from the skill-local prompts/ folder to <project-dir>/.context/prompts/zenmux-image-generation/ so prompt history lives alongside the project that requested the images. - SKILL.md: update intro, Step 5 save path, and Step 6 --prompt-file examples - Remove obsolete skill-local prompts/ folder and its .gitignore entries - README.md: drop prompts/ from the tree, note the new per-project location Co-Authored-By: Claude <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Refactors the zenmux-image-generation skill’s workflow documentation so optimized prompt history is stored alongside the invoking project (under .context/) rather than inside the skill directory, and updates repo docs/ignores accordingly.
Changes:
- Update
zenmux-image-generation/SKILL.mdto document saving optimized prompts to<project-dir>/.context/prompts/zenmux-image-generation/and adjust--prompt-fileexamples. - Remove the now-obsolete skill-local
prompts/directory and related.gitignorerules. - Update
README.mdrepository tree to reflect the new prompt storage location.
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| skills/zenmux-image-generation/SKILL.md | Documents the new per-project .context/ prompt save location and updates CLI examples accordingly. |
| skills/zenmux-image-generation/prompts/.gitkeep | Removes the deprecated skill-local prompts directory placeholder. |
| .gitignore | Drops ignores for the removed skills/zenmux-image-generation/prompts/ directory. |
| README.md | Updates the repository structure tree to remove prompts/ and note the new per-project .context/ location. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+24
to
+28
| **Optimized prompts are saved into the user's project, not into the skill.** | ||
| Each run's prompt file goes to | ||
| `<project-dir>/.context/prompts/zenmux-image-generation/`, where `<project-dir>` | ||
| is the current working directory (the user's project root). This keeps the | ||
| prompt history alongside the project that requested the images. The directory is |
Comment on lines
136
to
+138
| output/ # Generated images (git-ignored) | ||
| # Optimized prompts are saved per-project under | ||
| # <project-dir>/.context/prompts/zenmux-image-generation/, not in the skill. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
zenmux-image-generationskill 之前把优化后的 prompt 文件保存在 skill 自身的prompts/目录下。本次改动将其改为保存到当前项目的.context/prompts/zenmux-image-generation/目录,使 prompt 历史与发起图片请求的项目放在一起。改动内容
--prompt-file示例,全部指向<project-dir>/.context/prompts/zenmux-image-generation/prompts/目录及其.gitkeepprompts/,并注明新的按项目存放位置说明
无需改动 Python 脚本:生成脚本通过
--prompt-file <path>接收任意路径,从未假设 skill 本地目录;--output-dir(生成图片)默认仍指向 skill 的output/,本次不变。🤖 Generated with Claude Code