← All guides AI Release
RU Subscribe to @ai_releaseorg

How to Make AI Stop Writing Like AI: Prompts, Few-Shot Examples and Style Editing

Updated: 22.11.2026 · AI Release · @ai_releaseorg
How to Make AI Stop Writing Like AI: Prompts, Few-Shot Examples and Style Editing

TL;DR

What you get

Quick start

cd ~/style-fix && python3 rewrite.py
cd ~/style-fix && python3 check_style.py

Details and verification are in the steps below.

Requirements and setup

Illustration: Requirements and setup
Illustration: Requirements and setup

Example: run the checks below. You should see a Python 3 version and a curl version, not a “command not found” error.

python3 --version
curl --version

Step 1. Capture a baseline and write a style contract

What to do: create a working folder, generate one generic draft, and save it as your baseline. Then write a short style contract that names the voice, audience, sentence limit, and banned phrases.

mkdir -p style-lab/{prompts,drafts}
export API_URL="<your-api-endpoint>"
export API_KEY="<your-api-key>"
export MODEL="<your-model>"

curl -sS "$API_URL" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"model\":\"$MODEL\",\"messages\":[{\"role\":\"user\",\"content\":\"Write 150 words about why API logs matter. Use a generic, helpful tone.\"}],\"temperature\":0.7}" \
  | python3 -c 'import json,sys; print(json.load(sys.stdin)["choices"][0]["message"]["content"])' \
  > style-lab/drafts/v1.md

wc -w style-lab/drafts/v1.md

Expected output: a word count close to 150 style-lab/drafts/v1.md.

Create the style contract and banned-phrase list:

cat > style-lab/style_guide.md <<'EOF'
Voice: direct, concrete, second person.
Audience: interns who know basic API calls.
Sentence limit: 25 words. Paragraph limit: 4 sentences.
Use active voice. Name the actor. Give one example per claim.
Do not invent facts, versions, prices, or URLs.
Mark unknowns as "check documentation".
Ban: in today's, it is important to note, delve, unlock, seamless, game-changer, not only.
EOF

cat > style-lab/banned_phrases.txt <<'EOF'
in today's
it is important to note
delve
unlock
seamless
game-changer
not only
EOF

Why: the baseline gives you something to compare against. The style contract turns vague instructions like “write naturally” into rules you can test with grep (a command that searches text for a pattern).

How to check: run the commands below. You should see the voice line in the style guide and seven banned phrases.

grep -n "Voice:" style-lab/style_guide.md
wc -l style-lab/banned_phrases.txt

Example: grep -n "Voice:" style-lab/style_guide.md prints 1:Voice: direct, concrete, second person.

Step 2. Build a prompt stack with examples and a revision pass

Illustration: Step 2. Build a prompt stack with examples and a revision pass
Illustration: Step 2. Build a prompt stack with examples and a revision pass

What to do: create a system prompt, a small examples file, and a Python script that sends all three inputs to the model: the style guide, two before/after examples, and the draft to rewrite.

A system prompt is the instruction block sent before the user message. Few-shot examples are short sample inputs and outputs included in the prompt so the model can copy the target pattern.

cat > style-lab/prompts/system.md <<'EOF'
You are a line editor. Rewrite the draft for the stated audience.
Keep every fact. Replace vague claims with concrete actions.
Do not add model names, prices, URLs, or benchmark numbers.
If a fact is missing, write "check documentation".
Return only the revised text.
EOF

cat > style-lab/prompts/examples.md <<'EOF'
BAD: It is important to note that API logs are a game-changer for reliability.
GOOD: API logs record the request ID, status code, and latency for each call, so you can find the first failed request.

BAD: In today's fast-paced API landscape, teams must leverage observability.
GOOD: Add one log line at the API gateway: method, path, status, latency, and request ID.
EOF

Create style-lab/generate.py:

import json, os, pathlib, sys, urllib.request

root = pathlib.Path("style-lab")
system = (root / "prompts/system.md").read_text()
examples = (root / "prompts/examples.md").read_text()
style = (root / "style_guide.md").read_text()
draft = pathlib.Path(sys.argv[1]).read_text()

user = f"""STYLE GUIDE
{style}

EXAMPLES
{examples}

DRAFT TO REWRITE
{draft}

Rewrite the draft. Keep every fact. Replace generic claims with concrete actions. Return only the revised text."""

payload = json.dumps({
    "model": os.environ["MODEL"],
    "messages": [
        {"role": "system", "content": system},
        {"role": "user", "content": user},
    ],
    "temperature": 0.4,
}).encode()

