Community编程与开发github.com

写作碎片收集

通过对话挖掘用户的写作碎片(观点、片段、精彩句子、半成品想法),将它们追加到单个文档中作为未来文章的原始素材。当用户想要在形成结构前发展想法,或提到“碎片”、“构思”或“原始素材”时使用。

写作碎片收集 是什么?

这个技能是一个高质量的写作碎片收集器,它通过对话提问的方式引导用户产出散落的写作灵感片段,包括观点主张、叙事片段、精炼句子和半成型的想法。这些异构的写作素材会被自动追加到同一个文档中,积累成未来文章的原始材料池。该技能特别适用于写作前期的发散阶段,帮助用户避免过早进入结构化写作的束缚。它支持所有基于Markdown格式的AI编码工具(如Claude Code、Cursor),通过持续交互引导用户不断贡献碎片,并保证内容不丢失。用户只需提及“碎片”、“构思”或“原始素材”等关键词,技能便会自动激活。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mattpocock/skills/tree/main/skills/writing-fragments

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

写作碎片收集 是做什么的?

这是一个问答式对话技能,通过引导用户产出写作碎片——包括观点主张、叙事片段、精彩句子和半成型想法等异构内容——并将它们追加到单个文档中,作为未来文章的原始素材。当用户想要在形成结构前发展想法,或提到“碎片”、“构思”或“原始素材”时使用。

工作原理

该技能会主动询问用户关于主题的碎片化想法,每次提问后,技能将用户的回答格式化为Markdown列表项,并追加到指定的fragments.md文件中。整个过程会持续进行,直到用户表示结束。

使用方法

  1. 向AI提到“碎片”、“构思”或“原始素材”等关键词。
  2. 技能会自动开始提问,例如:“关于[主题],你有什么碎片化的想法吗?”
  3. 每次提供你的想法后,技能会将其添加到fragments.md文件。
  4. 当你说“结束”或“完成”时,技能会停止收集并总结当前碎片。

适用场景

  • 写作前的头脑风暴
  • 收集散落的灵感
  • 构建文章前的素材整理
  • 从对话中提取有价值的观点

注意事项

  • 该技能不修改已有内容,只追加新碎片。
  • 所有碎片会保留原始措辞,不会进行语言润色。
  • 如果文件不存在,技能会自动创建。

示例

用户: 我想开始写关于远程工作的文章,但还没有形成结构。

AI: 好的!让我收集一些碎片。关于远程工作,你有什么最初的想法或观察?

用户: 我觉得异步沟通是关键。

AI: (追加到fragments.md)已添加:异步沟通是关键。

...

用户: 我觉得我们需要更多关于孤独感的讨论。

AI: (追加到fragments.md)已添加:我们需要更多关于孤独感的讨论。

FAQ

问:文件保存在哪里? 答:保存在当前工作目录下的fragments.md文件中。

问:可以自定义文件名吗? 答:目前不支持,默认文件名为fragments.md。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

mattpocock/ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

mattpocock/caveman

Ultra-compressed communication mode. Cuts token usage ~75% by dropping filler, articles, and pleasantries while keeping full technical accuracy. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman.

mattpocock/claude-handoff

Hand the current conversation off to a fresh background agent that picks up the work immediately.

mattpocock/codebase-design

Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

mattpocock/design-an-interface

Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".

mattpocock/diagnose

Disciplined diagnosis loop for hard bugs and performance regressions. Reproduce → minimise → hypothesise → instrument → fix → regression-test. Use when user says "diagnose this" / "debug this", reports a bug, says something is broken/throwing/failing, or describes a performance regression.

mattpocock/diagnosing-bugs

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.

mattpocock/domain-modeling

Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.

mattpocock/edit-article

Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.

mattpocock/git-guardrails-claude-code

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.

mattpocock/grilling

Grill the user relentlessly about a plan or design. Use when the user wants to stress-test a plan before building, or uses any 'grill' trigger phrases.

mattpocock/grill-me

Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".

mattpocock/grill-with-docs

Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when user wants to stress-test a plan against their project's language and documented decisions.

mattpocock/handoff

Compact the current conversation into a handoff document for another agent to pick up.

mattpocock/implement

Implement a piece of work based on a PRD or set of issues.

mattpocock/implement-spec

Implement a specification in code.

mattpocock/improve-codebase-architecture

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

mattpocock/loop-me

Grill me about specs for the workflows I want to build, within this workspace.

mattpocock/migrate-to-shoehorn

Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.

mattpocock/obsidian-vault

Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.

相关技能