diff --git a/README.md b/README.md index 8716791..fdb913d 100644 --- a/README.md +++ b/README.md @@ -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 more, only what you can back up, in an order easy to follow. - [journalism-101](journalism-101/SKILL.md) — lead with the news; - don't bury the lede, and don't write about the document ("This - page..."). + don't bury the lede, don't write about the document ("This + page..."), and write for readers who weren't in the conversation. - [hypertext-links](hypertext-links/SKILL.md) — link text says where the link goes; no bare URLs, no "click here". - [citation-needed](citation-needed/SKILL.md) — back a challenged claim diff --git a/docs-files-api/SKILL.md b/docs-files-api/SKILL.md index 6bbef42..59406b5 100644 --- a/docs-files-api/SKILL.md +++ b/docs-files-api/SKILL.md @@ -56,10 +56,10 @@ JSDoc placement rules (from the no docstrings; a string literal is the honest equivalent) rather than copying it or reading the script's own source. Helpers inside still get their own JSDoc. -- **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 - (design discussions, who asked, "for now", analogies used while - deciding), and nothing the code or its shebang already says. +- **Write for the reader, not the conversation:** comments say what the + code is and why; no "for now", no traces of the design discussion + (see journalism-101, "Write for readers who weren't there"), and + nothing the code or its shebang already says. - **External design constraints:** If a module is constrained by external 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). diff --git a/journalism-101/SKILL.md b/journalism-101/SKILL.md index ae508e4..24938a7 100644 --- a/journalism-101/SKILL.md +++ b/journalism-101/SKILL.md @@ -1,7 +1,7 @@ --- name: journalism-101 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 @@ -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. +## 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 - [Inverted pyramid (journalism)](https://en.wikipedia.org/wiki/Inverted_pyramid_(journalism)), Wikipedia: most important first, details in descending order.