sessions-to-blog
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSessions To Blog
会话转博客
Overview
概述
Create publishable MDX blog posts from session logs with consistent voice, structure, and internal links, aligned to project standards.
sessions/articles根据项目标准,从会话日志创建具有一致语气、结构和内部链接的可发布MDX博客文章。
sessions/articlesWorkflow
工作流程
-
Resolve project standards and output location
- Find the project's MDX article standards and output location (check repo docs, AGENTS, README, or content guidelines).
- If standards or location are not found, ask the user before drafting.
-
Clarify scope and output
- Ask for date range, audience, and desired length if not provided.
- Use the language of the user's prompts in the logs; confirm if mixed or unclear.
-
Gather source entries
- Read the relevant blocks for the selected dates.
sessions/articles/YYYY-MM-DD.md - Extract: intent, actions, artifacts, decisions, progress, open questions, and any file paths.
- Read the relevant
-
Plan the post
- Build a short outline using the template in .
references/examples.md - Select 3 to 7 key highlights; prioritize user intent and outcomes.
- Build a short outline using the template in
-
Draft in the defined style
- Follow .
references/style-and-structure.md - Keep facts grounded in the logs; mark uncertainty explicitly.
- Follow
-
Apply internal linking rules
- Follow for links to source logs, files, and related posts.
references/linking-rules.md
- Follow
-
QA pass
- Check for missing sources, broken links, and inconsistent tense.
- Ensure the post is readable without the raw logs.
-
明确项目标准与输出位置
- 查找项目的MDX文章标准和输出位置(查看仓库文档、AGENTS、README或内容指南)。
- 如果未找到标准或位置,在起草前询问用户。
-
明确范围与输出要求
- 如果未提供日期范围、受众和期望篇幅,向用户确认。
- 使用日志中用户提示的语言;若语言混杂或不明确,需确认。
-
收集源条目
- 读取所选日期对应的相关内容块。
sessions/articles/YYYY-MM-DD.md - 提取:意图、操作、工件、决策、进展、未解决问题以及所有文件路径。
- 读取所选日期对应的
-
规划文章结构
- 使用中的模板构建简短大纲。
references/examples.md - 选取3至7个关键亮点;优先考虑用户意图和成果。
- 使用
-
按指定风格起草
- 遵循的要求。
references/style-and-structure.md - 内容基于日志事实;如有不确定之处需明确标注。
- 遵循
-
应用内部链接规则
- 遵循中关于源日志、文件和相关文章的链接规则。
references/linking-rules.md
- 遵循
-
质量检查
- 检查是否存在源缺失、链接失效和时态不一致的问题。
- 确保无需查看原始日志即可读懂文章。
References
参考资料
- for voice, tone, structure, and language rules.
references/style-and-structure.md - for internal links and citation conventions.
references/linking-rules.md - for input and output examples and a lightweight template.
references/examples.md
- :语气、语调、结构和语言规则。
references/style-and-structure.md - :内部链接和引用规范。
references/linking-rules.md - :输入输出示例及轻量模板。
references/examples.md