/flagrare:editorial-passfrom Flagrare
Reviews long-form documents holistically like a human editor, diagnosing cohesion, narrative throughline, pacing, clarity, and agent-typical noise (provenance narration, ruled-out-hypothesis residue, self-referential scaffolding, dramatized background).
Ships in Flagrare. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Agents review documents the way linters review code: one localized finding at a time, each judged against a rule, none judged against the whole. A human editor does something different. They read the document start to finish, build a running model of what it is trying to tell them, notice where that model gets confused or bored or lost, and only then descend to the line level. Most of what makes a document fail is invisible at the line level: a section that answers a question nobody has asked yet, a term that changes meaning halfway through, a middle that sags because three paragraphs repeat one idea, an ending that pays off a promise the opening never made.
This skill is that editor. It applies to any long-form document, technical or not. Do not treat a TDD and an essay as different species: humans process both through well-sequenced steps, stakes, and payoffs. It is all storytelling, and the editor's job is the same everywhere: minimize the reader's risk and mental load in getting what the document is trying to communicate. For a technical doc that means the reader can answer what are we solving, why, and how without rereading.
One boundary before anything else: this is a prose editor, not a technical reviewer. You review the writing, never the work the writing describes. Whether the schema is right, the design is sound, or the numbers hold is someone else's review; your jurisdiction is whether a reader can receive what the document says. The one exception is internal contradiction: when the document disagrees with itself, that is a writing defect and yours to flag.
Whenever a document exists and a human is going to read it: the user asks for a review, an edit, a polish, a "does this make sense" check, or a cleanup of a draft you or someone else produced. Invoke proactively after you finish drafting any long-form document, because the failure modes below are precisely the ones drafting agents introduce. For writing a document from scratch, /flagrare:write-docs owns the craft and /flagrare:tdd-writer owns TDDs; this skill is the read-and-repair counterpart and assumes a draft already exists.
The contract: produce the editorial memo first (step 5), get the author's go-ahead, then apply. Do not silently rewrite someone's document as step one.
Read the full document before writing a single note. The first read is for the felt experience, as the target reader, not as a reviewer: where did you lean in, where did attention drift, where did you have to backtrack and reread, what did you have to hold in your head unresolved and for how long. Resist the impulse to annotate on first contact. Many apparent problems resolve later in the document, and many real problems only become visible in retrospect.
When the first read ends, write one sentence: what is this document trying to communicate? That sentence is the spine. Everything else in the review hangs off it. If you cannot write the sentence, that inability is the primary finding and nothing at the line level matters yet.
The second read is diagnostic. Now you know what the document is trying to do, so the question becomes: where does it succeed at that, and where does it fall short?
Structure before flow, flow before paragraphs, paragraphs before lines. An editorial memo that opens with comma splices when the document has a broken arc wastes the author's attention. Work down through four layers:
Throughline. Does every section pay off the spine, or do some sections belong to a different document? Does the opening make a promise (a question, a stake, a hook) that the rest of the document keeps? Two cheap whole-document proxies: read only the headings in sequence and check whether a skim-reader could reconstruct the argument from them alone; then read only the first sentence of each paragraph and check whether they form a coherent chain on their own. Where either chain breaks, the structure is broken there, whatever the sentences say.
Sequencing and contextualization. A reader can only understand a sentence with what earlier sentences gave them. Walk the document asking, at each new concept, claim, or term: has the reader been given what they need to receive this, here? Context must land at the point of need, not in a glossary and not three sections late. The most common failure is curse-of-knowledge ordering: the author presents things in the order they learned them, or the order the system executes them, instead of the order a stranger can absorb them.
Pacing and proportion. Space in a document is emphasis. Does the amount of text each idea gets match its importance to the spine? The two standard failures are opposites: the load-bearing risk compressed into one six-clause sentence, and a minor mechanism sprawled across three paragraphs because the author found it interesting to figure out. Watch also for the sagging middle, where consecutive sections restate one idea in different clothes, and for repeated information (the same fact introduced twice usually means two drafts were merged and nobody reread the whole).
Consistency. One name per concept for the whole document; synonym-cycling reads as elegant variation to the writer and as a second concept to the reader. Check that numbers, claims, and terminology agree across sections, that nothing promised ("discussed below") is missing, and that tone doesn't lurch register mid-document.
These are deletion passes. Agents (and tired humans) leave all three behind, and each one is the residue of the writing process showing through the shipped document. The reader is buying the building, not the scaffolding.
Provenance narration. How the author learned a fact is research trail, not content. "As verified in ia-logic.js", "X confirmed with Y in the thread", "a design doc pointed here", "checked across code, Confluence, and Slack: no such job exists". State the fact and let it stand on its own authority; the verification happened, it just doesn't need to be narrated. Words to watch: verified, confirmed, as discussed with, per the thread, according to the doc, after checking, I looked at.
Before: Per the M1 decision doc (confirmed by the PM in the 2026-06-16 thread),
sold_outmust reset at midnight venue-local. Verified across code, Confluence, and Slack: no such reset job exists today.After:
sold_outresets at midnight venue-local, and no job does that today, so an item marked "out of stock until tomorrow" never clears.
Two exceptions, both narrow. Cite a person when their sign-off is the pending action (an approver, an owner of an open decision), never as attribution for a fact. Keep the method when the method is the claim: a benchmark result is inseparable from how it was measured.
Ruled-out residue. Agents keep a record of the negative space around what they proved: "we confirmed the reconcile is not the cause", "this turned out to be a red herring", "no changes are needed to the serve path (verified)". The investigation needed those steps; the reader almost never does. A dead branch earns its sentence only if a future reader would plausibly walk into the same dead end and redo the work, and then it gets one line, placed exactly where that reader would start digging, not a section of its own. Everything else: keep the positive conclusion, delete the anti-thesis. "The feature is a write path; reads already work" is one sentence doing the job an entire "what needs no change (verified)" section was doing.
Self-referential scaffolding. The document talking about itself as a draft: "this corrects an earlier note", stale [NEEDS VERIFICATION] markers on things since verified, resolved questions kept as struck-through entries with "resolved:" annotations, a closing "verification summary" listing every source checked. A settled decision is not a question: state the choice once, where it lives, and delete the deliberation. If everything under a heading got resolved, cut the heading rather than write "N/A". The tell that this category is present: the document got longer on the pass that resolved things. Later passes should subtract.
Dramatized background. Writing that argues for what the reader only needs to accept. Three tells: an illustration of a concept the room already holds ("a 'Hamburger' is one fixed thing with no 'choose your sauce'"); a stakes sentence selling why the work matters ("customization is what makes a real menu"), when the document's existence already establishes that; and a causal chain walked step by step where only its conclusion is used downstream ("the only writer is the POS sync; manual partners have no POS; therefore they cannot author"). Assert the fact at the reader's altitude and move on; state the mechanism once, where it is load-bearing, not in the intro. The boundary that keeps this cut from gutting real context: context is for decisions, assertion is for background. Anything the reader must judge keeps its full ingredients (the current behavior, the fork, the stakes); anything the reader must merely accept to keep reading gets one plain sentence. The per-sentence test: if deleted, does the reader make a wrong decision, or just feel less escorted? Wrong decision, keep. Less escorted, cut.
A separate lens over the same text, hunting four things: jargon a fresh reader can't decode, sentences too compressed to unpack in one breath, phrases that sound technical but say nothing ("holds by construction", "by design", "leverage this"), and convoluted phrasing, meaning sentences nobody would say out loud. Convoluted phrasing includes a fragment like "down from 30" tacked onto the end, a modifier that can attach to the wrong word ("report a member for 14 days" reads like the report lasts 14 days), and a noun pile where a verb should be. Rewrite each one plainly ("partners now have 14 days to report a member (it was 30)"). This is a hard rule, not a style preference: flag every instance, titles and headings first. Define internal jargon at first use, inline, in the same sentence; calibrate to a new hire who knows the field generically but not this corner of it. Give the densest, most important paragraph the most room: break it into beats, one idea per sentence, cause before effect. The test is reading aloud: any clause you can't say in one breath, or any term the new hire would stop to look up, is a rewrite.
Clarity is not simplification. When the accurate explanation needs the actual data model, use the actual data model; the sin is making the reader do the unpacking, not the presence of detail. Density is fine where content is genuinely parallel reference material (a column list, an appendix, an error table). That's scannable by design; don't prose-ify it.
Illustration. A reader can't receive a claim about something they can't see. List every existing system, screen, file and flow the document names, and check each one at its first mention: is it linked, and if it is a screen, is it shown? Flag named screens with no screenshot, references with no link (or a code link not pinned to a commit), flows narrated across a paragraph that a diagram would carry, and a proposed UI described only in words. Missing screenshots become visible [TBD: screenshot of X] anchors in the apply step, never invented images or mockups passed off as real. /flagrare:write-docs ("Show what you name") has the moves for fixing them. This stays a reading check: whether the image is there and helps the reader, not whether the screen it shows is well designed.
Report before rewrite. The memo, in this order:
[TBD: ...] anchor, never invented content); and judgment calls that belong to the author (cuts that trade completeness for pace, register choices).The memo is itself a document someone reads, so it obeys its own rules. Don't narrate your procedure ("I read it twice, per the skill"), don't report checks that came back clean ("no em-dashes found"), don't pad it with everything you looked at. State findings; silence is the report for everything that passed.
Then stop and let the author respond. When they approve, apply. For structural problems prefer rewriting the document fresh over patching sentences in place: framing decisions are baked into sentence structure, and polish cannot fix a paragraph that shouldn't exist. Leave the prior version on disk for diffing.
Compression and rephrasing can silently change meaning. After the rewrite, re-check every claim whose wording changed against its source (the code, the data, the referenced doc), then read the final document start to finish one more time as a stranger. For high-stakes documents, the strongest check available is a fresh reader with no context: hand the document alone to a subagent and ask what's ambiguous, what knowledge it assumes, and whether anything contradicts itself. What confuses the context-free reader will confuse the real one.
Localized-only review. Jumping straight to line edits without ever forming the spine sentence. If your review could have been produced by concatenating per-paragraph reviews, you didn't read the document, you scanned it.
Rewriting into your own voice. The goal is the best version of this document by this author. When a change would alter meaning or intent, query instead of overriding: "did you mean X? a reader may take this as Y." Learn the difference between "this author always does X" (voice) and "this author accidentally did X here" (error).
Nit-first memos. Leading with typos and comma splices while the structural problem goes unnamed. One-off mechanical errors get fixed silently in the apply step; a recurring sentence-level pattern (comma-splice chains, over-compression, synonym cycling) is a real finding and earns its place in the memo, after the structural ones. Spend the memo on what only an editor can see.
Playing technical reviewer. Drifting from the text into the work: critiquing the schema, the architecture, the query plan, the estimate. However right you are, it's out of jurisdiction and it crowds the memo the author came to for a read on the writing. Flag internal contradictions; leave design review to the design reviewers.
Deleting load-bearing negatives. The ruled-out pass has a purpose test, not a blanket ban. An RCA's "we ruled out the deploy" can be the one line that stops the next on-call from repeating a four-hour dead end. Cut residue, keep insurance.
Cosmetic completeness. Filling a gap with plausible invented content so the document looks finished. A visible [TBD] is honest and actionable; fabricated filler is a landmine.
Em-dashes. House rule, enforced by hooks: never introduce one, and flag any you find. Commas, colons, parentheses, or two sentences.
Letting convoluted phrasing through. Also a house rule. A sentence the reader has to untangle is a finding even when it's grammatical and accurate. Your own rewrites have to pass the same test: say it the way a person would say it to a coworker. See /flagrare:write-docs ("Say it plainly").
Mechanism before impact. Also a house rule. When a piece opens with how the system works and leaves what happens to people for later, or sums up its examples ("some emails", "several endpoints") instead of naming them, that's a finding. The reader has to do the work of figuring out why it matters. Rewrite it to lead with the effect on a person, name the cases, and keep each sentence to one idea. See /flagrare:write-docs ("Communicate, don't impress").
/flagrare:write-docs teaches the writing craft this skill inspects for (reader's situation, classic style, context at point of need). Reach for it when the fix is "rewrite this section", not just "cut this noise"./flagrare:tdd-writer owns TDD authorship and carries the Restraint rules this skill generalizes; for a TDD, run it for template conformance and this skill for the read./flagrare:playbook owns step-by-step guides for ops teams. When reviewing one, bias toward cutting and never turn its lists back into prose./flagrare:ticket-creator and /flagrare:open-pr produce the short-form documents; the same noise categories apply there at smaller scale.The skill distills a June 2026 TDD review where the author's feedback converged on one insight: the drafting agent had been reproducing its own exploration trail instead of writing for the reader. The document was factually impeccable and exhausting to read, full of who-confirmed-what, sections proving what didn't need to change, and resolved questions preserved as strikethroughs. The fix was never more rules about sentences. It was reading the whole thing the way its reader would, asking what each piece contributed to what/why/how, and cutting everything whose only audience was the author. The document got shorter, and better, on every pass after that.
The review procedure itself is grounded in a survey of the published skills ecosystem (docs/research/2026-07-03-editorial-pass-prior-art.md): the two-read protocol and large-to-small order of attention come from fiction editing practice, the fresh-reader verification from Anthropic's doc-coauthoring skill, and the noise categories are named here because nothing in the ecosystem had named them.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
document-review, editing, prose-editor, writing-quality, coherence-check
npx claudepluginhub flagrare/agent-skills --plugin flagrare43 skills in this plugin
/atdd-planProduce an ATDD-first implementation plan in Claude Code's native plan mode, with named design patterns called out where they earn their keep. The skill enters plan mode automatically (via the EnterPlanMode tool), runs /flagrare:codebase-explore to ground the plan in the actual codebase, then produces a plan-mode plan that MUST include both: (1) 3-5 acceptance tests in plain English defining 'done' before any implementation, written behavior-first against the public API only; and (2) any non-trivial structural decisions named as design patterns with a one-line rationale. Plan mode's native approve/edit/reject button UI is the close, ExitPlanMode is how the skill ends. Use whenever the user wants to plan a feature, fix, or refactor, 'how should we implement X', 'plan this', 'let's design X', 'where do we start on Y'. Tests follow Kent Dodds Testing Trophy: behavior over implementation, integration-heavy, public-API-only, refactor-proof. The skill stops at the plan; it does not write implementation code./brag-docGenerate a comprehensive, impact-framed brag-doc entry for a chosen time window (day, week, biweek, month, or custom). Pulls authored PRs, reviews given, commits, deploys, and linked tickets across GitHub, local git, and configured MCPs, then synthesises a themed narrative, leading with outcomes, quantifying impact, owning the work in first-person past tense, separating IC contributions from amplification, and naming the judgment exercised. Output is designed to drop straight into a developer journal, a personal bragging sheet, or a performance-review packet. Accepts a mode argument, `/flagrare:brag-doc resumancer` renders the output as ready-to-paste Resumancer CLI commands (`resumancer impact "..." --branch ...`) instead of markdown. Use whenever the user says "brag doc", "brag sheet", "what did I do this week", "weekly recap", "monthly recap", "performance review prep", "what should I tell my manager", "summarise my impact", "career log entry", "give me my wins", "biweekly recap", or any variant about looking back over a longer window than a single day's standup. Also trigger near review season ("self-review", "perf packet", "evaluation prep"), and on phrases like "log my wins to resumancer" or "make resumancer entries for this week" (which should pass the `resumancer` mode). For windows longer than about a month, a tenure retrospective, a departure record, or "everything I did at this company", hand off to `/flagrare:impact-timeline` instead; this skill's window tops out at a month.Other plugins' skills for the same job