mcphee-structure-derivation

根据文档自身语料库推导结构(而非从预设菜单选择),采用约翰·麦克菲的编码与分类方法:冷读、每张卡片一个简短主题代码、严格时间顺序与严格主题顺序的比对、记录为解决分歧而向时间顺序靠拢的决策、候选并置须通过“状态与脚注测试”、为结构命名形态并通过“隐形测试”。适用于当研究材料已掌握但尚无结构、草稿演变为以概念命名的章节且时间顺序混乱、判断闪回合理性,或在用户提及麦克菲、编码过程、索引卡片、推导结构或时间顺序与主题的权衡时使用。

仓库最近推送
GitHub Stars
206
Forks
28
Issues / PRs
3

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "mcphee-structure-derivation":https://skillpi.com/zh/skills/deepskill-0ec728620f61122a0fce9fe86e18fe759108f506c90ef2c19329aba7a70739d0。安装前核对上游来源和版本:https://github.com/lyndonkl/claude。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

根据文档自身语料库推导结构(而非从预设菜单选择),采用约翰·麦克菲的编码与分类方法:冷读、每张卡片一个简短主题代码、严格时间顺序与严格主题顺序的比对、记录为解决分歧而向时间顺序靠拢的决策、候选并置须通过“状态与脚注测试”、为结构命名形态并通过“隐形测试”。适用于当研究材料已掌握但尚无结构、草稿演变为以概念命名的章节且时间顺序混乱、判断闪回合理性,或在用户提及麦克菲、编码过程、索引卡片、推导结构或时间顺序与主题的权衡时使用。

0 下载

介绍来源: third_party · lyndonkl · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: mcphee-structure-derivation
description: 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

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. Invisible bones: Structure should be about as visible as someone's skeleton. If a reader can recite it after one read, you over-signposted.
  7. 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 footnote gate

Step 4.1: Identify candidates: which two non-adjacent cards, placed side by side, generate an inference you currently have to assert in a sentence?

Step 4.2: For each candidate, write the inference out as a margin note. Then answer one question: would you state this inference in the text and footnote it with the evidence you hold? If no, discard the juxtaposition. Do not keep it because it is elegant.

Step 4.3: Order surviving pairs so the second card REVISES the first rather than echoing it, and cap them at roughly one per major section (a derived working default, not a published figure).

See resources/juxtaposition-discipline.md for the gate, worked passes and failures, and the adjacency-as-causation cases.

Step 5: Name the shape, then run the invisibility test

Step 5.1: Draw the resolved sequence and NAME it from the Shape Catalog. If nothing fits, keep sorting - do not invent a hybrid label to end the step.

Step 5.2: Invisibility test. Ask whether a reader could recite the structure after one read. If yes, delete roadmap sentences ("This piece has three parts", "Having examined X, we now turn to Y") until they cannot.

Step 5.3: Write the shape contract: shape name, runner-up shape, why the runner-up lost, the flashbacks and their re-entry points, the surviving juxtapositions, and the contradicting-card list. The contract is immutable inside a draft. Changing shapes mid-draft requires an explicit logged restart.

Step 6: Write component by component, lede last, then hand off

Step 6.1: Write one component at a time, from that component's card pile only. No reaching into other piles for a better line. This is the point of the cards.

Step 6.2: Write the lede last, after the shape is fixed and the components exist.

Step 6.3: Hand the named shape, the component piles, and the shape contract to writing-structure-planner for diagramming, gold-coin placement and pacing.

Validate using resources/evaluators/rubric_mcphee_structure_derivation.json. Minimum standard: Average score >= 3.5.

The Dual Sort and Its Resolution

Work the disagreement log with this table. Chronology is the default; every other resolution owes an artifact.

