citation-needed: writing for publication

Public sources only, dated references, outline References, the
CSL-JSON sidecar, bib: front matter for published posts, and the
Zotero import (which publishes). Moved here from agent memory.

Generated-by: Claude Opus 5.5
This commit is contained in:
dckc committed 2026-10-30 16:08:56 -05:00
1 parent fd47da3a98
commit 4221f2d176
1 file changed
+41 -1
+41 -1
View File
@@ -1,6 +1,6 @@
--- ---
name: citation-needed name: citation-needed
description: Provide live, verifiable links when a factual claim is challenged with "citation needed", or when asserting a fact likely to be challenged. Formats citations as blockquote markup with the page title as the link and a date. Not for code references or repo-local docs. description: Provide live, verifiable links when a factual claim is challenged with "citation needed", or when asserting a fact likely to be challenged; when writing an outline or article that may be published, with a References or sources section, a CSL-JSON sidecar, or a Zotero collection. Formats citations as blockquote markup with the page title as the link and a date. Not for code references or repo-local docs.
--- ---
# Citation Needed # Citation Needed
@@ -34,6 +34,46 @@ raw in-your-face URLs.
> — [Source Page Title](https://example.com/path), Site Name, Sep 23, 2026 > — [Source Page Title](https://example.com/path), Site Name, Sep 23, 2026
``` ```
In madmode.com posts, the dash is `--`:
`> -- [Page Title](https://example.com/path), Author or Site, Mon YYYY`.
## Writing for publication
Anything that may be shared publicly cites public sources only: never
unpublished notes, private LLM chats, or local-only links such as
`zotero://select`. A claim that rests on one of those either becomes the
author's own words or gets flagged ⚠️ until a real source turns up.
- **Primary sources first.** Cite the W3C workshop paper, not a post about
it. The author's own blog post on the topic goes in parentheses after
it, as an inline link.
- **Every reference gets a date**, so none pile up undated at the end of
a newest-first list: software by a release from around when it became
well known, web pages "as of" the month you read them, statutes by
enactment.
- **Outlines:** use Markdown footnotes (`[^key]`) collected in one
`## References` section at the end, newest first, with no subheadings
(Obsidian moves footnote definitions to the bottom, leaving
subheadings empty).
- **CSL-JSON sidecar:** keep `<name> - references.json` next to the
outline, in the same order, with `id` equal to the footnote key. It's
the data behind everything else.
- **Published posts:** don't hand-write the sources list. Put
`bib: <name> - references.json` in the post's front matter, and the
madmode site renders it with the xhlt91 bibliography conventions
(`templates/_bib.html`, `tools/csl_bib.py`). Notes starting "TODO" or
"placeholder" stay out of the published list.
- **Zotero:** `tools/zotero_import_csl.py` in madmode-blog imports the
sidecar into a collection named for the post (precedent: fs86,
ai-scrape26). The public library syncs, so importing is publishing.
Follow the library's existing conventions for each item type; RFCs, for
example, are reports with type "Request for Comments" and institution
"Internet Engineering Task Force", so the IETF RFCs saved search
finds them.
- **Links the fetcher can't read** (403, bot wall, JS-only): mark them 🙋
in the draft with the link; the author fetches the page by hand and
saves a Zotero snapshot, which can then be read from `~/Zotero/storage`.
## Search hygiene ## Search hygiene
If you are the one asserting a fact, do a quick search before stating it as If you are the one asserting a fact, do a quick search before stating it as