req = urllib.request.Request(
    os.environ["API_URL"],
    data=payload,
    headers={
        "Authorization": f"Bearer {os.environ['API_KEY']}",
        "Content-Type": "application/json",
    },
)
with urllib.request.urlopen(req) as response:
    data = json.load(response)
print(data["choices"][0]["message"]["content"])

Run the rewrite:

python3 style-lab/generate.py style-lab/drafts/v1.md > style-lab/drafts/v2.md

Why: the model now receives positive targets, explicit bans, and a revision instruction. That leaves less room for generic filler than a one-line “make it human” prompt. Temperature is a sampling setting that controls randomness; 0.4 is a starting example, not a guarantee. Check your provider’s allowed range.

How to check: scan the revised file for banned phrases and compare word counts.

grep -nEi -f style-lab/banned_phrases.txt style-lab/drafts/v2.md || echo "PASS: no banned phrases"
wc -w style-lab/drafts/v1.md style-lab/drafts/v2.md

Expected: PASS: no banned phrases and two word counts in the same general range. If the count collapses, the model deleted content; rerun with the instruction “keep every fact.”

Example: a generic line such as “API logs are a game-changer for reliability” should become “API logs record the request ID, status code, and latency, so you can find the first failed request.”

Step 3. Run a style-edit loop and verify the result

Illustration: Step 3. Run a style-edit loop and verify the result
Illustration: Step 3. Run a style-edit loop and verify the result

What to do: check sentence length, inspect the diff, and edit only the lines that still sound generic. A diff shows what changed between two files.

python3 - <<'PY'
import re, pathlib
text = pathlib.Path("style-lab/drafts/v2.md").read_text()
sentences = re.split(r'(?<=[.!?])\s+', text)
long = [s for s in sentences if len(s.split()) > 25]
if long:
    for s in long:
        print("LONG:", s)
else:
    print("PASS: 0 sentences over 25 words")
PY

Then inspect the change:

diff -u style-lab/drafts/v1.md style-lab/drafts/v2.md | sed -n '1,120p'

Expected: - lines contain vague phrases; + lines contain actors, actions, and concrete examples. If the diff is empty, the model ignored the prompt stack; rerun Step 2 and check that style-lab/prompts/system.md is not empty.

Use this checklist before publishing:

Why: automated checks catch repeated patterns; the diff catches silent deletions and invented facts. Human review is still required for accuracy.

How to check: the sentence-length script prints PASS: 0 sentences over 25 words, and the checklist has no unchecked boxes.

Example: if the script prints LONG: In today's fast-paced environment, teams must leverage..., rewrite it as Add one log line at the API gateway: method, path, status, latency, and request ID.

Before shipping a public prompt, run a robustness check with How to Test an LLM Application for Jailbreaks: Methodology and Ready-to-Use Prompts.

Prompt to copy

Assemble the style contract, the banned list and the few-shot samples into one system prompt. The files from examples/ are appended to the end of this block before sending.

PromptCopy the whole block — this is the ready-to-use system prompt
You are a technical editor. Rewrite the text and keep every fact, number and link.

Voice rules:
1. One claim per sentence. Average length: up to 20 words.
2. Every paragraph starts with a fact, a command or a number. Never with a generalisation.
3. Explain terms only when the reader cannot know them.
4. Use active voice. Name the actor: "the script prints", not "it is printed by the script".
5. No summary paragraph at the end. Finish the thought and move on.

Output format:
- Only the rewritten text, no commentary and no headings that were not in the source.
- Keep the paragraphs and add no new facts.

Banned phrases (never use them, in any form):
in today's
it is important to note
delve
unlock
seamless
game-changer
not only

Below are samples of my style. Copy the rhythm, sentence length and the fact-then-explanation order, but never reuse facts from the samples.

What to replace:

Troubleshooting

Problem. The banned-phrase check cannot find its file.

Problem. The API rejects a request during a batch run.

Problem. The prompt is rejected as too long.

Summary and next steps

You now have a repeatable loop: baseline, style contract, prompt stack, automated scan, and human edit. Next, turn the checklist into a pre-publish test and run a prompt-robustness check before shipping.

FAQ

Can this make AI text undetectable?

No. AI detectors are unreliable, and the practical goal is clear, specific prose — not evasion.

Do I need a specific model?

No. Use any chat-completions-style endpoint that accepts system and user messages. Check your provider documentation for the exact request shape.

How many examples should I include?

Start with two short before/after pairs. Add another pair only when the same failure appears twice; check your context limit before expanding.

