Skip to content

Add post-publish community save prompt - #2

Open
laiyangjun-dotcom wants to merge 3 commits into
AI-flower:mainfrom
laiyangjun-dotcom:codex/community-save-after-publish
Open

Add post-publish community save prompt#2
laiyangjun-dotcom wants to merge 3 commits into
AI-flower:mainfrom
laiyangjun-dotcom:codex/community-save-after-publish

Conversation

@laiyangjun-dotcom

Copy link
Copy Markdown

Summary

  • Add a post-publish guidance prompt after a Xiaohongshu post is successfully published.
  • Add A/B/C response handling for saving to community, optimizing the current plan, or skipping.
  • Document best-effort session-recorder-skill integration with install checks and friendly failure handling.

Details

After scripts/xhs.sh publish succeeds and the post is recorded as published, ShuLing now prompts users to optionally save the successful plan as a reusable community template. The upload flow is intentionally best-effort and does not affect the Xiaohongshu publish result.

The reusable template guidance includes title, usage scenario, original request, final plan, Xiaohongshu title/body/tags, image prompt or generation parameters, publish time, and topic tags.

Testing

  • Simulated A/a/存下来/上传社区 branch matching.
  • Simulated B/b/再帮我优化一下/改改 branch matching.
  • Simulated C/c/先不用/不上传 branch matching.
  • Verified the documented endpoint uses https://cookbook-dev.omnieye.dev/api/solutions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant