Writing Human Technical Articles
Before drafting, answer these five questions in one line each:
- Reader: Who exactly is reading? (e.g., "junior PHP dev moving to Node.js")
- Problem: What specific pain brought them here?
- Promise: What will they be able to do after reading?
- Angle: What's my opinion or hard-won lesson on this?
- Proof: What working code or real scenario backs it up?
Then draft in this order: hook → problem → solution with tested code → pitfalls → takeaway.
Opening pattern that works:
Last year a client's checkout page took 11 seconds to load. The cause was
one MySQL query inside a PHP loop. Here's how I found it and fixed it.
Specific, concrete, first person, no throat-clearing.
Copy this checklist and track progress:
Progress:
- [ ] Step 1: Define reader, problem, promise, angle, proof
- [ ] Step 2: Outline with H2s phrased as the reader's questions
- [ ] Step 3: Write and run all code samples before drafting prose
- [ ] Step 4: Draft the article in a conversational voice
- [ ] Step 5: Humanize pass (remove AI tells, vary rhythm)
- [ ] Step 6: Technical accuracy pass (versions, edge cases, security)
- [ ] Step 7: Edit for length, scannability, and a clear ending
Step 1: Define the brief
If the user hasn't given audience or goal, assume an intermediate developer who knows the basics but hasn't used this specific technique. State the assumption at the top of your response.
Step 2: Outline
Use H2s that mirror real search queries or reader questions:
- Weak: "Overview of Prepared Statements"
- Strong: "Why Is My PHP Login Form Vulnerable to SQL Injection?"
Target 4-7 H2 sections for a 1,200-1,800 word article.
Step 3: Code first
Write and mentally execute every snippet before writing around it. Each snippet must:
- Be complete enough to copy-paste and run
- Declare language in the code fence
- Include only what's relevant (strip boilerplate)
- State the version it was written for when behavior differs (e.g., PHP 8.x, Node 20+)
Step 4: Draft the prose
Write as if explaining to a colleague over coffee:
- Use "I" and "you" naturally
- Share one real opinion ("I avoid ORMs for reporting queries, and here's why")
- Include one admitted mistake or trade-off per article
- Explain why before how
Step 5: Humanize pass
Scan for and fix these AI tells:
| AI tell | Fix |
|---|---|
| "In today's fast-paced digital world..." | Delete. Start with the problem. |
| "It's important to note that..." | Delete the phrase, keep the point. |
| "Let's dive in" / "delve" / "unleash" / "game-changer" | Replace with plain words or cut. |
| Three-item lists everywhere | Use two or four sometimes. |
| Every paragraph the same length | Mix 1-sentence and 4-sentence paragraphs. |
| Perfectly balanced "On one hand... on the other..." | Pick a side and say why. |
| Ending with "In conclusion, ..." recap | End with a next step or a sharp takeaway. |
| Em-dash overuse | Use commas, periods, or parentheses. |
Also add: a contraction or two per paragraph, one rhetorical question, one short fragment for emphasis. Read the first paragraph aloud; if you wouldn't say it, rewrite it.
Step 6: Technical accuracy pass
- Confirm function names, flags, and syntax are real and current (e.g.,
mysqli_*or PDO, not removedmysql_*) - Check security: parameterized queries, output escaping, no secrets in code
- Note deprecated approaches and what replaced them
- Verify claims about performance with a reason, not a vague "faster"
Step 7: Final edit
- Cut 10% of words
- Add subheadings every ~250 words
- Bold only the one phrase per section a skimmer must see
- End with one concrete next action
Example 1: Rewriting an AI-sounding intro
Input:
"In the ever-evolving landscape of web development, understanding the importance of database security is crucial. Let's delve into SQL injection prevention in PHP."
Output:
"I once watched a junior dev's login form get bypassed with a single quote character. Took the attacker about ten seconds. If you're still building MySQL queries by gluing strings together in PHP, this one's for you."
Example 2: Explaining code like a person
Input: Explain this snippet.
PHP$stmt = $pdo->prepare('SELECT * FROM users WHERE email = :email'); $stmt->execute(['email' => $email]);
Output:
"Here's the fix. Notice the
Example 3: Choosing an angle
Input: "Write about Node.js vs PHP."
Output (angle chosen, not a neutral comparison):
Title: "I Write Both PHP and Node.js. Here's How I Pick for Each Project" Angle: Decision framework based on hosting, team skills, and real-time needs, with a clear recommendation per scenario.
- Lead with the reader's problem, not the technology's history.
- One article, one idea. If you need "also" more than twice, split it.
- Show failure output. An error message or bad result makes the fix more credible.
- Use realistic names.
$orders,getUserByEmail(), not$foo,$bar. - Link claims to docs (php.net, MDN, MySQL reference, nodejs.org) rather than asserting authority.
- Title formula: specific outcome + context. "Fix Slow MySQL Queries in PHP with Indexes (Real Example)".
- Match depth to audience. Skip explaining what a variable is; do explain why an index can slow down writes.
- Use AI as a drafting aid only. Generate an outline or rough draft, then rewrite in your own voice and verify every technical claim yourself.
- Untested code. One broken snippet destroys trust in the whole article.
- Generic filler intros. Readers leave in the first 10 seconds.
- Outdated advice. Don't recommend
mysql_connect(),vareverywhere in JS, or callback pyramids in new Node.js code without noting modern alternatives. - Keyword stuffing. Use the target phrase in the title, first 100 words, and one H2. Then stop.
- Fake authority. Don't claim benchmarks or experience you can't back up. Say "in my testing" only if true.
- Wall of text. Break up with code, lists, and short paragraphs.
- No ending. Don't trail off. Close with a takeaway, a checklist, or a next step.
- Over-polishing. A slightly imperfect, opinionated voice reads more human than flawless neutrality.