Disagreement pattern Concrete instance Resolve to Required artifact
A theme collects events months or years apart with no causal dependency between them Three port strikes in 1971, 1978 and 1984 that a theme sort files together as "labor disruption" Chronology None. Cards stay in date order.
A later card is unintelligible without an earlier one that chronology puts far behind it A 1994 retry-storm outage that only makes sense given a 1989 client-library default Chronology, with the earlier card promoted as a short dated inset inside the later section One sentence naming the inset and its date
The meaning of a theme lives in a comparison across eras, not in either era alone The same enzyme assay performed in 1957 and in 2003 with opposite conclusions Theme, but only as a dual or triple profile on an explicitly named common denominator The denominator, written as one noun phrase
The origin material precedes the reader's live interest by years A protocol's 1996 design meetings versus the 2011 adoption fight the piece is actually about Chronology beginning late, with one flashback The named dated re-entry point
Two independent contradictions each demand their own spine A supply chain that is both cost-fragile and politically exposed, with separate evidence bases Neither - braid or split into two deliverables A written note of which contradiction was set aside and why
Cards are independent findings with no causal chain at all Six unrelated audit findings sharing only a fiscal year Neither sort yields narrative Terminal output: "no derivable narrative shape." Hand to narrative-form-triage, which owns the DO NOT NARRATE verdict and picks taxonomy versus chronicle, then to writing-structure-planner to diagram the grouped form

Failure signature to watch for (theme-sort capture): five sections named after concepts, each holding evidence from scrambled years, with no accumulating tension anywhere. If your draft looks like that, Sort B captured the derivation and Step 3 was skipped.

Opposite failure: slavish chronology laid over material whose meaning genuinely is comparative, producing an undifferentiated timeline. Both failures are detectable from the disagreement log, which is why the log is required.

Shape Catalog

Name the resolved sequence as one of these. Full descriptions, diagrams and emergence tests live in resources/shape-catalog.md.

Shape Emerges when the sorts show Person protagonist System protagonist
Linear Chronology and theme mostly agree A career told forward A standard's revisions in release order
Circular One card is both the strongest entry and the natural close Open and close on the same hospital shift Open and close on the same dated shutdown
Spiral The same window revisited at widening radius One decision, then the family, then the town One plant, then the firm, then the industry
Dual profile Two card sets on one denominator, meaning in the contrast Two chemists, one problem Two ports, one shipping lane
Triple profile Three sets on one common denominator Three surgeons, one procedure Three outages, one dependency
Geographic traverse Cards order naturally along a route or physical path A walk along a fault line Ore to smelter to cell to pack
Braided Two or three timelines advancing in parallel, cross-cutting Two rivals, interleaved years Regulation and market price, interleaved

Caveat on provenance: McPhee described and drew several of these shapes, but this seven-row list is a working taxonomy assembled by commentators on his 2013 essay, not a canon he codified. Treat the names as vocabulary for the naming step, not as an authoritative set.

Caveat on tooling: McPhee mechanised this sort with purpose-built software - Structur, then Alpha, then a program he called Mac - which slotted coded chunks into their piles automatically. That matters because it tells you the procedure is mechanical by design. It is a filing operation, not an act of taste, and it should feel like one.

Guardrails

Requirements:

  1. Cold read first: The first pass produces no codes, no notes, no marks. Record that it happened before coding.
  2. Both sorts, written down: Sort A and Sort B must both exist as written sequences, and the disagreement log must be produced. Skipping Sort A and calling the theme sort "the structure" is the dominant failure this skill exists to prevent.
  3. No card without provenance: Every card cites a source. Never create a card to fill a hole in an emerging shape. A hole means the shape is wrong, not that you need one more fact.
  4. Footnote gate on every juxtaposition: The implied inference is written out, and kept only if you would state and cite it. Adjacency is not evidence of causation.
  5. Contradicting cards surface in the body: The discarded-card log separates "did not support" from "contradicted". The second category is never pruned silently.
  6. Named shape or explicit refusal: End with a shape name from the catalog, or with the finding that the corpus has none.
  7. Immutable shape contract: Once named, the shape does not change mid-draft. Structure shopping produces a document that opens as one thing and ends as another, which readers register as untrustworthiness.
  8. Dated events, not periods disguised as moments: For a system protagonist, a card's "moment" must be a dated filing, price print, release, incident or failed test. "Through the late 1990s" is a summary card, and label it as one.

