Skip to content

feat: 从飞书稿件生成官网博客的市场 Skill 与发布约束 - #54

Draft
Nimbus318 wants to merge 2 commits into
mainfrom
feat/feishu-blog-skill
Draft

Nimbus318 wants to merge 2 commits into
mainfrom
feat/feishu-blog-skill

Conversation

@Nimbus318

Copy link
Copy Markdown
Contributor

市场同事需要从飞书稿件更新官网博客,避免让通用 Agent 在发稿时修改官网功能。本变更增加项目级 website-blog-from-feishu Skill:通过飞书官方 Lark CLI 读取最新完整稿件及配图,转换为现有 Markdown 格式,预览和检查后创建待审核 PR。

  • 提供市场 SOP、飞书投稿模板、首次账号/CLI 配置说明和维护者启用指南。
  • 将内容 PR 限制为一篇中英文博客及本篇新图片,检查字段、分类、日期、Markdown HTML/链接、图片签名、路径、大小与删除/越界操作;新增 Actions 测试、lint 和 build。
  • 增加显式 coverDisplay: image 支持列表图片封面。已有文章没有此字段,继续显示原文字封面;图片失败时也回退文字封面。

验证:22 项校验测试、npm run lint(含 analytics consent)和 npm run build 通过;Skill frontmatter 与文档链接检查通过。浏览器检查中英文列表、手机布局、图片模式、缺图回退与旧稿兼容。飞书模板已创建并回读,内部链接不写入公开仓库。

启用前:管理员仍须配置 main 的 PR 审核、CODEOWNERS 和 required check,并核对实际预览/生产部署。需要一篇真实市场稿件完成飞书配图下载到投稿的端到端验收。当前支持 en/zh,不支持德文博客或定时发布;本 PR 不更改 GitHub 权限、不合并或发布文章。

@vercel

vercel Bot commented Sep 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
website Ready Ready Preview Sep 18, 2026 3:09am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Sep 18, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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