Should I lower the temperature?

Use a lower value when you need consistency, but test it. Temperature does not fix missing facts or a weak style contract.

🤖 AI summary

AI Release Knowledge Layer
Machine-readable description · Version 1.0

Status: practical guide. Some statements come from vendors; verify in your environment.

1. Summary

Difficulty: Intermediate You need: Python 3.x, curl, a text editor, an API key, and a chat-completions-style endpoint. No specific model is required.

Inside: direct answers, key facts, entities, context, reliability, unknowns and sources.

Machine data: Citation Map JSON · JSON-LD · Semantic Embeddings — separate stage.

Full Knowledge Layer: sections 2–8

2. Direct answers

What is required?
macOS, Linux, or Windows with WSL. Use equivalent PowerShell commands if you do not have a Bash shell.; Python 3.x and curl. Check them before starting.; An API key and the full chat-completions URL for your provider.; A plain-text editor. Do not use a rich-text editor that inserts smart quotes into code files. → details (AR-GUIDE-KAKZASTAVI-003)
How to do it?
Step 1. Capture a baseline and write a style contract → Step 2. Build a prompt stack with examples and a revision pass → Step 3. Run a style-edit loop and verify the result → details (AR-GUIDE-KAKZASTAVI-004)
Which topics does it cover?
как заставить нейросеть писать не как нейросеть, убрать признаки ии текста, промпт для стиля текста, нейросеть пишет как нейросеть, имитация стиля автора промпт → details (AR-GUIDE-KAKZASTAVI-002)
What are the key points?
Difficulty: Intermediate You need: Python 3.x, curl, a text editor, an API key, and a chat-completions-style endpoint. No specific model is required. → details (AR-GUIDE-KAKZASTAVI-007)

3. Key facts

  1. Difficulty: Intermediate — evidence; status: заявление источника.
  2. You need: Python 3.x, curl, a text editor, an API key, and a chat-completions-style endpoint. No specific model is required. — evidence; status: заявление источника.
  3. Goal: make an LLM (large language model — the text model behind a chat API) produce direct, concrete prose instead of generic “helpful assistant” text. — evidence; status: заявление источника.
  4. Method: capture a baseline, write a style contract, add few-shot examples, then run an automated scan plus a human edit pass. — evidence; status: заявление источника.
  5. macOS, Linux, or Windows with WSL. Use equivalent PowerShell commands if you do not have a Bash shell. — evidence; status: заявление источника.
  6. Python 3.x and curl. Check them before starting. — evidence; status: заявление источника.
  7. An API key and the full chat-completions URL for your provider. — evidence; status: заявление источника.

4. Entities

EntityTypeRole
как заставить нейросеть писать не как нейросетьтема/инструментупоминается в заголовке, TL;DR или разделах гайда
убрать признаки ии текстатема/инструментупоминается в заголовке, TL;DR или разделах гайда
промпт для стиля текстатема/инструментупоминается в заголовке, TL;DR или разделах гайда
нейросеть пишет как нейросетьтема/инструментупоминается в заголовке, TL;DR или разделах гайда
имитация стиля автора промпттема/инструментупоминается в заголовке, TL;DR или разделах гайда
Windowsплатформа/технологияупоминается в заголовке, TL;DR или разделах гайда
Linuxплатформа/технологияупоминается в заголовке, TL;DR или разделах гайда
macOSплатформа/технологияупоминается в заголовке, TL;DR или разделах гайда
Pythonплатформа/технологияупоминается в заголовке, TL;DR или разделах гайда

5. Context

  • Guide — describes → How to Make AI Stop Writing Like AI: Prompts, Few-Shot Examples and Style Editing (AR-GUIDE-KAKZASTAVI-001).
  • Guide — includes step → Step 1. Capture a baseline and write a style contract (AR-GUIDE-KAKZASTAVI-001).

6. Reliability

Confirmed

No independent confirmation is provided; source claims and editorial conclusions are separated below.

Source claims

  • Product features, versions, prices and limits come from vendors and the guide.
  • Commands and steps are recommendations, not guaranteed results.

AI Release analysis

  • Structure, comparison and selection criteria are editorial.
  • The guide does not replace an independent audit or legal advice.

7. Unknowns

  • Current versions, prices and limits.
  • Independent benchmarks and quality checks.
  • Terms of use and data policy.

8. Sources

SourceTypeRole
No external links——

Cite as: AI Release. Как заставить нейросеть писать не как нейросеть: промпты, примеры и правки стиля. ai-release.org.