Browse Source

Sync pattern grouping and protect inline code spans

- SKILL.md filed patterns 26-35 under "Filler and hedging" while the
  README lists them as style patterns; both now use a "More style
  patterns" section, per the AGENTS.md sync rule.
- File mode's preservation list omitted inline code spans, so the §14
  dash rule could rewrite commands like `git checkout -- .` when
  humanizing a file. The list now matches AGENTS.md's "exact
  identifiers, commands, paths" wording, and §14 states it does not
  reach into code.
- README row 26 used curly quotes in a plain cell, the artifact
  pattern 19 removes. Now straight quotes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Scott Emberson 3 weeks ago
parent
commit
8997804ac2
2 changed files with 10 additions and 3 deletions
  1. 6 1
      README.md
  2. 4 2
      SKILL.md

+ 6 - 1
README.md

@@ -87,7 +87,12 @@ Humanizer follows the sample's rhythm, word choice, punctuation, and deliberate
 | 17 | **Title case in headings** | "Strategic Negotiations And Partnerships" | "Strategic negotiations and partnerships" |
 | 17 | **Title case in headings** | "Strategic Negotiations And Partnerships" | "Strategic negotiations and partnerships" |
 | 18 | **Emojis** | "🚀 Launch Phase: 💡 Key Insight:" | Remove emojis |
 | 18 | **Emojis** | "🚀 Launch Phase: 💡 Key Insight:" | Remove emojis |
 | 19 | **Curly quotes** | `said “the project”` | `said "the project"` |
 | 19 | **Curly quotes** | `said “the project”` | `said "the project"` |
-| 26 | **Too many hyphenated word pairs** | “cross-functional, data-driven, client-facing” | Keep only the hyphens grammar needs |
+
+### More style patterns
+
+| # | Pattern | Before | After |
+|---|---------|--------|-------|
+| 26 | **Too many hyphenated word pairs** | "cross-functional, data-driven, client-facing" | Keep only the hyphens grammar needs |
 | 27 | **A fake deeper truth** | "At its core, what matters is..." | State the point directly |
 | 27 | **A fake deeper truth** | "At its core, what matters is..." | State the point directly |
 | 28 | **Announcing the next point** | "Let's dive in", or "one thing that bit me" | Start with the content |
 | 28 | **Announcing the next point** | "Let's dive in", or "one thing that bit me" | Start with the content |
 | 29 | **A heading repeated below itself** | "## Performance" + "Speed matters." | Let the heading do the work |
 | 29 | **A heading repeated below itself** | "## Performance" + "Speed matters." | Let the heading do the work |

+ 4 - 2
SKILL.md

@@ -180,7 +180,7 @@ Do not ban the repeated word. Fix the repeated sentence pattern. The remaining s
 
 
 ### 14. Em and en dashes
 ### 14. Em and en dashes
 
 
-**Rule:** The final rewrite must not contain em dashes (—) or en dashes (–), unless the writer's sample uses them. Replace a dash with a period, comma, colon, or parentheses, or rewrite the sentence. Also check for spaced dashes (` — `) and double hyphens (` -- `) used as dashes.
+**Rule:** The final rewrite must not contain em dashes (—) or en dashes (–), unless the writer's sample uses them. Replace a dash with a period, comma, colon, or parentheses, or rewrite the sentence. Also check for spaced dashes (` — `) and double hyphens (` -- `) used as dashes. Do not change dashes or hyphens inside code blocks, inline code spans, commands, paths, or URLs.
 **Before:**
 **Before:**
 > The term is primarily promoted by Dutch institutions—not by the people themselves. You don't say "Netherlands, Europe" as an address—yet this mislabeling continues—even in official documents.
 > The term is primarily promoted by Dutch institutions—not by the people themselves. You don't say "Netherlands, Europe" as an address—yet this mislabeling continues—even in official documents.
 **After:**
 **After:**
@@ -290,6 +290,8 @@ Before returning the rewrite, search for `—` and `–`. Remove each one unless
 **After:**
 **After:**
 > (Cut the paragraph. End on the last concrete fact instead of a send-off. If the source states real plans, use those.)
 > (Cut the paragraph. End on the last concrete fact instead of a send-off. If the source states real plans, use those.)
 
 
+## More style patterns
+
 ### 26. Too many hyphenated word pairs
 ### 26. Too many hyphenated word pairs
 
 
 **Words to watch:** third-party, cross-functional, client-facing, data-driven, decision-making, well-known, high-quality, real-time, long-term, end-to-end
 **Words to watch:** third-party, cross-functional, client-facing, data-driven, decision-making, well-known, high-quality, real-time, long-term, end-to-end
@@ -433,7 +435,7 @@ These details often carry the writer's voice. Keep them unless they hurt the mea
 
 
 **Pasted text (default).** Return the draft, a short list of remaining AI patterns, and the final rewrite.
 **Pasted text (default).** Return the draft, a short list of remaining AI patterns, and the final rewrite.
 
 
-**File mode.** When the user names a file, run the full rewrite process but write only the final text to the file. Change prose only. Keep code blocks, YAML metadata, data, and link targets unchanged. Then give the user a short summary.
+**File mode.** When the user names a file, run the full rewrite process but write only the final text to the file. Change prose only. Keep code blocks, inline code spans, exact identifiers, commands, paths, YAML metadata, data, and link targets unchanged. Then give the user a short summary.
 
 
 **Embedded mode.** When another task uses this skill for a pull request, commit message, or document, return only the final text.
 **Embedded mode.** When another task uses this skill for a pull request, commit message, or document, return only the final text.