mcphee-structure-derivation
БесплатноБез исполняемых скриптовНе проверенDerives a document's structure out of its own corpus instead of picking one off a menu, using John McPhee's coding-and-sorting procedure - cold read, short…
от lyndonkl★ 208 звёзд на GitHubОб этом скилле
McPhee Structure Derivation
Table of Contents
Related skills: Use narrative-form-triage before this skill - it decides the FORM the corpus can support and owns the DO NOT NARRATE refusal, while this one derives the SHAPE once a narrative form has been declared. Use writing-structure-planner once components exist - that skill SELECTS among eight known shapes and diagrams the choice; this one DERIVES a shape from raw material and hands the named shape plus the card piles over to it. Use writing-revision on the prose after components are drafted, writing-pre-publish-checklist for the final gate.
Core Principles
- Derive, do not select: The shape is an output of sorting cards, not an input chosen before reading. If you named the shape before you coded the corpus, you imposed it.
- Chronology wins by default: McPhee's rule is that tension between chronology and theme is near-universal and chronology usually wins. Theme-sorting is the cheapest operation a language model performs, which is exactly why it must be the one that has to argue for itself.
- One code per card, provenance on every card: The sortable unit is a chunk of researched material with a source, not a heading you invented. A card with no source is not a card.
- White space is a claim: An inference produced by placing two cards side by side escapes citation discipline. Only juxtapose to imply something you would state outright and footnote.
- Name the shape or keep sorting: "Partly chronological, partly thematic, with some flashbacks" is not a name. If it cannot be named, the sort is unfinished.
- Invisible bones: Structure should be about as visible as someone's skeleton. If a reader can recite it after one read, you over-signposted.
- Refusal is a result: "This corpus has no derivable narrative shape; it is a set of independent findings" is a successful terminal output, not a failure.
Workflow
Copy this checklist and track your progress:
McPhee Structure Derivation Progress:
- [ ] Step 1: Cold read, then code the corpus onto cards
- [ ] Step 2: Sort twice and log every disagreement
- [ ] Step 3: Resolve each disagreement toward chronology
- [ ] Step 4: Test candidate juxtapositions against the footnote gate
- [ ] Step 5: Name the shape, then run the invisibility test
- [ ] Step 6: Write component by component, lede last, then hand off
Step 1: Cold read, then code the corpus onto cards
Step 1.1: Read the entire corpus once, marking nothing, annotating nothing, writing nothing. The purpose is to let patterns surface before your first classification freezes them. Record only the fact that you did it.
Step 1.2: Read again. Assign every chunk a short topic code in airport-code style - SMELTER-Q3, RETRY-STORM, LAB-MOVE-32, TARIFF-88. Codes name what the chunk is about. Codes that name a document part (BACKGROUND, ANALYSIS, CONTEXT, DISCUSSION) are not topic codes and will silently reproduce a generic essay outline.
Step 1.3: One code per card. Each card carries: code, one-line content, the date or date range the material belongs to, source reference, and a typicality label (median / tail / unique) against the corpus. Cards with an unknown date go to a dated-unknown pile, not to a guessed slot.
See resources/coding-pass.md for the card schema, the code-quality tests, a worked corpus, and the discarded-card log format.
Step 2: Sort twice and log every disagreement
Step 2.1: Sort A - strict chronology. Order every card by its date. No thematic grouping allowed, even where it obviously helps. Write the resulting sequence of codes down.
Step 2.2: Sort B - strict theme. Group every card by topic, ignoring dates entirely. Write that sequence down too.
Step 2.3: Produce the disagreement log: every place the two sorts put the same card in a materially different position. This log is a required artifact. A derivation that reports no disagreements did not run both sorts.
Step 3: Resolve each disagreement toward chronology
Step 3.1: Walk the log row by row using The Dual Sort and Its Resolution. Default resolution is chronology.
Step 3.2: Break chronology only where a theme is strong enough to justify a flashback, and only by naming the explicit re-entry point - the dated card the narrative returns to. A flashback with no named re-entry point is a rejected resolution.
Step 3.3: Maintain the discarded-card log with two separate columns: cards that did not support the emerging shape, and cards that contradicted it. The first column may be pruned. The second column must appear in the body of the finished piece.
**Step 4: Test candidate juxtapositions against the
Установить mcphee-structure-derivation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл mcphee-structure-derivation?
Derives a document's structure out of its own corpus instead of picking one off a menu, using John McPhee's coding-and-sorting procedure - cold read, short topic codes one per card, a strict chronology sort run against a strict theme sort, a logged list of every disagreement resolved toward chronology, candidate juxtapositions gated by a state-and-footnote test, a named shape, and an invisibility test. Use when you hold researched material and have no structure yet, when a draft has turned into concept-named sections full of time-scrambled evidence, when deciding whether a flashback is earned, or when user mentions McPhee, coding pass, index cards, deriving structure, chronology versus theme, structure from material, or "what shape is this piece".
Как установить скилл mcphee-structure-derivation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mcphee-structure-derivation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic