writing-fragments

Session de grillade qui extrait de l'utilisateur des fragments — pépites hétérogènes d'écriture (affirmations, vignettes, phrases percutantes, demi-pensées) — et les ajoute à un seul document comme matière première pour un futur article. À utiliser lorsque l'utilisateur souhaite développer des idées avant d'imposer une structure, ou mentionne « fragments », « idéer » ou « matière première » pour l'écriture.

npx skills add https://github.com/mattpocock/skills --skill writing-fragments

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 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.

Plus de skills de mattpocock

ask-matt
mattpocock
Demandez quelle compétence ou quel flux correspond à votre situation. Un routeur sur les compétences invoquées par l'utilisateur dans ce dépôt.
communicationresearchproductivity
chief-of-staff
mattpocock
Poursuivez un objectif à long terme au cours d’une seule session en coordonnant des sous-agents.
productivityproject-managementcommunication
claude-handoff
mattpocock
Transférer la conversation en cours à un nouvel agent en arrière-plan qui reprend le travail immédiatement.
codebase-design
mattpocock
Vocabulaire partagé pour concevoir des modules profonds. À utiliser lorsque l'utilisateur souhaite concevoir ou améliorer l'interface d'un module, trouver des opportunités d'approfondissement, décider où placer une jointure, rendre le code plus testable ou navigable par IA, ou lorsqu'une autre compétence a besoin du vocabulaire des modules profonds.
designdevelopmentcode-review
code-review
mattpocock
Examinez les modifications depuis un point fixe (commit, branche, tag ou merge-base) selon deux axes — Standards (le code respecte-t-il les normes de codage documentées de ce dépôt ?) et Spécifications (le code correspond-il à ce que demandait le problème/PRD d'origine ?). Exécute les deux examens dans des sous-agents parallèles et les rapporte côte à côte. À utiliser lorsque l'utilisateur souhaite examiner une branche, une PR, des modifications en cours, ou demande de « vérifier depuis X ».
testingdevelopmentcode-review
design-an-interface
mattpocock
Générer plusieurs conceptions d'interface radicalement différentes pour un module en utilisant des sous-agents parallèles. À utiliser lorsque l'utilisateur souhaite concevoir une API, explorer des options d'interface, comparer des formes de modules, ou mentionne "concevoir deux fois".
developmentdesignapi
diagnosing-bugs
mattpocock
Boucle de diagnostic pour les bugs complexes et les régressions de performance. À utiliser lorsque l'utilisateur dit « diagnostique »/« débogue ceci », ou signale quelque chose de cassé/qui génère une erreur/qui échoue/lent.
testingdevelopmentcode-review
domain-modeling
mattpocock
Construire et affiner le modèle de domaine d'un projet. Utiliser lorsque l'utilisateur souhaite définir la terminologie du domaine ou un langage omniprésent, enregistrer une décision architecturale, ou lorsqu'une autre compétence doit maintenir le modèle de domaine.
designdevelopmentdocument