跳转到内容

viral-writer

将 AI 变成自媒体内容策划与创作引擎——不是模板填空,而是基于 11 个内容洞见维度的系统性深度创作。

  • 多平台适配创作:针对微信公众号(长文深度)、小红书(种草分享)、抖音(短快节奏)三种完全不同风格的写作
  • 11 维度内容构思:核心观点、副观点、说服策略、情绪触发、金句、情感曲线、情感层次、论证多样性、视角转化、语言风格、互动钩子——在动笔前完成系统性思考
  • 5 策略标题生成:好奇心缺口、数据冲击、痛点共鸣、反常识、社交货币——每种策略都有明确的心理学基础
  • AI 生图 prompt 配套:封面图 + 正文配图的结构化 prompt,可直接喂给图片生成工具
  • Markdown 结构输出:标准化文件格式,包含标题、正文、备选标题、配图指导

当用户提到”写文章”、“帮我创作”、“内容创作”、“公众号文章”、“小红书笔记”、“抖音文案”、“标题怎么起”、“爆款文案”等自媒体内容创作需求时自动触发。也适用于给出主题后要求生成完整内容的场景。

Transform AI into a self-media content strategy and creation engine — not template filling, but systematic deep creation based on 11 content insight dimensions.

  • Multi-platform adaptive creation: Three completely different writing styles for WeChat Official Accounts (long-form depth), Xiaohongshu (lifestyle sharing), and Douyin (short, fast-paced)
  • 11-dimension content ideation: Core thesis, supporting points, persuasion strategy, emotional triggers, quotable lines, emotional curve, emotional depth, argument diversity, perspective shifts, language style, interaction hooks — systematic thinking before writing begins
  • 5-strategy title generation: Curiosity gap, data impact, pain-point resonance, counter-intuition, social currency — each with clear psychological grounding
  • AI image prompt companion: Structured prompts for cover images and in-article illustrations, ready for image generation tools
  • Markdown structured output: Standardized file format with title, body, alternative titles, and illustration guidance

Automatically triggers when users mention “write an article”, “help me create”, “content creation”, “WeChat article”, “Xiaohongshu note”, “Douyin copy”, “help me with titles”, “viral content” or similar self-media content creation needs. Also applies when users provide a topic and request complete content generation.

Viral Writer 采用极简的”纯指令型”架构——整个 skill 只有两个 Markdown 文件,没有任何脚本、模板或外部依赖。SKILL.md(240 行)是核心指令文件,包含完整的创作方法论和工作流;README.md(187 行)是面向人类用户的说明文档,包含快速开始、测试数据和工作原理图。

这种”零依赖”设计是纯指令型 skill 的典范——当 skill 的目标是引导 AI 完成一个复杂的思考过程(而非执行代码)时,所有逻辑都可以编码在结构化的自然语言指令中。没有脚本意味着零维护成本、零环境依赖、以及最高的跨平台兼容性。

SKILL.md 采用 YAML 前置元数据 + 六步工作流 + 原则约束 的三层架构:

第一层 — YAML Frontmatter:包含 name、description(中文描述 + 触发场景)、以及完整的触发关键词列表。description 字段不仅声明了 skill 的功能,还详细列举了触发短语(“写文章”、“公众号文章”、“小红书笔记”等),这是 skill 能被正确路由的关键。

第二层 — 六步创作流程:这是 skill 的核心引擎。从确认需求(主题、平台、受众、风格)到最终 Markdown 输出,每一步都有明确的标准和约束。关键在于第二步”内容构思”——11 个维度的分析不是输出给用户看的,而是 AI 的”内部思考过程”。这种”隐式推理”设计非常巧妙:它让 AI 在后台完成了高质量的分析,但用户看到的只是最终的创作成果。

第三层 — 重要原则:5 条原则作为对六步流程的补充和约束,防止 AI 在边界情况下的行为偏差。例如”平台适配不是缩写”告诫 AI 不要偷懒把同一篇文章简单缩短,而应该用完全不同的表达方式。

Viral Writer adopts a minimalist “pure instruction” architecture — the entire skill consists of just two Markdown files with no scripts, templates, or external dependencies. SKILL.md (240 lines) is the core instruction file containing the complete creation methodology and workflow; README.md (187 lines) is human-facing documentation with quick start, test data, and workflow diagrams.

