写作素材片段挖掘
writing-fragments
写作,探索模式:挖掘原始素材片段,暂不建立结构。
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 24
- Forks
- 5
01 前言 Front Matter
- name
- writing-fragments
- description
- Writing, explore: mine raw fragments, no structure yet.
- disable-model-invocation
- true
02 资源文件 11
- 参考文档agents/openai.yaml140 B
- 参考文档references/ast-grep-rules.md1.7 KB
- 参考文档references/ast-grep.md2.6 KB
- 参考文档references/codegraph.md2.7 KB
- 参考文档references/repo-discovery.md664 B
- 参考文档references/tool-selection.md1.5 KB
- 参考文档references/zg.md3.9 KB
- 参考文档workflows/repo-discovery.md954 B
- 参考文档workflows/semantic-search.md1.6 KB
- 参考文档workflows/structural-search.md1.2 KB
- 参考文档workflows/text-search.md1.0 KB
03 SKILL.md 正文
<what-to-do>
This is pure explore: widen the space of what could be written without committing to structure. Committing is exploit, a separate skill's job. Run a grilling session that produces fragments, interviewing the user relentlessly about whatever they want to write about. Imposing phases, outlines, or article structure is out of scope here.
As fragments emerge from either side of the conversation, append them to a single markdown file.
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.
- A leading word: a compact metaphor or coinage the whole piece can hang on (one term that names the idea, the way tracer bullets or fog of war names a whole pattern).
Of these, the leading word is the most valuable fragment to land. It is load-bearing: name the right one in explore and it shapes the structure, the transitions, and the title later, paying dividends through the entire exploit phase. When the conversation circles a recurring idea, push to coin a word for it.
The novelist's diary is the model: years of unstructured noticings that later get mined for raw material. Fragments are noticings.
File format
# 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, so 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>
04 同仓库更多 Skills
writing-review
Review a blog post or article draft and write numbered findings to a review file, then track the author's fixes across rounds. Use when the user asks to review, give feedback on, or suggest improvements to a blog post or article.
文章逐段塑形
writing-shape
写作,利用模式:将原始材料塑造成一篇文章,逐段推进。
智能体文档编写
writing-for-agents
为智能体撰写文档。在创建或编辑技能(skill),或修改 AGENTS.md 或 CLAUDE.md 时使用。
写作节奏编排
writing-beats
写作,利用(已有素材):将原始材料组装成由一系列节奏点串联而成的推进过程,在某个节奏点依赖某个术语之前,先为该术语做好铺垫。
交互式 Bash 操作向导生成
wizard
生成一个交互式 bash 向导,引导人工逐步完成只有他们自己才能执行的步骤。适用于配置基础设施、设置凭证或 CI 密钥、引导操作不熟悉的第三方仪表板,或执行一次性迁移或切换。请勿将其用于智能体自身即可执行的步骤。
大型任务规划与拆解
wayfinder
将一大块工作(超出单个智能体会话所能承载的范围)规划为问题跟踪工具(issue tracker)上的决策工单共享地图,并逐一解决这些工单,直到通往目的地的路径清晰可见。