A Writer Should Do logo

A Writer Should Do

Community
masterball-w
a-writer-should-do

从单本或多本原作中提取可验证的架构、内容、语言与气韵指纹,并将其编译成 AI 可稳定执行、验收和返工的派生写作 Skill。用户要求分析作家风格、生成写作指导、仿写或校验风格时使用。

Overview

Publishermasterball-w
RepositoryA-writer-should-do
Skill namea-writer-should-do
Stars
49
Forks
3
Bundled files
52
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 52 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by masterball-w on GitHub. Read the source before you install it.

Installation

Install the A Writer Should Do AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/masterball-w/A-writer-should-do/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/masterball-w/A-writer-should-do.git \
  .claude/skills/a-writer-should-do
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable A Writer Should Do in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads A Writer Should Do on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so A Writer Should Do is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

A-writer-should-do

AI 是执行器,不是创作种子。本 Skill 交付操作规程,不交付"冷峻、荒诞、语言灵活"等审美评语:

text
输入材料 → 固定操作顺序 → 可观察输出 → 合格判据 → 失败返工

产物:

text
write-like-{作者或作品版本}/        # 派生 Skill:只存执行所需指令
├── SKILL.md                        # 边界、A 级硬约束、执行顺序、高频失败
├── 01-world-and-material.md        # 世界解释与素材取舍
├── 02-character-and-information.md # 人物利益、关系、信息差、对话动作
├── 03-architecture-and-scene.md    # 宏观/章节/场景/段落状态转换
├── 04-voice-and-syntax.md          # 按功能划分的语言剖面
├── 05-expression-and-space.md      # 描写、修辞、情绪、留白
└── 06-generation-and-validation.md # 完整执行顺序、验收、返工、伦理

{书名}_声纹蒸馏报告.md              # 证据留报告;只有描述、没有动作的内容不进 Skill

一、硬性原则

  1. 边界:单本书只代表该作品、时期和文体;至少三部跨时期作品共有的机制,才可暂称作者稳定指纹。
  2. 证据:核心指纹须有至少三处跨章节证据和至少一处反例;次数只证明值得调查,不代替功能判断。
  3. 气韵不直接生成:冷峻、幽默、轻盈是前三层共同运行后的验收结果,禁止要求 AI"加入气韵"。
  4. 不复制:不得迁移原句、专名、人物、情节、独创比喻或真实经历。

二、蒸馏流程

text
0. 提取并清洗源文本
1. 判定作品边界
2. 建立分层样本库与元数据
3. 提取四层指纹
4. 证据与反例验证
5. 编译操作卡,生成派生 Skill
6. 回归测试

电子书提取(DRM 或提取失败时停止,不分析未清洗 HTML):

text
python scripts/extract_epub.py <书籍.epub> [-o 输出目录]
python scripts/extract_mobi.py <书籍.mobi> [-o 输出目录]
python scripts/extract_azw3.py <书籍.azw3> [-o 输出目录]

Step 2:分层样本库与元数据

先读目录、开头、结尾和章节概况,按功能取样:开篇/转场/结尾,冲突建立/升级/缓解/回收,人物入场/关系变化/秘密泄露,行动/对话/回忆/议论/描写段,高低情绪、快慢节奏,以及相似功能却不同写法的反例。不得只摘"最像作者"的名段,普通过渡段和失败场景同样决定声纹。

每篇样本登记元数据,存入 _meta/(JSON 或 CSV),供脚本统计和写作前按功能检索:

json
{
  "sample_id": "S013",
  "location": "第3章第2节",
  "function": "冲突升级 | 对话段",
  "emotion": "高 | 低",
  "pace": "快 | 慢",
  "pov": "第一人称",
  "speech_mode": "转述默认 | 孤立引语 | 短暂连引 | 连续对白",
  "note": "进入/退出状态、注意对象迁移、可迁移操作"
}

Step 3:四层指纹提取

分层提取,不跨层解释;全书混算无效的分析一律按功能分组。