Common pitfalls:

  • Coding chunks with document-part labels (BACKGROUND, IMPLICATIONS) rather than topic codes, which reproduces a generic outline under a McPhee-shaped process.
  • Declaring a flashback without naming the re-entry point, so the piece leaves the timeline and never returns.
  • Keeping a juxtaposition because it is elegant after it failed the footnote test.
  • Flattening genuinely multi-causal material into one shape because a single mechanism is tidier, without logging what was set aside.
  • Writing the lede early, which quietly fixes the shape before the sorts are resolved.
  • Reaching outside a component's card pile while drafting it, which dissolves the piles back into an undifferentiated corpus.
  • Letting personifying verbs ("the market decided", "the protocol wanted") carry causal claims the cards do not support.

Quick Reference

Key resources:

Inputs required:

  • A researched corpus with sources attached (notes, transcripts, documents, logs, datasets, extracted claims)
  • Dates or date ranges for as much of the material as the record supports
  • Any known audience constraint (obligated reader, voluntary reader, length limit)

Outputs produced:

  • A coded card set with provenance and typicality labels
  • Sort A (chronology), Sort B (theme), and the disagreement log
  • Resolutions, with re-entry points named for every flashback
  • Surviving juxtapositions with their written-out inferences
  • A named shape and a shape contract, or an explicit "no derivable shape" finding
  • Component card piles ready for writing-structure-planner

