From deal-output
Runs a comprehensive quality and formatting check on Pattern Word documents (.docx) and Pattern investment PPTX decks after they are created. Checks brand formatting, content quality, structural logic, table integrity, header/footer, page numbers, and narrative flow. AUTO-RUNS after any pattern-docx or pattern-investment-pptx output is produced — do not wait to be asked. Also triggers when Ian says "check this", "QA this", "review this doc", "proof this", "quality check", "run a check on this", "does this look right", or "is this ready". Always produces a severity-rated inline issue list with exact locations. Never auto-fixes — list issues only and let Ian decide what to fix.
How this skill is triggered — by the user, by Claude, or both
Slash command
/deal-output:doc-quality-checkerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are running a post-production quality audit on a Pattern document. Your job is to catch
You are running a post-production quality audit on a Pattern document. Your job is to catch every formatting deviation, content error, structural problem, and brand violation before the document reaches an external audience. Read this entire file before beginning any check.
This skill auto-runs after any output from pattern-docx or pattern-investment-pptx. It can also be invoked manually on any existing Pattern document.
Before running any checks, identify what you are auditing:
Type A — Pattern Word Document (.docx) Load the brand spec:
Read: /mnt/skills/user/pattern-docx/SKILL.md
Focus sections: Step 3 (Brand Constants), Step 4 (Paragraph Types), Step 6 (Table Styles), Step 9 (Critical Rules).
Type B — Pattern Investment PPTX Deck Load the brand spec:
Read: /mnt/skills/user/pattern-investment-pptx/SKILL.md
Focus sections: Step 3 (Brand Constants), slide dimension rules, no-fly zone margins, font rules, chart and table specs.
If auditing both in one session, load both specs before proceeding.
Every issue found is assigned one of three severity levels. This determines how urgently it must be resolved before the document is used externally.
| Severity | Label | Meaning |
|---|---|---|
| Critical | 🔴 CRITICAL | Brand violation, factual error, broken reference, or missing required element. Document should not be sent until resolved. |
| Warning | 🟡 WARNING | Formatting inconsistency, weak content, or structural issue that degrades quality but doesn't break the document. |
| Minor | 🔵 MINOR | Polish item — small spacing issue, word choice, or style deviation that is noticeable up close but doesn't affect readability. |
Run all five check categories in order. Report every issue with its exact location: paragraph number, section name, or table identifier.
Cross-reference every text element against the brand constants in pattern-docx SKILL.md Step 3.
Fonts:
Wix Madefor Display — flag any Arial, Calibri, Times, or system fontWix Madefor Display SemiBold — flag if using regular weight or bold:trueWix Madefor Display SemiBold — flag if bold:true is set insteadWix Madefor Display SemiBold — flag regular weight in header rowsColors:
4280F4 — flag any deviation3A00FD — flag any deviation000000 — flag colored body text that isn't a deliberate callout0F4761 — flag if Body Note paragraphs use a different color0F4761 — flag any other fill color in header rowsF2F2F2 / FFFFFF — flag inconsistent alternationC00000 — flag approximate redsC55A11 — flag approximate oranges375623 — flag approximate greensSpacing and margins:
pageBreakBefore: false — flag if first section starts on page 2pageBreakBefore: true — flag any H1 that doesn't start a new pagePage numbers:
Agenda / Table of Contents (if present):
[page number] | Page — flag any deviation[Document Title], [Date], etc.)For every table in the document:
0F4761 with white (FFFFFF) SemiBold textFFFFFF / F2F2F2 — flag broken alternation patternD9E2F3 fill with SemiBold textDDDDDD[Insert X], TBD, [Date], [Company Name])$2.3B not $2,300M; 34% not 0.34March 2026 or Mar 2026 or 3/2026)Draft artifact language check — 🔴 CRITICAL for any IC-distribution document:
These patterns indicate internal analytical scaffolding that was not cleaned before distribution. Each is a CRITICAL issue — they signal to an external reader that the document is a working draft, not a final deliverable.
v[N] adds: [list] or
v[N] incorporates: [list] → should be distribution metadata only:
[Month Year] · [Team name] · CONFIDENTIAL · For IC DistributionMEMORANDUM — v4, Memo v5 →
strip to INVESTMENT COMMITTEE MEMORANDUM for distribution(NEW v4), — v4 (15 Failure Modes),
(updated from v3) → remove entirely; the section title stands alonePre-mortem addition: or Pre-mortem addition — prefix →
rewrite as substantive label describing what the finding isPre-mortem update:, Pre-mortem note:, or [Analysis pass] adds
→ remove prefix; integrate substance into analytical paragraphFM1, FM2, v4 NEW, (FM9, v4 NEW) →
use the named finding directly: "Silent Credit Cliff" not "FM1"Compound Path 1 (NEW v4),
Compound Path 3 (updated from v3) → remove version suffixThe distribution-readiness test: Read the cover, every section header, and every sentence that begins a paragraph. If any phrase would prompt an IC member to ask "what is v4?" or "what pre-mortem?" without context, that phrase has failed.
Internal number consistency check — 🔴 CRITICAL for any deal memo:
An IC memo fails instantly when the same metric appears with different values in different sections. The pre-mortem skill's Section 6 ↔ Section 7 Reconciliation should have caught these before delivery, but this check is the final backstop.
The internal-consistency test: For every numeric claim that appears more than once in the document, verify: (a) same value, (b) same units, (c) same period label (FY2025 vs. FY2029E), (d) same basis (gross vs. net, platform vs. group). Flag every variance at 🔴 CRITICAL.
Run all five check categories in order. Report every issue with its exact slide number and element (e.g., "Slide 4, chart title" or "Slide 7, table row 3").
Cross-reference against pattern-investment-pptx SKILL.md Step 3.
Slide dimensions:
Fonts:
Wix Madefor Display or Wix Madefor Display SemiBoldColors:
FFFFFF) background — flag any colored content slide background3A55FF) used for accents and highlights only — flag overuse009BFF) used for charts and secondary accents — flag misuseNo-fly zones:
Layout integrity:
[Insert X], [Source], [Date], Click to add text)$2.3B, 34%, 2.4× — flag mixing of formatsCharts:
Tables:
"Competitive Landscape""Market consolidating around two players — white space in mid-market"Output a single inline issue list immediately after completing all checks. Do not produce a separate document — the report lives in chat.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
QUALITY CHECK REPORT — [Document name]
[Document type] · Checked [date]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SUMMARY
🔴 Critical: [X] issues
🟡 Warning: [X] issues
🔵 Minor: [X] issues
Total: [X] issues
[If zero issues across all categories:]
✅ No issues found. Document meets Pattern quality standards.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ISSUES BY CATEGORY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[CATEGORY NAME]
──────────────
🔴 [Location] — [Specific issue description]
Fix: [Exact corrective action]
🟡 [Location] — [Specific issue description]
Fix: [Exact corrective action]
🔵 [Location] — [Specific issue description]
Fix: [Exact corrective action]
[Repeat for each category that has issues. Skip categories with zero issues.]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MOST URGENT FIX
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[The single most important issue to resolve before this document is used externally.
One sentence. Direct.]
Use these exact location formats — never vague references:
| Document type | Location format |
|---|---|
| Word — body text | Section "[H1 name]", paragraph [N] |
| Word — heading | H1/H2 heading: "[heading text]" |
| Word — table | Table [N] (under "[section name]"), row [N], column "[header name]" |
| Word — header | Page header |
| Word — footer | Page footer |
| Word — agenda | Agenda, row [N]: "[item name]" |
| PPTX — slide title | Slide [N] title |
| PPTX — body text | Slide [N], text box [N], line [N] |
| PPTX — chart | Slide [N], chart: "[chart title]" |
| PPTX — table | Slide [N], table row [N], column "[header name]" |
| PPTX — footnote | Slide [N], footnote |
After delivering the issue report:
The check itself must meet these standards:
This skill defers to the brand specs in:
pattern-docx SKILL.md — for all Word document brand rulespattern-investment-pptx SKILL.md — for all PPTX brand rulesIf either skill has been updated with new rules since this skill was last installed, those updated rules take precedence over anything hardcoded here. Always load the source skill spec before running checks — never rely on memory of brand rules.
npx claudepluginhub ian-lawrence423/claude-skills --plugin deal-outputProvides a checklist for code reviews covering functionality, security, performance, maintainability, tests, and quality. Use for pull requests, audits, team standards, and developer training.