writing-style
Skill8.6k starsChanged 3 months agoMITView on GitHub
How to write prose that reads like human technical documentation rather than LLM output. Use whenever writing or editing docstrings, comments, limitations/ docs, READMEs, commit messages or PR descriptions, and when prose reads as smooth, salesy or generic.
15 other projects use a version of this.
Trending
Quiet since September.about the whole repository
Most recently taken up by
- timmo001/skillstheir own version, first seen Oct 5, 2026
- nishant-tamilselvan/AEGIStheir own version, first seen Sep 28, 2026
- oleg-chibikov/agent-skillstheir own version, first seen Sep 16, 2026
- coddingtonbear/skillstheir own version, first seen Sep 12, 2026
- anotb/management-consulting-plugintheir own version, first seen Sep 6, 2026
- schroneko/skillstheir own version, first seen Sep 3, 2026
Who's talking about pydantic/monty
- A Hacker News story“Monty: A minimal, secure Python interpreter written in Rust for use by AI”Hacker News · Feb 6, 2026 · 323 points
- @sungkim.bsky.social“Pydantic's Monty A minimal, secure Python interpreter written in Rust for use by AI. github.com/pydantic/monty”Bluesky · Feb 6, 2026 · 66 likes
- A Hacker News story“Monty: A minimal, secure Python interpreter written in Rust for use by AI”Hacker News · Feb 6, 2026 · 25 points
- pydantic/pydantic-ai“CodeExecutionToolset with Code Mode support + ExecutionEnvironmentToolset, for local env, Monty, Docker, E2B”GitHub · Jan 31, 2026 · 12 reactions
- @michaelmclean.me“We are in the golden age of open source software. Holy shit. New python implementation, 100% rust, …”Bluesky · Feb 6, 2026 · 7 likes
The biggest 5 of 40 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 40
Talked about on Bluesky, GitHub and Hacker News (40 times).
On Bluesky · 28
- Feb 6, 2026Pydantic's Monty A minimal, secure Python interpreter written in Rust for use by AI. github.com/pydantic/monty — @sungkim.bsky.social66 likes and reposts · 1 reply
- Feb 6, 2026We are in the golden age of open source software. Holy shit. New python implementation, 100% rust, microsecond startup, no host access 🤩… — @michaelmclean.mesays it tested it7 likes and reposts
- Feb 8, 2026They’re working on it — @gracekind.net6 likes and reposts · 2 replies
- Feb 22, 2026Rust実装のPythonインタプリタ。サードパーティのライブラリは敢えて使えない仕様で、AIが利用することを想定したminimal実装と。なるほど。モンティーパイソンだからmontyか。 — @matsuu.bsky.social5 likes and reposts
- Feb 7, 2026Monty - Run #Python code generated by #LLM safely in a secure #sandbox environment by @pydantic.dev MIT lic #OpenSource #AI #Agents… — @qdrddr.bsky.social4 likes and reposts
23 more on Bluesky
- Feb 6, 2026Python interpréteur en Rust. "Startup extremely fast (<1μs to go from code to execution result), and has runtime performance that is… — @lea-linux.org4 likes and reposts · 1 reply
- Jul 8, 2026Another one but more agent sandbox shaped github.com/pydantic/monty — @jbott.social2 likes and reposts
- Mar 1, 2026📦 pydantic / monty ⭐ 5,838 (+33) 🗒 Rust A minimal, secure Python interpreter written in Rust for use by AI — @github-trending-rs.bsky.social2 likes and reposts
- Feb 26, 2026kind of the idea for this github.com/pydantic/mon... — @jmsdnns.bsky.social2 likes and reposts
- Feb 18, 2026Monty: A minimal, secure Python interpreter written in Rust for use by AI https://github.com/pydantic/monty — @pythonhub.dev2 likes and reposts
- Feb 8, 2026Monty: AI向けにRustで書かれた、最小限で安全なPythonインタプリタ Monty: A minimal, secure Python interpreter written in Rust for use by AI 🔺 316 💬 37 🔗 HN Post… — @hacker-news-jp.bsky.social2 likes and reposts · 1 reply
- Sep 24, 2026pydantic / monty: A minimal, secure Python interpreter written in Rust for use by AI ★8266 https://github.com/pydantic/monty — @rusttrending.bsky.social1 likes and repost
- Jul 21, 2026pydantic / monty: A minimal, secure Python interpreter written in Rust for use by AI ★7911 https://github.com/pydantic/monty — @rusttrending.bsky.social1 likes and repost
- Apr 3, 2026pydantic / monty: A minimal, secure Python interpreter written in Rust for use by AI ★6646 https://github.com/pydantic/monty — @rusttrending.bsky.social1 likes and repost
- Feb 10, 2026These instructions for Mole by pydantic made me laugh more than they should have. github.com/pydantic/monty — @mirkolenz.com1 likes and repost
- Feb 9, 2026Glad to see this type of thinking. github.com/pydantic/monty — @itsdavesanders.com1 likes and repost
- Feb 8, 2026https://github.com/pydantic/monty Montyは、AIエージェント向けにRustで書かれた軽量かつ安全なPythonインタプリタです。 LLMが生成したコードを、高速かつホスト環境から隔離されたサンドボックスで実行します。… — @topickapp.bsky.social1 likes and repost
- Feb 7, 2026Monty: A minimal, secure Python interpreter written in Rust for use by AI View Article | Join the HN Conversation Summary of HN discussion… — @hncompanion.com1 likes and repost · 1 reply
- Feb 6, 2026Monty: A minimal, secure Python interpreter written in Rust for use by AI https://github.com/pydantic/monty… — @betterhn20.e-work.xyz1 likes and repost
- Feb 6, 2026Monty: A minimal, secure Python interpreter written in Rust for use by AI | Discussion — @hackernewsbot.bsky.social1 likes and repost
- Feb 6, 2026Monty: A minimal, secure Python interpreter written in Rust for use by AI https://github.com/pydantic/monty — @mm-hacker-news.bsky.social1 likes and repost
- Feb 6, 2026Monty Repo: github.com/pydantic/monty — @filtra.bsky.social1 likes and repost
- Feb 6, 2026monty: A minimal, secure Python interpreter written in Rust for use by AI https://lobste.rs/s/8rnhnq #vibecoding — @lobsters-feed.bsky.social1 likes and repost
- Feb 22, 2026This is interesting, a 'safe' Python interpreter for use by AI agents. I guess because the LLMs know Python better than Rune or RHAI?… — @coverfire.com0 likes and reposts · 2 replies
- Feb 16, 2026secure python interpreter in rust for running ai-generated code. no container needed, microsecond startup #dailytools — @maheu.co0 likes and reposts · 1 reply
- Feb 9, 20263. The Rust nerds at Pydantic open-sourced monty, a Python tool, written in Rust, that lets LLMs run code without touching the host.… — @rustaceans.bsky.social0 likes and reposts · 1 reply
- Feb 8, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 pydantic / monty ⭐ 2,222 (+442) 🗒 Rust A minimal, secure Python interpreter written in Rust for… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Feb 8, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 pydantic / monty ⭐ 2,222 (+442) 🗒 Rust A minimal, secure Python interpreter written in Rust for… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
On GitHub · 8
- Jan 31, 2026CodeExecutionToolset with Code Mode support + ExecutionEnvironmentToolset, for local env, Monty, Docker, E2B — pydantic/pydantic-ai12 reactions · 9 comments
- Sep 25, 2026Run the embed Checker inline instead of on a rayon pool — facebook/pyrefly1 reaction · 4 comments
- Sep 14, 2026chore(deps): bump the backend-everything-else group across 1 directory with 15 updates — vstorm-co/agenticos1 reaction · 1 comment
- Sep 14, 2026chore(deps): bump the backend-everything-else group in /backend with 13 updates — vstorm-co/agenticos1 reaction · 2 comments
- Apr 23, 2026chore(deps-dev): bump pydantic-monty from 0.0.16 to 0.0.17 — PrefectHQ/fastmcp1 reaction · 2 comments
3 more on GitHub
- Apr 20, 2026chore(deps-dev): bump pydantic-monty from 0.0.14 to 0.0.16 — PrefectHQ/fastmcp1 reaction
- Apr 15, 2026chore(deps-dev): bump pydantic-monty from 0.0.11 to 0.0.12 — PrefectHQ/fastmcp1 reaction
- Apr 10, 2026chore(deps-dev): bump pydantic-monty from 0.0.9 to 0.0.10 — PrefectHQ/fastmcp1 reaction · 1 comment
On Hacker News · 4
- Feb 6, 2026Monty: A minimal, secure Python interpreter written in Rust for use by AI323 points · 164 comments
- Feb 6, 2026Monty: A minimal, secure Python interpreter written in Rust for use by AI25 points · 1 comment
- Feb 6, 2026Monty – A minimal, secure Python interpreter written in Rust for use by AI4 points
- Jan 31, 2026Pydantic Monty: A minimal, secure Python interpreter (in Rust) for use by AI3 points
Other versions15 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 15
- DheerG/swarms★ 85same name
- hugobowne/show-us-your-agent-skills★ 68same name
- anotb/management-consulting-plugin★ 56same name
- kaustubhhiware/agent-skills-fullstack-development★ 16same name
- lout33/writing-style-skill★ 11same name
- Isaac-Flath/agent-starter-skills★ 8same name
- PatriotAgenticLLC/better_claude_skillz★ 3same name
- coddingtonbear/skills★ 2same name
- ericfitz/skills★ 2same name
- nishant-tamilselvan/AEGIS★ 1same name
5 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/limitations/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- crates/monty/src/modules/CLAUDE.mdCLAUDE.md
- coverageSkill
- fastmodSkill
- fix-pr-commentsSkill
- python-playgroundSkill
- review-generalSkill
- review-securitySkill
- review-usabilitySkill
- review-verbositySkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Delete them; the sentence underneath is the content.
- Distinctive: line 71
Do not close a section by restating it, and do not announce what the next section will do.
- Distinctive: line 270
Active voice and simple tenses: Use the passive only when the actor is unknown or irrelevant.
- Distinctive: line 290
Delete the first sentence.
- Distinctive: line 291
Read it aloud. Sentences that sound like a conference talk get cut.
“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Writing style
Applies to prose written in this repo: docstrings, comments, limitations/,
READMEs, commit messages, PR descriptions, and warnings like the one on
MountDir.
The reader is an engineer looking for a fact. Give them the fact. You are not persuading or building to a conclusion: say what happens, when, and what it costs.
Tells to avoid
Significance instead of mechanism
The most common LLM tell. If a sentence would fit unchanged in any other project's docs, it carries no information.
- ✗ "This ensures the sandbox remains secure."
- ✓ "Every operation runs relative to a
Diropened at mount time, so..and symlinks cannot reach outside it." - ✗ "Resource limits provide robust protection against runaway code."
- ✓ "The VM polls allocator usage every 255 instructions; crossing the
allocator's hard limit exits the worker with
OOM_EXIT_CODE."
Throat-clearing
Openers that delay the sentence: "It's worth noting that", "It's important to understand", "In essence", "Simply put", "At its core", "Let's take a look at". Delete them; the sentence underneath is the content.
- ✗ "It's worth noting that overlay writes are discarded when the feed ends."
- ✓ "Overlay writes are discarded when the feed ends."
The "not just X, but Y" reveal
Building to a payoff is an essay move. Docs do not need one.
- ✗ "
heap.rsisn't just another module — it's the foundation of the entire safety model." - ✓ "
heap.rscontains theunsafecode thatHeapReadersoundness depends on. Changes need explicit review."
Adjectives doing the work of facts
"Powerful", "seamless", "robust", "elegant", "blazing fast", "significantly", "dramatically". Replace with a number, a mechanism, or nothing.
- ✗ "Overlays are capped at a reasonable size."
- ✓ "
memory_usage_limitcaps retained overlay data at 100 MB by default; exceeding it raisesMemoryErrorin the sandbox."
Restating what the reader can see
A docstring that repeats the signature wastes the line it occupies. Say why it exists, what it costs, or where it bites.
- ✗ "Adds a mount to the mount table." (on
MountTable::mount) - ✓ "Opens the host directory once; later operations run against that descriptor, so renaming the path afterwards does not detach the mount."
Summarising yourself
Do not close a section by restating it, and do not announce what the next section will do.
- ✗ "In summary, mounts are confined structurally rather than by checking."
- ✓ (nothing, you already said it)
War stories
Provenance is worth a clause only when it changes what the reader does. How the bug was found usually does not.
- ✗ "This was demonstrated against a live deployment during Hack Monty, where
sandboxed code wrote
dataclasses.pyand the client executed it during ordinary result conversion." - ✓ "Sandboxed code can write
json.pyinto a read-write mount, or any module not yet imported, and have the host's nextimportrun it, including importspydantic_montymakes itself."
Smoothness
A different failure from the tells above. Those pad out empty content; this dresses up real content, which makes it harder to spot and easier to approve.
Sentences engineered for rhythm read as conclusions, so the prose sounds like it is arguing when it is only listing facts. Balanced clauses and a stressed last syllable make a sentence sound authoritative whatever it contains, so one fact wearing three clauses gets read as three facts. Reference prose usually ends flatly, on a qualifier or a noun phrase, because the writer stopped when the information ran out rather than when the cadence resolved.
Timing for suspense. Commas and subordinate clauses arranged to delay the point.
- ✗ "The sandbox cannot execute what it writes, but your machine will, later, with your privileges, and the path from one to the other is easy to miss."
- ✓ "Files written by sandboxed code stay on the host, where other programs may execute them."
Telling the reader how to feel. "you did not choose", "easy to miss", "without being asked", "often does". These supply a mood in place of a fact.
- ✗ "
sys.path[0]is a directory you did not choose." - ✓ "
sys.path[0]is the script's directory, or the cwd forpython -m,python -cand the REPL."
Triples and reversals. A three-item list where one item carries the fact,
then a but clause positioned as the payoff.
- ✗ "Sandboxed code reads, writes and deletes normally and sees its own changes, but nothing reaches your disk."
- ✓ "Writes are kept in memory and discarded when the feed ends. Sandboxed code still sees its own writes."
The quotable closer. A generalisation at the end of a section, memorable, carrying no new fact. Delete it. The section ends at its last fact.
- ✗ "Principles alone produce prose that follows the rules and still reads like an LLM."
- ✗ "Most drafts get better by deleting the first sentence and the last."
Symmetry for its own sake. Three-item lists where two items are real, paragraphs of matched length, every bullet opening with a bolded term. If the shape came first and the content was fitted to it, cut back to what is true.
Three checks:
- Does the sentence end on a beat? If the last three words could be duller without losing meaning, they were there for rhythm.
- Strip the rhythm and count the facts. One is the usual answer.
- Is the sentence about the system, or about how the reader should feel?
Industry metaphor
Software described as objects moving through space, or as people with intentions. It is the register of a startup design review, not of reference documentation; CPython's docs use plain verbs throughout ("raises", "returns", "is stored in", "propagates", "Changed in version 3.11").
The metaphor also deletes the mechanism. "The error surfaces" does not say whether it raises, returns or logs. "Wire the tracker through" does not say parameter, field or global. "It lands in 3.14" does not say merged or released.
Motion and logistics:
| Instead of | Write |
| lands, landing | merged, released in 3.14 |
| ship, shipping | release |
| spin up, stand up | start, launch |
| wire up, plumb through | pass, connect |
| thread X through | pass X as a parameter |
| bubble up | propagate, or name the caller |
| surface (verb) | raise, return, report, log |
| hand back, hand off | return, transfer |
| bake in, baked into | built in, compiled in |
| punt on | defer, skip, leave to |
Structure as furniture:
| Instead of | Write |
| seam | interface, boundary |
| surface, surface area | API, the public functions |
| escape hatch | override, opt-out |
| knobs, dials | options, settings |
| load-bearing | required, relied on by X |
| X-shaped | with the same interface as X |
| lives in | is defined in, is stored in |
| sits on top of | wraps |
| under the hood | internally |
Code with intentions:
| Instead of | Write |
| the checker is happy | the check passes |
| knows about, is aware of | reads, checks, has a field for |
| talks to | sends requests to |
| teach the parser to | add X to the parser |
| wants, expects (of code) | requires |
| reaches into | accesses, reads |
Also: "for free", "just works", "out of the box", "first-class", "table stakes", "opinionated", "non-trivial", "unlock", "blast radius", "paper over".
In prose:
- ✗ "Errors from the worker surface to the caller."
- ✓ "
Checkout::feedreturnsPoolError::Crashedwhen the worker exits without aFatalErrorevent." - ✗ "The tracker is threaded through the whole VM."
- ✓ "Every allocation path takes
&ResourceTrackeras a parameter." - ✗ "
WorkerTransportis theNativeSession-shaped seam." - ✓ "
WorkerTransporthas the same methods asNativeSession, sosession.tsdrives either one."
Terms of art stay, even though they began as metaphors: heap, stack, pointer,
hot path, propagate, boilerplate, tombstone, sandbox escape, attack surface.
CLAUDE.md also sanctions foot-gun, happy path and single source of truth. The
test is whether a plain verb would say more than the metaphor does.
Structure
- Lead with the fact, not the context. First line of a docstring says what the thing is.
- Prose for reasoning, bullets for actual lists. A bulleted paragraph is harder to read, not easier.
- One idea per sentence. Split anything over about 30 words.
- Comments and field docs: 1 line, 3 at most. Function and struct docstrings: 5 lines or fewer. If the docstring is longer than the code, something is wrong with one of them.
- Warnings: the command or condition first, then the consequence and the subtle path to it, then the safe alternative. No preamble. Put the warning before the thing it warns about, not after.
Markdown line wrapping
Hard-wrap markdown at 120 characters, one sentence per line where possible: each sentence starts a new line, and only a sentence longer than 120 characters wraps onto continuation lines. This keeps diffs one-sentence-sized — editing a sentence does not rewrap the paragraph around it.
Continuation lines of a list item are indented to the content column of the marker. Code blocks, tables and headings are never rewrapped; a table whose rows cannot fit 120 characters should become a list instead.
To reformat an existing file: python3 .claude/skills/writing-style/rewrap_md.py <file>...
(rewrites in place, skips fences/tables/headings/frontmatter).
Words and punctuation
| Instead of | Write |
| utilize, leverage | use |
| in order to | to |
| serves as, acts as, functions as | is |
| prior to, subsequent to | before, after |
| a variety of, a number of | several, or the number |
| allows you to, enables you to | you can, or the imperative |
| is responsible for handling | handles |
One term per concept. Choose the word and keep it. Alternating between
worker, child and subprocess for one thing makes the reader stop to check
whether they are the same thing. Consistency beats variety.
- ✗ "The checkout feeds the child, and the worker replies with events."
- ✓ "The checkout feeds the worker, and the worker replies with events."
Noun clusters: three words at most. Longer stacks make the reader guess which noun modifies which.
- ✗ "parent-side mount table memory usage limit"
- ✓ "the memory limit for a parent-side mount table"
Active voice and simple tenses. Use the passive only when the actor is unknown or irrelevant. Do not drop articles or verbs to save space, except in the Rust convention of a subjectless first line ("Returns the host path.").
- ✗ "A
PermissionErrorwill have been raised by the mount." - ✓ "The mount raises
PermissionError."
Em dashes should be avoided, or used very sparingly. But do not update code just to remove em dashes.
Contractions are fine. Second person for user-facing docs ("you can never see the host path"), imperative for instructions ("mount a dedicated directory"). Hedges ("generally", "typically", "may") are for genuine uncertainty; if the behaviour is defined, state it.
Checking a draft
- Could this sentence appear verbatim in another project's docs? Then it is empty.
- Can you point at the code each claim describes? If not, you are guessing.
- Delete the first sentence. Was anything lost?
- Read it aloud. Sentences that sound like a conference talk get cut.
- Strip a sentence's rhythm. How many facts are left?
- Would a reviewer learn anything they could not get from the signature?
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

