---
id: gh-writing-fragments
name: "writing-fragments"
url: https://skills.yangsir.net/skill/gh-writing-fragments
author: mattpocock
domain: content-creation
tags: ["content-generation", "writing-ideation", "article-drafting", "creative-writing"]
install_count: 476300
rating: 4.90 (120 reviews)
github: https://github.com/mattpocock/skills/tree/main/skills/in-progress/writing-fragments
---

# writing-fragments

> 此技能通过引导式对话，帮助用户挖掘写作灵感和碎片化想法，将其整理成一篇文档，作为未来文章的原始素材。它能让用户在不预设结构的情况下，高效地进行内容构思和素材积累，特别适用于需要大量原始想法的创作初期阶段。

**Stats**: 476,300 installs · 4.9/5 (120 reviews)

## Before / After 对比

### 写作素材收集效率

**Before**:

用户手动进行写作素材收集时，往往需要花费大量时间在零散的笔记、头脑风暴和整理上，容易陷入结构化思考的困境，导致素材收集效率低下且不系统。

**After**:

该 Skill 通过引导式对话，系统性地挖掘和整理用户的碎片化想法，将其自动追加到统一文档中，极大地提升了写作素材的收集效率和组织性。

| Metric | Before | After | Change |
|---|---|---|---|
| 收集原始素材时间 | 120分钟 | 30分钟 | -75% |
| 生成独立素材数量 | 10个 | 50个 | +400% |

## Readme

<what-to-do>

Run a grilling session that produces fragments. Interview the user relentlessly about whatever they want to write about. Do not impose phases, outlines, or structure — that is explicitly out of scope.

As fragments emerge from either side of the conversation, append them to a single markdown file. The user will be editing this file during the session; always re-read it before writing so their edits are preserved.

If the user did not pass a path, ask once where to save the document, then remember it for the rest of the session.

Capture fragments from the very first thing the user says, including the initial prompt.

On first write, put a single H1 at the top with a working title (it can change later) and nothing else — no metadata, no TOC, no date.

</what-to-do>

<supporting-info>

## What is a fragment

A fragment is any piece of text that might survive into the final article. It must be _readable by the author_ — the author can tell what it means — but it does not need to define its terms or be comprehensible to a cold reader. The bar is "is this a piece of good writing?", not "is this a self-contained argument?"

Fragments are deliberately heterogeneous. Examples of what could be a fragment:

- A sharp sentence you'd want to deploy somewhere but don't yet know where.
- A claim with a one-line justification.
- A vignette: a thing that happened, a code snippet, a scenario, an analogy.
- A half-thought: "something about how X feels like Y, work this out later."
- A quote, a piece of dialogue, an overheard line.
- A list of related observations that hang together by feel.
- A complaint, a confession, a punchline.

The novelist's diary is the model: years of unstructured noticings that later get mined for raw material. Fragments are noticings.

## File format

```markdown
# Working title

A first fragment lives here.

It can be multiple paragraphs. It can include lists, code, quotes — whatever
shape the fragment naturally takes.

---

A second fragment.

---

> A quoted line that the user wants to keep around.

A reaction to it.

---

- A cluster of related observations
- That hang together by feel
- And want to be near each other
```

Fragments are separated by a horizontal rule (`\n---\n`). No headings inside the body. No tags. No order beyond the order they were added.

## Writing rhythm

Append silently. Don't ask permission for each fragment. Mention what you added in passing ("adding that"), but don't interrupt the conversation with save dialogs.

Before every write: re-read the file from disk. The user may have edited, reordered, or deleted fragments between turns — preserve their changes. Never overwrite the file; only append (or, if the user asks, edit a specific fragment in place).

The user can say "cut the last one", "rewrite that one sharper", "merge those two" at any time. Treat those as first-class instructions.

</supporting-info>


---
*Source: https://skills.yangsir.net/skill/gh-writing-fragments*
*Markdown mirror: https://skills.yangsir.net/api/skill/gh-writing-fragments/markdown*