writing-shape
用户已经传来(或之后会传来)一份原始材料的 Markdown 文件。把它当作输入素材:内容可能是整理好的零散片段,也可能是一大段未整理的文字或一份转录稿。格式不重要。开始前先从头到尾读完。
然后进行一场梳理会话,写成一篇单独的文章。这是「开采」:探索已经结束,素材也固定了。确定文章结构,再从素材中提取内容填进去。不要修改原始材料文件:这个 skill 会把它当作只读文件。
如果用户没有说文章保存在哪里,就问一次并记住路径。
- 读素材。 从头到尾读完输入文件,了解里面有什么。
- 确定前置知识。 和用户确认读者开始阅读时已经掌握哪些概念,也就是哪些概念从一开始就有了基础。后面的段落若要依赖其他概念,前面的段落必须先为它们打好基础。参见打基础。
- 拟出 2–3 个候选开头。 每个开头都应体现不同的论点或文章角度。把它们全部展示出来,让用户选一个或拼成一个混合版本。选定的开头决定了文章后续要完成什么。
- 逐段扩展。 开头确定后,问:「顺着这个开头,读者接下来需要听到什么?」从素材中找出相应内容。下一段只能依赖已经打好基础的概念;引入新概念时,要在这一段为它打好基础。和用户讨论下一块内容应采用什么形式:段落、列表、表格、提示框、引文还是代码块。每种形式都要经过有理由的选择。
- 边写边追加到文章文件。 不要攒到最后再写。每段或每块内容一经确认,就马上写入,让用户看到文章逐渐成形。
- 重复第 4 步,直到文章完成。 由用户决定何时完成。
每个概念在后续内容依赖它之前都必须先打好基础:读者要么入场时已经了解它,要么在前面的段落里接触过它。依赖尚未打好基础的概念,读者就会跟不上。关键在于概念本身,而不是术语:即使没有专业词汇,一段内容也可能依赖读者尚未掌握的想法。若概念有名称(即术语),就要同时讲清想法和术语。
概念有两种打基础的方式:
- 前置知识:在开头之前就有基础,读者入场时已经掌握。开始后就固定下来。
- 引入:某一段建立了基础,从那以后,后文便可以依赖它。
持续记录哪些概念已经打好基础。当你问「读者接下来需要听到什么?」时,如果下一步需要依赖尚未打好基础的概念,那就先处理这个缺口:在这里或更早的段落中为概念打好基础,否则就无法继续。这个步骤类似从素材中提取内容里的「指出缺失内容」,只是这里缺的是文章所需的基础。
关键在于决定哪些概念作为前置知识,哪些概念放进文章里讲清楚。前置知识要求太多,会把读者挡在门外;在文章里讲太多概念,又会让开头淹没在定义中。确定前置知识时,要和用户商量。
这是一场反向的 grilling。构思时要问「你到底注意到了什么?」这里要问「这篇文章究竟在论证什么?读者需要按什么顺序听到这些内容?」提出质疑,别放过薄弱的衔接。如果一段没有存在的理由,就删掉。
持续使用这些具体提问:
- 「这段内容给读者带来了什么新东西,是上一段没有的?」
- 「如果删掉这一段,会有什么问题?」
- 「这该写成散文,还是列表?为什么要写成散文?」
- 「这句话同时做了两件事:把它拆开,或者只留一件事。」
- 「开头承诺了 X,文章却转向了 Y。要么把内容重新串起来,要么改开头。」
从素材中提取内容
Section titled “从素材中提取内容”把原始材料当作采石场,而不是脚本。挑出一段素材,改写后放进相邻段落,让它符合上下文。可以把一段素材拆到多个段落里,也可以和其他素材合并,或改写。素材负责提供可挖掘的内容;文章要读起来像出自同一个人的手笔。
如果素材缺少文章所需的内容,就明确指出缺口:「这里需要一个例子,但素材里没有。你现在给一个,或者我们删掉这一节。」
讨论内容形式
Section titled “讨论内容形式”选择每块内容的呈现方式时,要当着用户讨论这些取舍,不要自己默默决定:
- 散文还是列表。 散文适合展开论证;列表适合并列项目。如果这些内容并非真正并列,散文更合适;如果它们确实并列,列表更容易扫读。
- 正文还是提示框。 提示、警告和补充说明可以放进提示框(
> [!TIP]、> [!NOTE]),但只有放在正文里确实会打断论证时才这样做。否则就留在正文里。 - 表格还是重复结构。 如果同一结构以相同字段重复三次或更多,就用表格;否则用带粗体引导语的散文。
- 引文还是转述。 原话本身很重要时才引用;只关乎意思时就转述。
- 代码块还是行内代码。 多行、可运行或用于说明的代码用代码块;单个词或标识符用行内代码。
每确认一块内容,就追加到文章文件。每次写入前都要从磁盘重新读取文件,因为用户可能在两轮对话之间编辑过。不要不看文件就直接覆盖。如果用户要重写某段,就只修改那一段,其他内容保持不变。
- 不要从素材中挖掘没有出现的新片段;遇到缺口时按「从素材中提取内容」的方式处理。
- 不要编辑原始材料。
- 不负责发布、按特定平台排版,也不要添加用户未要求的 frontmatter。
原文链接和 commit
Section titled “原文链接和 commit”读者要自己输入 /writing-shape 才会用到它。它不在 Claude Code 插件里。
把原始材料逐段梳理成文章:先确定读者的前置知识和文章开头,再从素材中扩展内容,并边确认边写入单独的文章文件。
Writing, exploit: shape raw material into an article, paragraph by paragraph.- 仓库 mattpocock/skills
- 文件
skills/in-progress/writing-shape/SKILL.md - 提交
d81f3a1 - 原仓库里这一则没有单独的说明页。
- 同目录文件
skills/in-progress/writing-shape/agents/openai.yaml
英文 SKILL.md
---name: writing-shapedescription: "Writing, exploit: shape raw material into an article, paragraph by paragraph."disable-model-invocation: true---
<what-to-do>
The user has passed (or will pass) a markdown file of raw material. Treat it as the input pile: anything from a tidy list of fragments to a wall of unstructured prose to a transcript. The format does not matter. Read it end-to-end before doing anything else.
Then run a shaping session that produces a separate article document. This is **exploit**: the exploring is done, the pile is fixed: commit to a structure and mine the pile to fill it. Do not edit the raw material file: it is read-only to this skill.
If the user did not say where to save the article, ask once and remember the path.
</what-to-do>
<supporting-info>
## The loop
1. **Read the pile.** Read the input file in full. Form a sense of what's in it.2. **Establish the prerequisites.** Settle with the user what the reader knows walking in: the concepts that are **grounded** from the start. Everything else must be grounded by a block before a later block can lean on it. See [Grounding](#grounding).3. **Draft 2–3 candidate openings.** Each opening should imply a different thesis or angle for the article. Show all of them. Force the user to pick or compose a hybrid. The chosen opening defines what the rest of the article must do.4. **Grow paragraph by paragraph.** After the opening lands, ask "given this opening, what does the reader need to hear next?" Pull material from the pile to answer. The next block may only lean on grounded concepts, and grounds new ones as it lands. Argue about the form the next block takes: a paragraph, a list, a table, a callout, a quote, a code block. Each format choice should be deliberate and defensible.5. **Append to the article file as you go.** Don't batch. Write each agreed paragraph or block immediately so the user can see the article taking shape.6. **Loop step 4 until the article is done.** The user decides when it's done.
## Grounding
Every **concept** has to be **grounded** before a block can lean on it: the reader either walked in knowing it or met it in an earlier block. A block that reaches for an ungrounded concept loses the reader. The unit is the concept, not the word for it: a block can lean on an idea the reader lacks even with no jargon in sight. Where a concept has a name (a **term**), grounding it means landing the idea and the term together.
A concept gets grounded one of two ways:
- **Prerequisite**: grounded before the opening. The reader brings it. Fixed at the start.- **Introduced**: a block establishes it, and from then on it's grounded for the rest of the article.
Keep a running list of what's grounded. When you ask "what does the reader need to hear next?", an ungrounded concept the next move needs is itself the answer: ground it first (here or in an earlier block) or you can't make the move. This is the gap-naming of [Pulling from the pile](#pulling-from-the-pile) one level up: there the pile is missing material; here the article is missing a foundation.
The lever is what you make a prerequisite versus what you ground inside the article. Demand too much up front and you shut readers out; ground too much inside and the opening drowns in definitions. Settle it with the user when you establish prerequisites.
## Conversational feel
This is a grilling session inverted. In ideation, the question was "what are you actually noticing?" Here it's "what is this article actually arguing, and in what order does the reader need to hear it?" Push back. Refuse to let weak transitions slide. If a paragraph doesn't earn its place, cut it.
Specific moves to keep using:
- "What does this paragraph do for the reader that the previous one didn't?"- "If I cut this, what breaks?"- "Is this prose, or should it be a list? Why prose?"- "This sentence is doing two jobs: split it or pick one."- "The opening promised X. We've drifted to Y. Either re-thread it or change the opening."
## Pulling from the pile
Treat the raw material as a quarry, not a script. Pull a fragment, rework it to fit the surrounding paragraph, and place it. A fragment may be split across multiple paragraphs, merged with another, or paraphrased. The pile's job is to be mined; the article's job is to read as one voice.
If the pile lacks something the article needs, name the gap explicitly: "We need an example here and the pile doesn't have one. Give me one now or we cut this section."
## Format arguments to actually have
When choosing how to render a block, weigh these tradeoffs out loud with the user, not silently:
- **Prose vs. list.** Prose carries argument; lists carry parallel items. If items aren't truly parallel, prose is better. If they are, a list is faster to scan.- **Inline vs. callout.** Tips, warnings, and asides go in callouts (`> [!TIP]`, `> [!NOTE]`), but only if they'd genuinely derail the main argument inline. Otherwise leave them inline.- **Table vs. repeated structure.** If the same shape repeats 3+ times with the same fields, a table. Otherwise prose with bold leads.- **Quote vs. paraphrase.** Quote when the original wording is the point. Paraphrase when only the idea matters.- **Code block vs. inline code.** Multi-line, runnable, or illustrative → block. Single token or identifier → inline.
## Writing rhythm
Append to the article file as each block is agreed. Re-read the file from disk before every write: the user may have edited between turns. Never overwrite blindly. If the user wants a paragraph rewritten, edit that specific paragraph in place; leave the rest alone.
## Out of scope
- Mining for new fragments that aren't in the pile (handle gaps as in "Pulling from the pile").- Editing the raw material file.- Publishing, formatting for a specific platform, or adding frontmatter the user didn't ask for.
</supporting-info>非官方学习站,与 Matt Pocock 和 AI Hero 没有隶属关系。本站不提供可安装的中文技能包。
技能原文采用 MIT 许可。Copyright (c) 2026 Matt Pocock