This “zero-dependency” design is exemplary of pure instruction skills — when a skill’s goal is to guide AI through a complex thinking process (rather than executing code), all logic can be encoded in structured natural language instructions. No scripts means zero maintenance cost, zero environment dependencies, and maximum cross-platform compatibility.

SKILL.md employs a three-layer architecture: YAML frontmatter + six-step workflow + guiding principles.

Layer 1 — YAML Frontmatter: Contains name, description (Chinese description + trigger scenarios), and a comprehensive list of trigger keywords. The description field not only declares the skill’s capabilities but also enumerates trigger phrases in detail — this is key to correct skill routing.

Layer 2 — Six-Step Creation Workflow: This is the skill’s core engine. From confirming requirements (topic, platform, audience, style) to final Markdown output, each step has clear standards and constraints. The key is Step 2 “Content Ideation” — the 11-dimension analysis is not displayed to the user but serves as the AI’s “internal thinking process.” This “implicit reasoning” design is ingenious: it lets AI complete high-quality analysis in the background while users only see the final creative output.

Layer 3 — Guiding Principles: Five principles serve as guardrails for the six-step workflow, preventing AI behavior drift in edge cases. For example, “platform adaptation is not abbreviation” warns AI not to lazily shorten the same article but to use completely different expression styles.

SKILL.md — YAML Frontmatter ↗ 源文件
1 --- 2 name: Viral Writer 3 description: > 4 自媒体内容创作工具,帮助创作者写出高质量的文章、标题, 5 并提供配图和封面图的生成指导。 6 支持微信公众号、小红书、抖音文案三种平台风格。 7 基于11个内容洞见维度(核心观点、说服策略、情绪触发、 8 金句、情感曲线、互动钩子等)进行深度创作。 9 当用户提到"写文章"、"写一篇"、"帮我创作"、"内容创作"、 10 "公众号文章"、"小红书笔记"、"抖音文案"、"标题怎么起"、 11 "帮我想标题"、"自媒体"、"爆款文案"等内容创作相关的需求时触发。 12 也适用于用户给出一个主题或素材后要求生成完整内容的场景。 13 ---
代码解读
L1 name 字段:简短标识,用于日志和 skill 列表展示 L3 description 第一段:声明 skill 的核心价值——"写文章+标题+配图"三位一体 L5 description 第二段:明确支持的三个平台,帮助路由系统判断适用场景 L6 description 第三段:列出11个维度的名称——即使不展开,也让路由系统理解能力边界 L7 description 第四段(关键):详细触发关键词列表——这是 skill 能被正确匹配的核心。覆盖了用户可能使用的各种中文表达方式 L9 description 收尾:将隐式触发场景("给主题→要成品")也纳入匹配范围,提高了召回率

Viral Writer 是典型的纯指令型单体 skill——没有脚本模块,所有逻辑依赖自然语言指令的层次化组织。SKILL.md 作为唯一的执行单元,内部通过六步工作流形成”管道式”处理链条。README.md 是独立的文档层,与 skill 执行逻辑无耦合——它只面向人类开发者,不影响 AI 的行为。

Viral Writer is a classic pure-instruction monolithic skill — no script modules; all logic relies on hierarchically organized natural language instructions. SKILL.md serves as the sole execution unit, internally forming a “pipeline” processing chain through the six-step workflow. README.md is an independent documentation layer decoupled from skill execution logic — it faces human developers only and does not affect AI behavior.

viral-writer 模块关系图

graph TD
  A[SKILL.md
核心指令 240行] --> B[第一步: 确认需求] B --> C[第二步: 11维度内容构思
隐式推理 不展示] C --> D[第三步: 按平台规范创作] D --> E[第四步: 5策略标题生成] E --> F[第五步: 配图与封面指导] F --> G[第六步: Markdown输出] H[README.md
人类文档 187行] -.->|文档参考| A I[YAML Frontmatter
触发路由] -->|激活| A J[5条原则约束] -->|规范| B J -->|规范| C J -->|规范| D