A 架构章法层:交付可执行的结构图,不是"三幕式、插叙、首尾呼应"等标签。宏观(主线欲望、压力来源、主副线交叉、结局因果)、章节(进入状态/核心动作/信息变化/退出状态)、场景(目标/阻力/误判/信息释放/后果)、段落(注意对象如何转移、由什么触发、何时回现场)、句群(事实/解释/修订/反证/行动怎样相接)逐级填表:

markdown
| 单元 | 输入状态 | 执行动作 | 转移触发 | 输出状态 | 原文证据 |
|---|---|---|---|---|---|

B 内容表现层:提取"写什么、详略怎么定"——哪类人物、材料、物件、冲突被选择;大事小事何时详写、略写、转述、留白;抽象问题怎样落到流程、身体、资源和关系后果;描写怎样改变判断或推动动作;回忆议论怎样由现场触发并返回现场:

markdown
| 场景条件 | 必选材料 | 表现步骤 | 必须造成的后果 | 禁用材料/手法 |
|---|---|---|---|---|

C 语言修辞层:先按叙述/对话/回忆/议论分组运行脚本统计,数字必须来自同功能样本,不得凭经验编造:

  • 句长分位数、短句(≤15字)占比、长句(≥50字)占比、段落平均句数;
  • 高频实词与高频虚词的功能、词汇的语体/时代/人物归属;
  • 标点分布(破折号/括号/引号/分号使用比)、说话呈现方式占比。

统计之后填操作表:

markdown
| 文本功能 | 词汇来源 | 句法动作 | 长度区间 | 连接方式 | 收句方式 | 证据 |
|---|---|---|---|---|---|

说话呈现单独取证,判定为四类之一:转述默认、孤立引语、短暂连引、连续对白。判定为前三类时,"禁止连续引号对白"必须写成硬规则。

"长短句结合""善用反讽"不合格,必须改写为可执行动作,例如:

text
输入:人物正在为已经发生的行为辩护。
操作:先陈述事实,再补理由,再加入限制条件,最后用新事实使理由失效。
验收:删除连接词后,四步逻辑仍然存在。
返工:若只有漂亮判断,补事实和行动;若没有反证,删除空转议论。

D 风格气韵层:只做综合验收,把形容词还原为可观察来源。"冷静中的荒诞"必须能追溯到事件安排、材料冲突和叙述语气;只能靠加入冷峻词语获得,即判失败。

markdown
| 气韵结果 | 架构来源 | 内容来源 | 语言来源 | 破坏它的写法 |
|---|---|---|---|---|

Step 4-5:验证、编译与分级

核心指纹逐条过证据关(三证据一反例)后编译为操作卡。每条规则只用一种格式,低频现象不进生成规则,只留报告:

markdown
### 操作名〔硬性/条件〕
- 输入:执行前必须已知的场景、人物或文本状态
- 操作:1. 第一步动作  2. 第二步动作  3. 第三步动作
- 输出:执行后必须出现的可观察变化
- 验收:能直接判断通过/失败的条件
- 返工:失败时删什么、补什么、从哪一步重做
- 证据:样本编号(引文留在蒸馏报告)
- 禁用:不适用的场景

禁止写入:无尺度动词(自然地、适当地、灵活地、注意、把握);无操作审美要求(写得冷峻、富有张力);没有语料依据的固定配额;只列禁令、不提供替代动作;把原文例句改几个词当作模板。

操作卡按场景分入派生 Skill 四级:

  • A 级全局硬约束:跨场景稳定、违反后必然失真,初稿前加载。
  • B 级作者操作卡:每次按场景功能选 3—5 张,不得全部堆入一个场景。
  • C 级语言剖面:按当前文本功能加载对应区间,不得把一种剖面涂满全文。
  • D 级末轮校验:初稿完成后才加载;收录 AI 常见失败、负面样本、事实一致性和伦理边界。负面样本不进初稿上下文,触发后必须指向具体返工步骤。

Step 6:回归测试

