gunbrad/reddit_skill/post-feishu-publish
Claude Code and agent skill by gunbrad/reddit_skill
- community
Checking that the SKILL.md file is still in the repository.
Use after final_posts.md is ready (stage 6c), when writing the optimized Reddit posts into a Feishu 帖子 doc, creating the 生图 doc with prompt+image combos and anchor jump-backs when images exist, setting docs public-editable, and ensuring the 选题 doc exists. Stage 6d of the Reddit posting pipeline. Prepares the doc that stage 7 formats.
Install
npx vskill@latest install gunbrad/reddit_skill/post-feishu-publishSKILL.md
The same SKILL.md was published earlier as gunbrad/reddit_skill/post-feishu-publish.
Post Feishu Publish Prep (Stage 6d)
Overview
Publish the finished posts into Feishu and guarantee the run's user-facing deliverables exist: the 帖子 doc (always), the 生图 doc with anchor jump-backs (when images exist), and the 选题 doc (created here if stage 2 deferred it). Every created doc is set public-editable. This is the last sub-skill of stage 6; its output (the 帖子 doc URL) is stage 7's input.
Core principle: deliverables are non-negotiable — a run ends with 2 Feishu docs (no images) or 3 (with images). Anchors must point to the exact same post.
Context (subagent isolation)
Run as an isolated worker (CONTEXT_CONTRACT.md). You receive ONLY:
- Global: run folder,
run_config.json,conventions.md,global/product_fact_index.json,
global/claim_boundary_table.json, and global/brand_safety_rules.md.
- Stage-local input:
06_optimized/final_posts.md,06_optimized/images/(png + prompts.md),
02_topics/topics.md + 02_topics/feishu_links.md (to verify / create the 选题 doc).
- Feishu access via the
lark-doc/lark-driveskills (first run may needlark-shared).
Tasks
0. Ensure the 选题 doc exists (deliverable check)
Verify 02_topics/feishu_links.md contains the 选题 Feishu URL. If stage 2 deferred it, create the doc from 02_topics/topics.md now, set it public-editable, and record the URL.
1. Create the 帖子 doc
Use lark-doc to create {Product} - 帖子 - {date} and paste the posts from final_posts.md. Per post, in its <h2>Title</h2> block: the main title <p>, then <p>备用标题:</p> and one <p> per alternate (≥3), then the body, the <p>Target Subreddit: r/x or r/y or r/z</p> line, and the comment design. Set the doc permission to "anyone on the internet with the link can edit" via lark-drive — do this directly without asking the user (conventions.md §3).
2. 生图 doc + anchor jump-back (only when images exist)
If any post has an image (or a pending image prompt), create a SEPARATE doc {Product} - 生图提示词与配图 - {date} pairing each prompt with its generated image as a 组合 (combo), one combo per image-bearing post, each linking back to that exact post in the 帖子 doc:
- After the 帖子 doc exists, use
lark-docto read its block structure and capture each
post-title <h1> (or <h2>Title</h2>) block's block_id.
- Build the anchor URL per post:
{帖子文档URL}#{block_id}. - For each image-bearing post write one combo block:
`` <h2>组合 N — {post_id}({帖子简述})</h2> <p>图片类型:实体类 / 虚拟类</p> <p>对应帖子:<a href="{帖子文档URL}#{block_id}">→ 跳转到对应帖子</a></p> <p>最终提示词:</p> <p>{final prompt 全文}</p> <p>场景改写理由:{why the scenario was changed}</p> <p>生成图片:</p> <img ...> (png 上传到该 docx;API 未就绪则写「图片:pending」) <hr/> ``
- The anchor MUST point to the title block of the SAME post_id as the combo. Verify each
combo→post mapping one by one; a mis-wired anchor is a blocking EVALS failure.
- Set this doc public-editable too. Record the image-doc URL and the
post_id → block_id
mapping in 06_optimized/images/image_feishu.md, and add the URL to 06_optimized/feishu_links.md.
Never write any API key / cookie / secret into any doc or artifact (conventions.md §6).
Required output structure
Write to 06_optimized/ (UTF-8):
feishu_links.md— the 帖子 doc URL, the 生图 doc URL if images exist (else an explicit "no
image doc created" line), and confirmation the 选题 doc URL exists in 02_topics/feishu_links.md.
images/image_feishu.md— image-doc URL +post_id → title block_idanchor mapping (only when images exist).
Process
- Verify/create the 选题 doc (Task 0); set public-edit; log URL.
- Create the 帖子 doc from
final_posts.md(main title + ≥3 备用标题 + Target Subreddit line +
comments per post); set public-edit; record URL.
- If images exist: create the 生图 doc with prompt+image combos and anchor links back to each
post; verify each combo→post anchor; set public-edit; record URL + mapping.
- Confirm the deliverable count (2 docs no-images / 3 with-images). STOP — hand to the
evaluator worker (EVALS.md), then to stage 7 (feishu-formatting).
Common mistakes
- Completing with only the 帖子 doc and no recorded 选题 doc.
- Image-doc anchor wired to the wrong post (combo↔post_id mismatch).
- Forgetting to set a created doc public-editable.
- Dropping the 备用标题 / Target Subreddit / comment design when pasting into Feishu.
- Writing any API key / secret into a doc, prompts.md, image_feishu.md, or the manifest.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingenter_output/skills/post-feishu-publish/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gunbrad/reddit_skill/post-feishu-publish)