Viral Writer 不包含任何脚本文件——这是 纯指令型 skill 的标志特征。所有功能通过自然语言指令中的结构化工作流实现。这种设计选择反映了内容创作领域的特点:创作过程本身是一个认知和判断密集型任务,不适合用确定性的代码逻辑来规范;AI 需要的是思考框架和方法论指引,而非自动化脚本。

虽然没有脚本,但 SKILL.md 的 240 行指令本身就是一个高度结构化的”程序”。以下是其核心”算法”的逐层解析:

Viral Writer contains no script files — this is the hallmark of a pure instruction skill. All functionality is realized through structured workflows in natural language instructions. This design choice reflects the nature of content creation: the creative process itself is a cognition and judgment intensive task unsuitable for deterministic code logic; AI needs thinking frameworks and methodological guidance, not automation scripts.

While script-free, the 240-line SKILL.md itself is a highly structured “program.” Below is a layer-by-layer analysis of its core “algorithm”:

SKILL.md — 第一步:需求确认(智能省略机制) ↗ 源文件
1 ### 第一步:确认需求 2 3 向用户确认以下信息(如果用户已经在 prompt 中说明了, 4 直接使用,不要重复提问): 5 6 1. **主题/素材**:用户想写什么 7 2. **目标平台**:微信公众号 / 小红书 / 抖音(默认:微信公众号) 8 3. **目标受众**:如果用户没说,根据主题合理推断 9 4. **期望风格/调性**:理性深度 / 情感共鸣 / 轻松幽默 / 犀利观点 10 (如果用户没指定,根据主题和平台推断)
代码解读
L1 设计亮点:括号中的"不要重复提问"是关键的 UX 优化——避免 AI 机械地要求用户反复确认已有信息 L2 提供默认值(微信公众号)降低用户决策负担。80% 的用户场景可能就是这个默认值 L3 "合理推断"赋予 AI 根据上下文补全缺失参数的能力,而非死板地要求用户填写所有字段 L4 四个风格选项覆盖了绝大多数自媒体内容的调性区间,为后续 11 维分析中的"语言风格"维度提供锚点
SKILL.md — 第二步核心:11 维度内容构思(节选) ↗ 源文件
1 #### 11个内容洞见维度 2 3 **1. 核心观点** 4 每篇好内容只需要一个锐利的核心观点。这个观点应该是: 5 - 有立场的(不是正确的废话) 6 - 能用一句话说清的 7 - 读者看完会产生"原来如此"或"我不同意"的反应 8 9 **4. 情绪触发点** 10 读者在阅读过程中会被什么情绪击中? 11 - **共鸣感**:"这说的不就是我吗" 12 - **紧迫感**:"我必须现在就行动" 13 - **好奇心**:"接下来会怎样" 14 15 **6. 情感曲线分析** 16 像设计电影节奏一样设计文章的情感走向。 17 - **开头**:制造张力(悬念、冲突、反直觉的事实) 18 - **中段**:在"紧张-释放"之间交替 19 - **高潮**:核心观点的最强表达 20 - **结尾**:余韵 21 22 **11. 互动钩子** 23 爆款内容的结尾都埋了让读者忍不住回应的互动点: 24 - **开放式提问**:"你遇到过类似的情况吗?" 25 - **填空式互动**:"用一个词形容你的2024,我先来:____" 26 - **争议性立场**:故意抛出一个有争议的判断,激发讨论
代码解读
L1 11 个维度构成完整的创作方法论体系。编号顺序不是随机的——从"核心观点"(根)到"互动钩子"(叶),形成树状思考结构 L3 维度1"核心观点":这是整个体系的根基。要求观点"有立场"——不是客观陈述,而是主观判断。这直接影响了内容的传播力 L8 维度4"情绪触发点":为每种情绪提供了具象化的内心独白("这说的不就是我吗"),帮助 AI 准确理解抽象的情绪概念 L13 维度6"情感曲线":引入电影叙事理论——将文章当作"微型电影"来设计节奏。这是区分专业创作和业余写作的关键维度 L18 维度11"互动钩子":提供了6种具体的互动模板。注意每种模板都包含示例文案——这种"示例驱动"的指令设计比纯描述有效得多
SKILL.md — 第三步:平台规范(三平台完整差异矩阵) ↗ 源文件
1 **微信公众号** 2 - 标题:15-30字,引发好奇或共鸣,避免纯标题党 3 - 正文:1500-3000字为佳,段落短(手机阅读友好,每段2-4句) 4 - 结构:开头3句定生死(决定读者是否继续), 5 中间有清晰的逻辑线,结尾要有力 6 7 **小红书** 8 - 标题:20字以内,关键词前置,可用emoji增加辨识度 9 - 正文:300-800字,分点清晰,善用emoji做段落标记 10 - 风格:口语化、亲近感、像朋友在聊天 11 12 **抖音文案** 13 - 标题/钩子:前3秒决定生死,开头必须抓人 14 - 正文:200-500字(视频口播用),短句为主,节奏快 15 - 风格:极度口语化,像在和一个人说话
代码解读
L1 微信公众号规范:强调"手机阅读友好"——这是自媒体文章与网页长文的本质区别。每段2-4句的约束直接影响了段落的视觉密度 L4 "开头3句定生死"——将移动端阅读行为学(前3秒决定是否继续阅读)精确翻译为可执行的写作指令 L6 小红书规范:emoji 不只是装饰,而是小红书的"视觉语法"——用 emoji 做段落标记是平台特有的内容格式约定 L8 小红书风格关键词"像朋友在聊天"——用类比而非抽象描述来定义风格,让 AI 更容易把握语气的微妙差异 L10 抖音规范:短句+快节奏——适配短视频平台的口播场景。注意字数上限(500字)远低于公众号(3000字),体现了不同平台的消费场景差异
  1. 隐式推理架构:11 个维度的分析过程不展示给用户——AI 在”后台”完成深度思考,用户只看到最终的创作成果。这是一种精妙的 UX 设计:用户不需要知道创作方法论也能享受到方法论带来的质量提升。

  2. 示例驱动的指令设计:情绪触发点用内心独白示例(“这说的不就是我吗”)、互动钩子用完整问句示例(“你遇到过类似的情况吗?”)——这种”show, don’t tell”的指令写法比纯描述性的指令有效得多。

  3. 智能省略与默认值:第一步需求确认中明确要求”如果用户已说明则直接使用”并提供合理的默认值(平台默认微信公众号、风格根据主题推断),避免了死板的表单式交互。

  4. 平台适配范式转换:不是”同一篇文章的不同长度版本”而是”完全不同的表达方式”——这个根本性的范式声明防止了 AI 偷懒做成简单的文本压缩/扩展。

  5. 从方法论到元数据的完整链路:description 中的触发关键词列表使得 skill 能被自动路由匹配,而 skill 内部的 11 维度框架又确保触发后的执行质量——形成了”发现→执行→交付”的闭环。