派生 Skill 交付前生成三个 800—1500 字短样:日常低冲突场景、关系或制度高压场景、回忆/议论/说明密集场景。逐层对照:

  • 架构:进入状态是否变成明确的退出状态;
  • 内容:判断是否由具体事实产生并回到行动;
  • 语言:当前功能是否调用了正确语言剖面;
  • 气韵:删去标志词后,综合质感是否仍存在;
  • 自然度:是否出现突发金句、无来源象征、人物共用同一声音。

任一层失败,回到对应操作卡改写;禁止用增加作者常用词补救。

三、派生 Skill 执行协议

完整写作按序执行:

  1. 固定题材、时代、叙述位置、篇幅和边界。
  2. 建人物利益表、关系图、信息差地图。
  3. 写宏观推进表与章节状态表。
  4. 为每个场景写"输入—操作—输出"卡。
  5. 回读样本校准:按本次场景功能,从样本库选 2—3 个同功能样本通读,校准规则描述不了的语感——句子的呼吸、段落之间怎么接、何时突然用短句、口语和书面语怎么配。读完能说出这几个样本的共同语感,再开始写。
  6. 为每段选择段落功能和对应语言剖面。
  7. 先写事实与行动稿,不加载 D 级词表。
  8. 按作者操作卡重写内容推进,再按语言剖面重写遣词、句法和衔接。
  9. 检查气韵是否由前三层自然产生。
  10. 加载 D 级规则,逐项删除或返工。

冲突裁决顺序:用户本次明确指令 > B 级操作卡 > C 级语言剖面 > A 级硬约束。其中"不复制、边界"两条不可被覆盖;D 级校验与作者指纹冲突时以指纹为准——那是目标作者的真实写法,不是 AI 痕迹。

局部改写从问题所属步骤开始,但不得只做同义词替换。

四、核心中间产物

蒸馏与写作共用四张表,格式即定义:

人物利益表

markdown
| 人物 | 当前目标 | 资源 | 隐瞒 | 误判 | 底线 | 语言姿态 |
|---|---|---|---|---|---|---|

场景操作卡

text
- 输入:人物位置、目标、已知信息、权力状态
- 操作链:动作 → 阻力 → 解释/应对 → 新事实 → 再行动
- 可见载体:具体物件、流程、空间或称谓
- 输出:信息、关系、风险、承诺或行动发生什么变化

段落运行卡

text
- 功能:
- 当前注意对象:
- 转移触发:
- 转入内容:
- 回返接口:
- 回返后的行动/判断变化:
- 语言剖面编号:

对话行动表:仅用于分析原作中已经存在的连续引号对白;登记每轮的轮次功能(推进/回避/施压/误判)和信息与关系变化。若原作默认是转述说话,本表不作为生成步骤。

五、质量闸门

  • 单书没有被冒充为作者全部风格;每条核心指纹有三处证据和一处反例
  • 四层指纹均有产物,气韵只作综合验收
  • 每条生成规则有输入、操作、输出、验收、返工;数值来自同功能语料
  • 元数据覆盖全部样本;生成与末轮校验上下文隔离
  • 三类短样回归测试已执行并返工
  • 未复制原句、人物、专名、情节、独创比喻
  • frontmatter、文件名和交叉引用一致

六、写作产出落盘

  • 蒸馏报告保存到当前工作目录。
  • 派生 Skill 保存到用户指定目录;未指定时先确认。
  • 生成文章保存为当前工作目录下 {标题}.md;同名时追加序号,不静默覆盖。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the A Writer Should Do AI skill do?

从单本或多本原作中提取可验证的架构、内容、语言与气韵指纹,并将其编译成 AI 可稳定执行、验收和返工的派生写作 Skill。用户要求分析作家风格、生成写作指导、仿写或校验风格时使用。

Why use A Writer Should Do on TypingMind?

Because you install it once and use it with any model. A Writer Should Do is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install A Writer Should Do in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/masterball-w/A-writer-should-do/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use A Writer Should Do?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with A Writer Should Do?

As many as you like. As long as a model supports skills, you can use A Writer Should Do with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the A Writer Should Do AI skill free?

Yes. It is published on GitHub by masterball-w under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