SkillsGrove
SkillsGrove/Vidéo courte et créateurs/leecyno1/newma-media-studio/dasheng-stage-rewrite

dasheng-stage-rewrite

Installation

$npx skills add https://github.com/leecyno1/newma-media-studio --skill dasheng-stage-rewrite
$git clone --depth 1 https://github.com/leecyno1/newma-media-studio.git /tmp/newma-media-studio && mkdir -p ~/.claude/skills && cp -r /tmp/newma-media-studio/skills/.archive/dasheng-stage-rewrite ~/.claude/skills/dasheng-stage-rewrite
Installe pour moi cette Agent Skill : https://github.com/leecyno1/newma-media-studio/tree/1760eda6177fb7a2a566126c889c485e630c03b5/skills/.archive/dasheng-stage-rewrite — lis d’abord son SKILL.md et ses scripts, et ne l’installe dans mon dossier de compétences qu’après avoir vérifié qu’elle est sûre.

Résumé

Description d’origine · MITUse when generating the 4-variant rewrite set per topic with hard word-count validation, final-structure inheritance, and optional personal style DNA injection.
Le SKILL.md ci-dessous est reproduit depuis leecyno1/newma-media-studio (commit 1760eda) sous licence MIT. Le texte est inchangé ; seules les métadonnées d’en-tête du fichier sont omises, les images sont affichées sous forme de liens et les fichiers très longs sont tronqués. Copyright 2026 Newma Media Studio. Licence : LICENSE. Seul le fichier d’instructions est affiché ; consultez le dépôt d’origine pour les éventuels scripts.

Dasheng Stage: Rewrite

默认路径

  • DASHENG_WORKSPACE=${DASHENG_WORKSPACE:-${DASHENG_PROJECT_ROOT}}

阶段目标

每题生成 8 版改写,并继承终稿框架:

微信系列:

  • wechat + luxun + hot
  • wechat + lemon + normal

小红书系列:

  • xhs_video + luxun + hot
  • xhs_video + lemon + normal

B站系列(新增):

  • bilibili + luxun + hot
  • bilibili + lemon + normal

视频号系列(新增):

  • wechat_channels + luxun + hot
  • wechat_channels + lemon + normal

每个变体包含平台特定元数据(标题、话题标签、描述等),详见 references/platform-metadata.md

推荐命令

使用预设 DNA(默认)

cd "${DASHENG_WORKSPACE}"
python3 scripts/rewrite_rerun_with_final_structure.py
node scripts/feishu_rewrite_push.js "$(date +%F)"

使用个人风格 DNA

cd "${DASHENG_WORKSPACE}"
python3 scripts/rewrite_with_personal_dna.py --dna-path "${DASHENG_WORKSPACE}/风格库/{作者}/风格画像.md"
node scripts/feishu_rewrite_push.js "$(date +%F)"

DNA 选择策略

预设 DNA(luxun/lemon)

  • luxun:犀利、数据驱动、强观点、适合财经/行业分析
  • lemon:温和、叙事性强、情感共鸣、适合生活/文化内容
  • 适用场景:首次使用、通用场景、快速产出

个人风格 DNA

  • 从用户历史文章提取的定制化风格(需先运行 dasheng-style-profiler)
  • 包含 14 维风格分析、段落配方、叙述方法体系等
  • 适用场景:已有 10+ 篇历史文章、需要强化个人品牌识别度

写作框架与内容增强

改写阶段可选择应用写作框架和内容增强策略(见 references/frameworks.md 和 references/content-enhance.md):

7 种写作框架

  1. 痛点型:解决问题、提供方案
  2. 故事型:人物、事件、趋势
  3. 清单型:盘点、推荐、方法论
  4. 对比型:A vs B、优劣分析
  5. 热点解读型:时事评论、趋势分析
  6. 纯观点型:立场鲜明、论证充分
  7. 复盘型:事后分析、经验总结

4 种内容增强策略

  • 角度发现:适用于热点解读型/纯观点型,找到差异化切入点
  • 密度强化:适用于痛点型/清单型,提升可操作性
  • 细节锚定:适用于故事型/复盘型,用真实细节增强代入感
  • 真实体感:适用于对比型,用真实用户声音替代抽象分析

字数硬阈值

  • 公众号两版:>=4000(且不应无故超过 8000)
  • 小红书视频两版:>=1800
  • B站两版:>=2000(适合横版视频,内容更详细)
  • 视频号两版:>=1500(适合短视频,简洁有力)

平台元数据生成

每个变体必须生成符合平台规则的元数据,包括:

  • 小红书:标题(≤20字)+ 话题标签(5-8个)+ 封面文案(前300字)
  • 抖音:描述(≤1000字)+ 字幕脚本(≤15字/段,带时间轴)
  • B站:标题(≤80字)+ 简介(≤2000字)+ 标签(≤10个)+ 分区
  • 视频号:标题(≤30字)+ 描述(≤1000字)+ 话题(1-3个)

详细规则见 references/platform-metadata.md

强约束

  1. 公众号改写必须继承终稿一级结构,不得强制改成固定三段论。
  2. 不同题目必须独立目录、独立 bundle、独立 meta。
  3. 字数未达标不得推送飞书。
  4. 使用个人 DNA 时,必须严格遵循风格画像中的段落配方、叙述方法体系、标点符号偏好。
  5. 每个变体必须生成平台元数据,并包含在 rewrite_manifest.json 中。
  6. 元数据必须符合平台规则(字数限制、格式要求等),详见 references/platform-metadata.md。

交付要求

  • <topic>__rewrite_bundle.md
  • meta.json(需包含使用的 DNA 类型和框架类型)
  • rewrite_manifest.json(必须包含所有变体的 platform_metadata 字段)

学习飞轮(可选)

改写完成后,可以让系统学习人工修改:

# 在飞书中修改后,同步回本地并学习
python3 scripts/learn_edits_from_feishu.py --date "$(date +%F)"

学习记录会保存到 ${DASHENG_WORKSPACE}/lessons/ 目录,下次改写时自动应用。

Voir le texte intégral de la licence (MIT)
MIT License

Copyright (c) 2026 Newma Media Studio

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.