模式描述应用场景
隐式推理AI 内部完成复杂分析但不展示过程,用户只看到最终输出需要深度思考但输出应简洁的任务
示例驱动指令用具象化的示例而非抽象描述来定义行为标准需要 AI 把握语气、风格、调性的场景
智能省略机制根据已有信息自动补全参数,避免重复提问多参数输入的任务型 skill
平台规范矩阵将多目标平台的差异化为结构化的约束参数表需适配多端/多渠道的 skill
原则约束层在工作流之外增加独立的原则层,防止边界行为偏差复杂工作流需要防抖和容错的场景
PatternDescriptionUse Case
Implicit ReasoningAI completes complex analysis internally without displaying the processTasks needing deep thought but concise output
Example-Driven InstructionsUse concrete examples rather than abstract descriptions to define behavior standardsScenes requiring AI to grasp tone, style, and nuance
Smart OmissionAuto-fill parameters from context, avoiding repetitive questioningMulti-parameter task-oriented skills
Platform Spec MatrixStructure multi-platform differences as a constraint parameter tableSkills needing multi-endpoint/channel adaptation
Principle Guard LayerAdd independent principles beyond the workflow to prevent edge-case driftComplex workflows needing debouncing and fault tolerance

Viral Writer 的核心方法论(11 维度内容构思 + 平台规范矩阵)高度可移植。要适配其他语言或平台:换平台规范矩阵(如 Twitter/Instagram/LinkedIn),保持 11 维度分析框架不变;换语言风格参数(修改第 10 维度中的具体参数);换触发关键词(修改 YAML frontmatter);保留核心框架(11 维度体系是跨平台、跨语言的通用方法论)。