版本历史

  1. 0.1 GitHub ↗
    原版更新说明

    ## What's Changed * Improve writer skill navigation and structure by @lyndonkl in https://github.com/lyndonkl/claude/pull/1 * Consolidate stickiness content and reduce revision to 3 passes by @lyndonkl in https://github.com/lyndonkl/claude/pull/2 * Update README.md to reflect current writer skill structure by @lyndonkl in https://github.com/lyndonkl/claude/pull/3 * Add explicit instructions for AI agents to follow resource file workf… by @lyndonkl in https://github.com/lyndonkl/claude/pull/4 * Change analysis files from /tmp/ to project directory by @lyndonkl in https://github.com/lyndonkl/claude/pull/5 * Add five refined skills to production by @lyndonkl in https://github.com/lyndonkl/claude/pull/6 * Add causal-inference-root-cause skill and fix missing methodology files by @lyndonkl in https://github.com/lyndonkl/claude/pull/7 * Add workflow pattern to 6 completed skills by @lyndonkl in https://github.com/lyndonkl/claude/pull/8 * Add chain-estimation and roleplay-debate skills with optimizations by @lyndonkl in https://github.com/lyndonkl/claude/pull/9 * Add 3 new skills and update writer skill workflow pattern by @lyndonkl in https://github.com/lyndonkl/claude/pull/10 * Add skills #12-13: constraint-based-creativity and data-schema-knowle… by @lyndonkl in https://github.com/lyndonkl/claude/pull/11 * Add skills #14-16: decision-matrix, decomposition-reconstruction, deliberation-debate-red-teaming by @lyndonkl in https://github.com/lyndonkl/claude/pull/12 * Add skills #17-19: design-of-experiments, dialectical-mapping-steelmanning, discovery-interviews-surveys by @lyndonkl in https://github.com/lyndonkl/claude/pull/13 * Add chef-assistant skill and update README by @lyndonkl in https://github.com/lyndonkl/claude/pull/14 * Fix README: Remove links to gitignored scratchpad files by @lyndonkl in https://github.com/lyndonkl/claude/pull/15 * Add skills #14-22: 9 new production-ready skills by @lyndonkl in https://github.com/lyndonkl/claude/pull/16 * Add skills #20-24 and workflow pattern updates by @lyndonkl in https://github.com/lyndonkl/claude/pull/17 * Add skill #25: expected-value by @lyndonkl in https://github.com/lyndonkl/claude/pull/18 * Add skills #26-28: facilitation-patterns, financial-unit-economics, focus-timeboxing-8020 by @lyndonkl in https://github.com/lyndonkl/claude/pull/19 * Add skills #29-30: heuristics-and-checklists, hypotheticals-counterfactuals by @lyndonkl in https://github.com/lyndonkl/claude/pull/20 * Add skills #31-33: information-architecture, kill-criteria-exit-ramps, layered-reasoning by @lyndonkl in https://github.com/lyndonkl/claude/pull/21 * Add Claude Code plugin support by @lyndonkl in https://github.com/lyndonkl/claude/pull/22 * Fix plugin marketplace source path by @lyndonkl in https://github.com/lyndonkl/claude/pull/23 * Add skill #34: mapping-visualization-scaffolds by @lyndonkl in https://github.com/lyndonkl/claude/pull/24 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/25 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/26 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/27 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/28 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/29 * Add skill #59: skill-extraction by @lyndonkl in https://github.com/lyndonkl/claude/pull/30 * Add skill-creator: Transform documents into actionable skills by @lyndonkl in https://github.com/lyndonkl/claude/pull/31 * Update skill count from 58 to 61 in README by @lyndonkl in https://github.com/lyndonkl/claude/pull/32 * Skill refinement by @lyndonkl in https://github.com/lyndonkl/claude/pull/33 * Add d3-visualization skill: comprehensive D3.js implementation guide by @lyndonkl in https://github.com/lyndonkl/claude/pull/34 * Add comprehensive Superforecasting Toolkit with 4 skills and orchestr… by @lyndonkl in https://github.com/lyndonkl/claude/pull/35 * Add "Run in Smithery" badge by @gurdasnijor in https://github.com/lyndonkl/claude/pull/36 * Add Scientific Writing Toolkit with 6 skills and orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/37 * Improve skill invocation rules and update README by @lyndonkl in https://github.com/lyndonkl/claude/pull/38 * Add Geometric Deep Learning skill suite and orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/39 * Decompose writer skill into 4 focused skills + orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/40 * Add GraphRAG skill suite with 5 skills + orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/41 * Decompose cognitive-design skill into 3 focused skills + orchestrating agent by @lyndonkl in https://github.com/lyndonkl/claude/pull/42 ## New Contributors * @lyndonkl made their first contribution in https://github.com/lyndonkl/claude/pull/1 * @gurdasnijor made their first contribution in https://github.com/lyndonkl/claude/pull/36 **Full Changelog**: https://github.com/lyndonkl/claude/commits/0.1

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供了一套完整且高度结构化的方法论,用于从原始研究材料中推导出文档的叙事结构,解决了写作者在组织复杂材料时的核心痛点。
  • 针对特定但高价值的写作场景(如新闻报道、深度文章、研究报告),具有明确的实用性和专业深度。
  • 明确了与其他技能(如 `narrative-form-triage`, `writing-structure-planner`)的上下游关系,体现了良好的生态集成设计。
触发精准95/100

亮点

  • 触发词极其精准且丰富,涵盖了方法名称(McPhee)、核心步骤(coding pass, cold read)、关键概念(index cards, chronology vs theme)以及典型问题('what shape is this piece'),边界清晰,误触风险极低。
结构规范98/100

亮点

  • 文档结构异常清晰,包含目录、核心原则、详细工作流、双排序解析、形状目录、防护栏和快速参考,逻辑严密,易于理解和执行。
  • 提供了检查清单、具体示例、决策表格和明确的输出要求,极大增强了可操作性。
  • Frontmatter 完整,章节划分合理,内容详实但组织有序。
执行可靠92/100

亮点

  • 流程设计严谨,强调出处(provenance)、要求记录所有分歧和丢弃的卡片,并通过'脚注门控'(footnote gate)来验证 juxtaposition 的合理性,有效防止执行偏差。
  • 定义了明确的成功/失败标准和'形状契约'(shape contract),确保结果的可验证性和一致性。
  • 对常见陷阱(pitfalls)进行了详细警告,提升了用户规避错误的能力。
证据可验 (前四项均值)93/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。