Agent skill

Pragmatic Writing

by robertguss in robertguss/claude-code-toolkit

This skill should be used when writing technical content in the style of Hunt/Thomas (The Pragmatic Programmer) and Joel Spolsky (Joel on Software).

MITAuto-check passedWriting & Content

Install Pragmatic Writing

skills CLI
$ npx skills add robertguss/claude-code-toolkit --skill pragmatic-writing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install robertguss/claude-code-toolkit pragmatic-writing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/robertguss/claude-code-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/compound-writing/skills/pragmatic-writing .claude/skills/pragmatic-writing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pragmatic-writing
GitHub stars
124
Token cost
~1.5k tokens
SKILL.md length
646 words
Files
5 (incl. references)
Skills in repo
16
Repo updated
First seen
Licence
MIT

At a glance

This skill should be used when writing technical content in the style of Hunt/Thomas (The Pragmatic Programmer) and Joel Spolsky (Joel on Software).

  • Works in 10 steps: Concrete Before Abstract → Physical Analogies → Conversational Register → …
  • Writing & Content work in your project
  • SKILL.md covers When to Use This Skill, Core Philosophy, The 10 Core Techniques and Voice Characteristics, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Pragmatic Writing is an agent skill from robertguss/claude-code-toolkit. This skill should be used when writing technical content in the style of Hunt/Thomas (The Pragmatic Programmer) and Joel Spolsky (Joel on Software). It applies when creating technical essays, documentation, tutorials, or explanatory content that needs to be clear, engaging, and actionable.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/anti-patterns.md`, `references/examples.md` and `references/sources.md`).

It sits in Writing & Content. The repository describes itself as: A collection of custom skills that extend Claude's capabilities with specialized workflows, methods, and domain knowledge. The licence is MIT.

When your agent uses it

  • Writing & Content work in your project

Example prompts

  • “/pragmatic-writing”

Workflow steps

10 steps, taken from the step headings in SKILL.md.

  1. Concrete Before Abstract
  2. Physical Analogies
  3. Conversational Register
  4. Humor as Architecture
  5. The "Aha!" Structure
  6. Short Paragraphs, Varied Length
  7. Code as Evidence
  8. The Principle Box
  9. Friendly Warnings
  10. The Callback

What it can do on your machine

Read from SKILL.md and the folder at commit f7fd35e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pragmatic Writing loads about 1.5k tokens when it runs, and up to ~6.7k if it reads all its reference files. Until then it costs about 77 tokens; SKILL.md has 646 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~77
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from robertguss/claude-code-toolkit at commit f7fd35e, republished under its MIT licence (© robertguss). 646 words, ~1,473 tokens.

Download SKILL.mdSave it as .claude/skills/pragmatic-writing/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
pragmatic-writing
description
This skill should be used when writing technical content in the style of Hunt/Thomas (The Pragmatic Programmer) and Joel Spolsky (Joel on Software). It applies when creating technical essays, documentation, tutorials, or explanatory content that needs to be clear, engaging, and actionable.

Pragmatic Writing Skill

Writing style modeled on the masters of technical communication: Andy Hunt, Dave Thomas (The Pragmatic Programmer), and Joel Spolsky (Joel on Software). This skill transforms technical content into engaging, memorable prose.

When to Use This Skill

This skill applies when:

  • Creating technical blog posts, essays, or articles
  • Writing documentation that needs personality
  • Explaining complex concepts to developers
  • Crafting tutorials or how-to guides
  • Writing "lessons learned" or postmortem content
  • Any technical writing that should be read, not just referenced

Core Philosophy

"The difference between 'almost right' and 'right' is the difference between the lightning bug and the lightning." — Mark Twain (quoted by Pragmatic Programmers)

Technical writing doesn't have to be dry. The best technical writers make complex ideas feel obvious, use concrete examples before abstract theory, and treat the reader as a smart colleague.

The 10 Core Techniques

Reference the complete technique guide at techniques.md.

1. Concrete Before Abstract

Always start with a concrete example, then extract the principle.

❌ "Dependency injection is a design pattern where dependencies are passed
    to objects rather than created by them."

✅ "Imagine your class needs a database connection. You could create it
    yourself:

    def initialize
      @db = Database.new("localhost:5432")
    end

    But now your class is stuck with that exact database. What if you
    want to test with a fake one? What if production uses a different host?

    Instead, accept it as a parameter:

    def initialize(db)
      @db = db
    end

    That's dependency injection. Simple."
2. Physical Analogies

Map abstract concepts to physical experiences readers already understand.

See examples.md for analogy patterns:

  • Software abstractions → Physical tools
  • Code patterns → Architectural patterns
  • System design → Everyday systems (postal service, restaurants)
3. Conversational Register

Write like you're explaining to a smart colleague at a whiteboard.

Markers of conversational register:

  • Contractions (don't, won't, can't)
  • Direct address (you, your)
  • Questions (But what if...? Why does this matter?)
  • Asides (By the way, Incidentally)
  • Admissions (To be honest, I'm not sure, It depends)
4. Humor as Architecture

Use humor strategically, not decoratively:

  • Memorable hooks ("Good code is its own best documentation")
  • Tension release after complex explanations
  • Self-deprecation to build rapport
  • Absurdist examples to highlight bad patterns
5. The "Aha!" Structure

Build to moments of realization:

  1. Present a familiar problem
  2. Show the common (flawed) approach
  3. Reveal why it fails
  4. Present the insight
  5. Show the better way
  6. Connect back to the principle
6. Short Paragraphs, Varied Length
  • No paragraph over 4 sentences
  • Alternate between longer explanations and punchy one-liners
  • Use single-sentence paragraphs for emphasis

Like this.

7. Code as Evidence

Code examples should:

  • Be runnable (no pseudo-code unless necessary)
  • Be minimal (show only what matters)
  • Progress from broken to fixed
  • Include comments only for non-obvious things
8. The Principle Box

After a concrete exploration, box the principle:

Tip 23: Always Design for Concurrency Allow for concurrency, and you will design cleaner interfaces with fewer assumptions.

Show full SKILL.md (249 more words)Show less
9. Friendly Warnings

When discussing pitfalls:

  • Acknowledge you've made the mistake too
  • Explain why it's tempting
  • Show the consequences
  • Provide the escape hatch

See anti-patterns.md for common technical writing mistakes.

10. The Callback

End by connecting back to the opening example or question. Close the loop.

Voice Characteristics

Sentence Patterns
  • Average length: 15-20 words
  • Mix of simple, compound, complex
  • Questions every 3-4 paragraphs
  • Direct statements for key points
Vocabulary

Use: specific, concrete, everyday words Avoid: jargon without explanation, buzzwords, corporate-speak

Tone
  • Confident but not arrogant
  • Curious and exploratory
  • Practical and results-focused
  • Occasionally irreverent

Applying the Skill

For Blog Posts
  1. Open with a problem or scenario
  2. Explore the messy middle
  3. Reveal the insight
  4. Show the solution
  5. Extract the principle
  6. Callback to opening
For Documentation
  1. Start with what the reader wants to do
  2. Show the simplest working example
  3. Expand with options and edge cases
  4. Explain the "why" after the "how"
For Tutorials
  1. State the goal clearly
  2. Show the end result first
  3. Build up in small, testable steps
  4. Explain mistakes, not just successes

Quality Checklist

Before publishing, verify:

  • Opens with concrete example or scenario
  • Physical analogy for key concepts
  • Conversational tone throughout
  • At least one moment of humor or levity
  • Principles boxed or highlighted
  • Code examples are minimal and runnable
  • Paragraphs under 4 sentences
  • Callbacks to opening

References

© robertguss, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in plugins/compound-writing/skills/pragmatic-writing of robertguss/claude-code-toolkit.

  • SKILL.md
  • references/anti-patterns.md
  • references/examples.md
  • references/sources.md
  • references/techniques.md

Open the folder on GitHubat commit f7fd35e

Compare with similar skills

Pragmatic Writing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pragmatic Writing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pragmatic Writing this skillrobertguss/claude-code-toolkit124—~1.5kAutomated safety check: PassMIT
Socialcoreyhaines31/marketingskills54k4 repos~4.5kAutomated safety check: PassMIT
HumanizerAzure-Samples/interview-coach-agent-framework17338 repos~5.8kAutomated safety check: PassMIT
Avoid AI Writingconorbronsdon/avoid-ai-writing4.9k3 repos~8.1kAutomated safety check: PassMIT
JavaScript Concept Fact Checkerleonardomso/33-js-concepts67k1 repos~5kAutomated safety check: PassMIT
User-Facing Text Cleanupguillaumemeyer/watermarks-remover24k—~3.5kAutomated safety check: PassMIT

Similar skills

  • Social

    coreyhaines31/marketingskills

    When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, or Facebook, or wants to do social listening and engagement triage.

    54k GitHub starsUsed in 4 repos~4.5k tokens
    Writing & ContentAuto-check passed
  • Humanizer

    Azure-Samples/interview-coach-agent-framework

    Official

    Remove signs of AI-generated writing from text. An agent skill from Azure-Samples/interview-coach-agent-framework.

    173 GitHub starsUsed in 38 repos~5.8k tokens
    Writing & ContentAuto-check passed
  • Avoid AI Writing

    conorbronsdon/avoid-ai-writing

    Audit and rewrite content to remove AI writing patterns ("AI-isms").

    4.9k GitHub starsUsed in 3 repos~8.1k tokens
    Writing & ContentAuto-check passed
  • JavaScript Concept Fact Checker

    leonardomso/33-js-concepts

    Verifies the technical accuracy of JavaScript concept pages by checking code examples, MDN and ECMAScript claims and external links through a five-phase method.

    67k GitHub starsUsed in 1 repo~5k tokens
    Writing & ContentAuto-check passed
  • User-Facing Text Cleanup

    guillaumemeyer/watermarks-remover

    Audits prose for invisible Unicode characters and rewrites it while keeping facts, citations, code and required disclosures unchanged and the writer's voice intact.

    24k GitHub stars~3.5k tokensUpdated 2 days ago
    Writing & ContentAuto-check passed
  • Install Anti Slop

    trycompai/crm

    Install and configure the anti-slop Oxlint plugin in a local TypeScript or JavaScript repository.

    11k GitHub starsUsed in 1 repo~881 tokens
    Writing & ContentAuto-check passed

More from robertguss/claude-code-toolkit

All 16 skills in this repo
  • Brainstorm

    robertguss/claude-code-toolkit

    Collaborative brainstorming partner for multi-session ideation projects.

    124 GitHub stars~1.7k tokensUpdated 24 days ago
    Auto-check passed
  • Voice Capture

    robertguss/claude-code-toolkit

    This skill should be used when extracting voice profiles from sample text, creating voice documentation, or matching a specific writing style.

    124 GitHub stars~1.7k tokensUpdated 24 days ago
    Auto-check passed
  • Dhh Writing

    robertguss/claude-code-toolkit

    This skill should be used when writing in the distinctive style of David Heinemeier Hansson (DHH).

    124 GitHub stars~1.6k tokensUpdated 24 days ago
    Auto-check passed
  • Writing Orchestration

    robertguss/claude-code-toolkit

    This skill should be used when orchestrating complex writing workflows with multiple phases.

    124 GitHub stars~1.9k tokensUpdated 24 days ago
    Auto-check passed
  • App Store Opportunity Research

    robertguss/claude-code-toolkit

    Full-pipeline iOS App Store opportunity research. An agent skill from robertguss/claude-code-toolkit.

    124 GitHub stars~5.6k tokensUpdated 24 days ago
    Auto-check passed
  • Book Architect

    robertguss/claude-code-toolkit

    Design the structural and emotional architecture for nonfiction books.

    124 GitHub stars~2.1k tokensUpdated 24 days ago
    Auto-check passed

Questions about Pragmatic Writing

What does Pragmatic Writing do?

This skill should be used when writing technical content in the style of Hunt/Thomas (The Pragmatic Programmer) and Joel Spolsky (Joel on Software). Pragmatic Writing is an agent skill from robertguss/claude-code-toolkit. This skill should be used when writing technical content in the style of Hunt/Thomas (The Pragmatic Programmer) and Joel Spolsky (Joel on Software).

When should I use Pragmatic Writing?

Pragmatic Writing fits situations like: writing & Content work in your project.

How do I install Pragmatic Writing in Claude Code?

Run `npx skills add robertguss/claude-code-toolkit --skill pragmatic-writing -a claude-code`. Or copy the skill folder (plugins/compound-writing/skills/pragmatic-writing in robertguss/claude-code-toolkit) into .claude/skills/pragmatic-writing in your project. Claude Code loads it when a task matches its description.

How do I install Pragmatic Writing in Codex?

Run `npx skills add robertguss/claude-code-toolkit --skill pragmatic-writing -a codex`. Or copy the skill folder (plugins/compound-writing/skills/pragmatic-writing in robertguss/claude-code-toolkit) into .agents/skills/pragmatic-writing in your project. Codex loads it when a task matches its description.

Can I use Pragmatic Writing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add robertguss/claude-code-toolkit --skill pragmatic-writing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pragmatic-writing, .gemini/skills/pragmatic-writing, .github/skills/pragmatic-writing and .opencode/skills/pragmatic-writing in your project.

What does Pragmatic Writing need to run?

SKILL.md names no scripts, command-line tools or credentials: Pragmatic Writing is instructions for the agent only.

Does Pragmatic Writing access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Pragmatic Writing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pragmatic Writing use?

Pragmatic Writing is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Pragmatic Writing use?

About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.2k tokens, read only when the agent opens those files.

What are the alternatives to Pragmatic Writing?

Skills that share tags, products or a category with Pragmatic Writing: Social (coreyhaines31/marketingskills, 54k stars), Humanizer (Azure-Samples/interview-coach-agent-framework, 173 stars), Avoid AI Writing (conorbronsdon/avoid-ai-writing, 4.9k stars) and JavaScript Concept Fact Checker (leonardomso/33-js-concepts, 67k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pragmatic Writing?

robertguss (a GitHub user) maintains it in robertguss/claude-code-toolkit, which has 124 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on September 16, 2026.

Source: robertguss/claude-code-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.