⚠️ 描述过于具体导致匹配范围过窄:YAML description 中的触发关键词虽然全面,但如果用户使用了列表之外的表达方式(如”生成一篇推文”),可能无法触发 skill。建议定期从实际使用日志中补充高频触发词。

⚠️ 隐式推理无法验证:11 维度的内部思考既不可见也不可验证——如果 AI 跳过了某个维度(如忘记设计互动钩子),用户无法从输出中直接发现。可以在第六步输出中增加一个可选的”创作说明”折叠区域供有需要的用户展开查看。

⚠️ 平台规范需要持续更新:社交媒体平台的规则和用户习惯变化很快(如小红书字数限制、抖音推荐算法偏好),skill 中的平台规范参数需要定期维护。

  1. Implicit Reasoning Architecture: The 11-dimension analysis process is hidden from users — AI completes deep thinking in the “background” while users only see the final creative output. This is an elegant UX design: users benefit from methodology-driven quality without needing to understand the methodology itself.

  2. Example-Driven Instruction Design: Emotional triggers use internal monologue examples (“This is exactly me!”), interaction hooks use complete question examples (“Have you encountered similar situations?”) — this “show, don’t tell” instruction style is far more effective than purely descriptive instructions.

  3. Smart Omission & Defaults: Step 1 explicitly requires “use directly if already stated by user” and provides reasonable defaults (platform defaults to WeChat, style inferred from topic), avoiding rigid form-like interactions.

  4. Platform Adaptation Paradigm Shift: Not “different length versions of the same article” but “completely different expression styles” — this fundamental paradigm declaration prevents AI from lazily doing simple text compression/expansion.

  5. Complete Chain from Methodology to Metadata: The trigger keyword list in the description enables automatic skill routing, while the internal 11-dimension framework ensures execution quality after triggering — forming a complete “discovery → execution → delivery” loop.

模式描述应用场景
隐式推理AI 内部完成复杂分析但不展示过程,用户只看到最终输出需要深度思考但输出应简洁的任务
示例驱动指令用具象化的示例而非抽象描述来定义行为标准需要 AI 把握语气、风格、调性的场景
智能省略机制根据已有信息自动补全参数,避免重复提问多参数输入的任务型 skill
平台规范矩阵将多目标平台的差异化为结构化的约束参数表需适配多端/多渠道的 skill
原则约束层在工作流之外增加独立的原则层,防止边界行为偏差复杂工作流需要防抖和容错的场景
PatternDescriptionUse Case
Implicit ReasoningAI completes complex analysis internally without displaying the processTasks needing deep thought but concise output
Example-Driven InstructionsUse concrete examples rather than abstract descriptions to define behavior standardsScenes requiring AI to grasp tone, style, and nuance
Smart OmissionAuto-fill parameters from context, avoiding repetitive questioningMulti-parameter task-oriented skills
Platform Spec MatrixStructure multi-platform differences as a constraint parameter tableSkills needing multi-endpoint/channel adaptation
Principle Guard LayerAdd independent principles beyond the workflow to prevent edge-case driftComplex workflows needing debouncing and fault tolerance

Viral Writer’s core methodology (11-dimension content ideation + platform spec matrix) is highly portable. To adapt for other languages or platforms: swap the platform spec matrix (e.g., Twitter/Instagram/LinkedIn), keeping the 11-dimension framework unchanged; swap language style parameters (modify Dimension 10); swap trigger keywords (modify YAML frontmatter); keep the core framework (the 11-dimension system is universal across platforms and languages).

⚠️ Over-specific description narrowing match scope: While the YAML description’s trigger keyword list is comprehensive, users using expressions outside the list (like “generate a tweet”) may not trigger the skill. Regularly supplement high-frequency trigger words from actual usage logs.

⚠️ Implicit reasoning cannot be verified: The 11-dimension internal thinking is neither visible nor verifiable — if AI skips a dimension (e.g., forgets to design interaction hooks), users cannot directly detect it from output. Consider adding an optional collapsed “Creation Notes” section in Step 6 output for users who want to expand and review.

⚠️ Platform specs need continuous updates: Social media platform rules and user habits change rapidly (e.g., Xiaohongshu word limits, Douyin algorithm preferences), so platform spec parameters in the skill need regular maintenance.