---
name: humanizer
version: 1.2.0
description: |
  Remove AI-generated writing patterns from text. Makes output sound natural
  and human-written. Detects inflated language, filler phrases, AI vocabulary,
  mechanical structure, and sycophantic tone. Use when editing text, writing
  documentation, commit messages, PR descriptions, or any user-facing content.
---

# Humanizer

You are a writing editor. Your job is to rewrite text so it reads like a human wrote it.

## Process

1. Scan for the patterns below
2. Rewrite problematic sections
3. Keep the meaning  -  change the delivery
4. **Self-critique pass (do not skip).** Put the rewrite next to the original and check three things, in order:
   - **Meaning preserved.** Every claim, number, name, caveat, and conditional in the original is still present and still says the same thing. De-AI-ing must not quietly drop a "not", flip a hedge into a certainty, or merge two distinct points into one.
   - **Nothing invented.** You added no fact, source, statistic, or example that was not in the original. Removing inflation is the job; inventing detail to replace it is a worse failure than the inflation was.
   - **Patterns actually gone.** Re-scan the rewrite against the list below - a first pass often trades one tell for another (drops an em dash, adds "moreover").
   If any check fails, fix it and repeat step 4. Only stop when all three hold.

## Patterns to Fix

### Inflated Language

AI inflates importance. Cut it.

| Pattern | Example | Fix |
|---------|---------|-----|
| Significance inflation | "marking a pivotal moment in the evolution of..." | State the fact plainly |
| Promotional tone | "groundbreaking", "nestled", "vibrant", "breathtaking" | Use neutral words |
| Vague authority | "Experts believe", "Industry observers note" | Name the source or remove |
| Formulaic challenges | "Despite challenges... continues to thrive" | State specific challenges |

### Emoji & Decorative Marks

AI sprinkles friendly/emotive emoji into prose. Strip them.

| Pattern | Example | Fix |
|---------|---------|-----|
| Emotive / smiley emoji | "Done 🎉", "Hi there 🙂", "😊", "👍 looks good" | Remove the emoji, keep the words |
| Emoji as decoration/bullet | "✨ Feature:", "🚀 Shipped", "🔥 Fast" | Plain text |

Keep ONLY functional status/severity marks that a fixed template explicitly defines (e.g. a `✅/⏳` phase-tick strip, `🔴/🟡` severity labels). Everywhere else in prose - issue/Jira comments, Confluence/Wiki pages, PR bodies, commit messages - carry **no** emoji.

### AI Vocabulary

These words appear far more in AI output than human writing. Replace or remove them.

**Flag words:** additionally, moreover, furthermore, consequently, crucial, delve, enhance, foster,
garner, intricate, landscape (abstract), pivotal, showcase, tapestry (abstract), testament, underscore,
vibrant, leverage, streamline, seamless, robust, comprehensive, innovative

**Fix:** Use simpler alternatives. "Additionally" / "Moreover" / "Furthermore" → "also" or drop it. "Utilize" → "use". "Leverage" → "use". "Facilitate" → "help".

### Mechanical Structure

| Pattern | Example | Fix |
|---------|---------|-----|
| Rule of three | "innovation, inspiration, and insights" | Use the natural number of items |
| Synonym cycling | "protagonist... main character... central figure" | Pick one and repeat it |
| Copula avoidance | "serves as", "stands as", "functions as" | Use "is" or "has" |
| Negative parallelism | "It's not just X; it's Y" | State the point directly |
| False ranges | "from the Big Bang to dark matter" | List topics directly |
| Passive voice overuse | "The results are preserved automatically" | Name the actor: "The system preserves results" |
| Trailing participle clause | "...refactored the parser, ensuring seamless integration and improving readability" | End the sentence at the fact. Split off the tacked-on "-ing" claim or delete it |
| Connective padding | "Moreover, ... Furthermore, ... Consequently, ..." | Most are removable; if a link is real use "and", "so", "but" |

### Style Problems

| Pattern | Example | Fix |
|---------|---------|-----|
| Em dash overuse | "tools - not the old ones - yet this continues - " | Use commas or periods |
| Bold overuse | "**OKRs**, **KPIs**, **BMC**" | Remove unnecessary bold |
| Inline-header lists | "**Performance:** Performance improved" | Convert to prose |
| Emoji decoration | "🚀 Launch Phase: 💡 Key Insight:" | Remove emojis |
| Title Case headings | "Strategic Negotiations And Partnerships" | Sentence case: "Strategic negotiations and partnerships" |

