feat(journalism-101): write for readers who weren't there
The rule against traces of the conversation lived in docs-files-api,
under JSDoc and worded for comments, so it didn't stop chat leaking
into a setup guide ("it needn't be NixOS"). It applies to every doc,
commit message, and issue, so it moves here, with two more failures:
answers to questions only the conversation raised, and rebuttals of a
draft the reader never saw. docs-files-api keeps a pointer for comments.
Generated-by: Claude Opus 5.5
This commit is contained in:
1 parent
035bf497c8
commit
7728a1d908
3 files changed
+14
-7
No files matched your search
@@ -53,8 +53,8 @@ Code](https://code.claude.com/docs/en/skills) and
|
|||||||
- [grice-maxims](grice-maxims/SKILL.md) — say what's needed and no
|
- [grice-maxims](grice-maxims/SKILL.md) — say what's needed and no
|
||||||
more, only what you can back up, in an order easy to follow.
|
more, only what you can back up, in an order easy to follow.
|
||||||
- [journalism-101](journalism-101/SKILL.md) — lead with the news;
|
- [journalism-101](journalism-101/SKILL.md) — lead with the news;
|
||||||
don't bury the lede, and don't write about the document ("This
|
don't bury the lede, don't write about the document ("This
|
||||||
page...").
|
page..."), and write for readers who weren't in the conversation.
|
||||||
- [hypertext-links](hypertext-links/SKILL.md) — link text says where
|
- [hypertext-links](hypertext-links/SKILL.md) — link text says where
|
||||||
the link goes; no bare URLs, no "click here".
|
the link goes; no bare URLs, no "click here".
|
||||||
- [citation-needed](citation-needed/SKILL.md) — back a challenged claim
|
- [citation-needed](citation-needed/SKILL.md) — back a challenged claim
|
||||||
|
|||||||
@@ -56,10 +56,10 @@ JSDoc placement rules (from the
|
|||||||
no docstrings; a string literal is the honest equivalent) rather than
|
no docstrings; a string literal is the honest equivalent) rather than
|
||||||
copying it or reading the script's own source. Helpers inside still get
|
copying it or reading the script's own source. Helpers inside still get
|
||||||
their own JSDoc.
|
their own JSDoc.
|
||||||
- **Write for the reader, not the conversation:** Comments say what the
|
- **Write for the reader, not the conversation:** comments say what the
|
||||||
code is and why, in the reader's terms. No traces of how it came to be
|
code is and why; no "for now", no traces of the design discussion
|
||||||
(design discussions, who asked, "for now", analogies used while
|
(see journalism-101, "Write for readers who weren't there"), and
|
||||||
deciding), and nothing the code or its shebang already says.
|
nothing the code or its shebang already says.
|
||||||
- **External design constraints:** If a module is constrained by external
|
- **External design constraints:** If a module is constrained by external
|
||||||
contracts, standards, or off-repo design docs, add a short JSDoc note with a
|
contracts, standards, or off-repo design docs, add a short JSDoc note with a
|
||||||
`@see` link to the authoritative source at the relevant entry point(s).
|
`@see` link to the authoritative source at the relevant entry point(s).
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
name: journalism-101
|
name: journalism-101
|
||||||
description: >-
|
description: >-
|
||||||
Journalism 101: lead with the news, don't bury the lede, and don't write about the document ("This page...", "This doc covers...", "In this section we..."). Use when writing or revising the opening of any doc, page, README, issue, PR description, email, report, or reply; when someone says "bury the lede", "lede", "inverted pyramid", "navel-gazing", or "no newspaper story starts with 'This newspaper story'". Not for link text (that's hypertext-links) or trimming words in general (that's grice-maxims).
|
Journalism 101: lead with the news, don't bury the lede, don't write about the document ("This page...", "This doc covers...", "In this section we..."), and write for readers who weren't in the conversation that produced it. Use when writing or revising the opening of any doc, page, README, issue, PR description, email, report, or reply; when someone says "bury the lede", "lede", "inverted pyramid", "navel-gazing", "chit-chat", "who's the audience?", or "no newspaper story starts with 'This newspaper story'". Not for link text (that's hypertext-links) or trimming words in general (that's grice-maxims).
|
||||||
---
|
---
|
||||||
|
|
||||||
# Journalism 101
|
# Journalism 101
|
||||||
@@ -24,6 +24,13 @@ No newspaper story starts with "This newspaper story...". The reader knows what
|
|||||||
|
|
||||||
The same goes for "This document describes...", "This section covers...", "In this README, we...", and "The purpose of this issue is...". In a heading or a link, too: name the subject, not the container.
|
The same goes for "This document describes...", "This section covers...", "In this README, we...", and "The purpose of this issue is...". In a heading or a link, too: name the subject, not the container.
|
||||||
|
|
||||||
|
## Write for readers who weren't there
|
||||||
|
|
||||||
|
A story reports what happened, not the interviews that turned it up. Docs, comments, commit messages, and issues likewise: the reader wasn't in the conversation that produced them, so leave no trace of it. No design discussions, no who asked, no "for now", no analogies used while deciding. No answers to questions only the conversation raised, and no rebuttals of a draft the reader never saw.
|
||||||
|
|
||||||
|
- Chat leaking in: "Any Linux with systemd and Nix will do; it needn't be NixOS."
|
||||||
|
- For the reader: "Install Nix if it isn't there yet."
|
||||||
|
|
||||||
## Sources
|
## Sources
|
||||||
|
|
||||||
- [Inverted pyramid (journalism)](https://en.wikipedia.org/wiki/Inverted_pyramid_(journalism)), Wikipedia: most important first, details in descending order.
|
- [Inverted pyramid (journalism)](https://en.wikipedia.org/wiki/Inverted_pyramid_(journalism)), Wikipedia: most important first, details in descending order.
|
||||||
|
|||||||
Reference in new issue
Block a user