From seshat
Use when auditing structured text (multi-section guides, docs, blog posts, paper drafts) for duplicated ideas, walls of prose, or broken flow between sections; when the author asks "show me, I can't see what you're telling me"; when checking whether a document teaches concepts in the order readers ask about them.
How this skill is triggered — by the user, by Claude, or both
Slash command
/seshat:socratic-methodThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Audit a multi-section text on three axes (duplication, format, flow), then render every finding as a visual before/after page the author can review at a glance. Two principles carry the whole skill:
Audit a multi-section text on three axes (duplication, format, flow), then render every finding as a visual before/after page the author can review at a glance. Two principles carry the whole skill:
<style> block from companion-template.html verbatim. Do not invent palettes, fonts, layouts, or components; the template is the design. example-companion.html is a finished page from a real audit: read it before building and match its structure and density; its content belongs to one project, so copy nothing from it.1. Inventory. Read every section. Record word counts per section (headings and footnotes excluded); note which formatting patterns the document already uses (run-ins, bullets, tables); those are house style to extend, not replace.
2. Duplication scan (findings D1..Dn). Same idea in two or more places: pick one owning home per concept; every other occurrence becomes a trim or a cross-reference. Evidence is verbatim quotes with file:line (or section:paragraph) references, duplicated phrases marked. Classify each finding by decision type, not severity:
| chip | meaning |
|---|---|
mechanical trim | pure deletion, no rewriting; apply without asking |
judgment call | defensible either way; the author decides |
leave as is | checked and cleared; stays as written (includes real repetition serving two different arguments) |
fixed by Fn/Sn | another finding resolves it for free |
leave as is is a verdict, not a suggestion. An occurrence cleared because it serves a different argument is not also offered to the author as an optional cut; offering the cut anyway reopens a decision the audit already made.
Also record deliberate non-findings (repetition you checked and cleared), so the author knows it was looked at: render them as one final card in the duplication section, idx —, chip leave as is, one line per item. The cleared card belongs to the duplication section only; a format or flow section with zero findings says so in its secsub line instead of growing a card.
3. Format upgrades (F1..Fn). Hunt walls of prose hiding several rules. Fixes, in order of preference: paragraph split; bold run-in lead; bullets; table (last resort; do not over-table). Hard rules:
For pattern recommendations beyond the document's own house style, read prose-patterns.md (bundled). Render document-dependent patterns as pattern cards and apply its conflict rule: the author's standing rules outrank the taste reference.
4. Socratic seam check (S1..Sn). For each section, write two lines: ANSWERS (the one question this section exists to answer) and ENDS RAISING (the question its final paragraph leaves the reader holding). A seam is ok when a section ends raising exactly the question the next section answers; weak only when the right question is raised but mid-section instead of at the close; mismatch when the ending points at the wrong section or at nothing. An ending that raises no question at all is a mismatch, never weak: weak means the hand-off exists, mislocated. Mismatch verdicts render with seam class bad; the template has no class named mismatch. Two fixes, in order of preference: (a) rearrange: relocate or reorder the author's existing sentences so the section closes on the right question; (b) bridge slot: when no existing sentence can close the seam, a dashed-blue placeholder describing what the bridge sentence must do, citing raw material already in the text if any exists. Never draft the bridge; the author writes it. Either fix is a judgment call and belongs in edit-order step 3: seam fixes change what a section ends on, so the author signs off even when the mechanics are a pure move. Chip wording follows the fix type, both styled judg: "rearrange — author signs off" for pure moves, "bridge — author's words" for slots.
5. Render the companion. Copy the template's <style> verbatim; assemble from its components only (size strip, section heads, D cards with quote panels, F/S cards with NOW/PROPOSED panes, question chain, optional pattern cards, edit-order steps). Every F and S finding is shown as before/after; the PROPOSED pane contains only the author's sentences rearranged, plus dashed slots. Never nest <mark> elements; mark sibling spans separately. When findings touch the same paragraph, pick one card to show the combined after-state and say so in its .note; co-located findings keep their own chips. The fixed by chip is reserved for a finding another finding resolves outright, and it applies on any axis (a D trimmed by an F's rewrite-free split, an S closed by another S's relocation). Verify rendering with a screenshot (any browser, headless is fine) before declaring done.
Small calls, settled:
<style> block always comes from the template.fixed by and judgment call both apply, fixed by wins the chip and the judgment routes through the resolving finding.hot for the sections that absorb edit work, not merely the largest.6. Edit order. Close with the steps grid: mechanical trims first, format-only moves second, judgment calls with the author third, then whatever verification the document's project requires, if any.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub visual-snow/seshat --plugin seshat