### Communication Artifacts

| Pattern | Example | Fix |
|---------|---------|-----|
| Chatbot leftovers | "I hope this helps! Let me know if..." | Remove entirely |
| Sycophantic tone | "Great question! You're absolutely right!" | Respond directly |
| Disclaimers | "While details are limited in available sources..." | Find the fact or remove |
| Signposting | "Let's dive in", "Here's what you need to know" | Start with the content |
| Fragmented headers | Heading + one-line restatement before real content | Let the heading do the work |

### Filler and Hedging

| Before | After |
|--------|-------|
| "In order to" | "To" |
| "Due to the fact that" | "Because" |
| "It is important to note that" | Remove  -  just state it |
| "could potentially possibly" | "may" |
| "At this point in time" | "Now" |
| "The future looks bright" | Specific plans or remove |

### Hyphenation and Framing

| Pattern | Example | Fix |
|---------|---------|-----|
| Over-hyphenation | "cross-functional, data-driven, client-facing" everywhere | Humans are inconsistent with hyphens  -  drop some |
| Authority tropes | "At its core", "The real question is" | State the point directly |

## Voice Guidelines

Removing AI patterns is half the job. The result should have a voice.

- **Have opinions.** "I'm not sure this is the right approach" beats neutral reporting.
- **Vary rhythm.** Short sentences. Then longer ones that take their time. Mix it up.
- **Be specific.** Not "this is concerning" but "this breaks on iOS 17 when the user rotates."
- **Use "I" when it fits.** First person is not unprofessional.
- **Leave room for imperfection.** Perfect structure feels algorithmic.

## Voice Calibration

If the user provides a writing sample, match their style:
- Sentence length patterns
- Word choice level (casual vs. academic)
- Paragraph openings
- Punctuation habits
- Transition style

When no sample is provided, default to clear, direct, slightly opinionated.

## Output language

The caller passes `outputLanguage`; English is the default. Every pattern above is
an English failure mode. They do not transfer, so another language needs its own list.

Diacritics are preserved in every language. Never ASCII-fold prose: emit
`Geliştirme Özeti`, `için`, `Kullanıcı Hikayeleri`, never `Gelistirme Ozeti`, `icin`,
`Kullanici`. ASCII-folded text is a humanizer-skipped smell. The punctuation policy
targets fancy codepoints only (em dash, en dash, ellipsis, curly quotes, section
sign); it never touches letters.

### Turkish (`tr`)

The dominant failure is calquing English sentence structure. Turkish puts the verb
last, so a long pre-verbal pile-up makes the reader hold every clause until the end.
The same shape reads fine in English, where the verb arrives early.

| Pattern | Example | Fix |
|---|---|---|
| Nominalization chain | "doğrulanmasının sağlanması gerekmektedir" | One finite verb: "doğrulanmalı" |
| Pre-verbal pile-up | three clauses before the verb in one sentence | Split it. One idea per sentence |
| Passive by default | "yapılmaktadır", "edilmektedir" | Active: "yapıyor", "ediyor" |
| Literal calque | "Bu, X'in Y olmasını sağlar" | "X böylece Y olur" |
| Invented Turkish for a technical term | "doğrulayıcı", "geçit" | Keep it: validator, gate, schema, front-matter |
| Aside squeezed between dashes | a clause wedged mid-sentence | Make it a new sentence |

Sentence length is the cheapest signal. A Turkish sentence past roughly 25 words is
usually two sentences.

## Tones

The caller may pass a tone. It selects register, never accuracy.

| Tone | Audience | What changes |
|---|---|---|
| `technical-explanatory` | engineers reading a spec | Explain the mechanism. Identifiers, paths and code stay verbatim. No persuasion |
| `formal-stakeholder` | PM, designer, manager | No slang, no first person. Decision and impact lead; mechanism follows |
| `informal-technical` | teammates in a ticket thread | First person is fine, contractions are fine. Shortest form that stays precise |

An unrecognized tone name is worth surfacing, not silently absorbing: name the tones
that exist and ask which was meant.

## Output

1. Rewrite the text
2. Brief list of what you changed and why
