yzhao062/agent-style

21 writing rules for AI coding and writing agents. Drop-in for Claude Code, Codex, Copilot, Cursor, and Aider, so their output reads like a tech pro.

What it solves

AI agents often produce generic, repetitive, or "machine-like" writing that ignores established technical communication standards. This project provides a curated set of rules to help AI agents write with the precision and clarity of a tech professional, reducing common LLM "tells" like over-bulleting, excessive jargon, and poor citation discipline.

How it works

The project offers 21 writing rules split into two categories: 12 canonical rules derived from classic writing authorities (like Strunk & White and Pinker) and 9 field-observed rules identified from LLM output patterns between 2022 and 2026. You can apply these rules in two ways: "soft enforcement" by loading them into your agent's system prompt at generation time, or an opt-in "style-review" skill that audits a draft after it is written.

Who it’s for

It is designed for developers and maintainers who use AI coding and writing agents—such as Claude Code, Cursor, Aider, GitHub Copilot, and others—and want to ensure the generated documentation, commit messages, and technical prose adhere to high-quality writing standards.

Highlights

  • Includes 21 specific writing rules, ranging from avoiding passive voice to maintaining strict citation discipline.
  • Provides an "escape hatch" rule that allows for flexibility when a rule would result in awkward or "barbarous" prose.
  • Supports multiple AI agent platforms via a CLI that automatically configures the necessary instruction files.
  • Includes a "House Style" section that can be customized to match an individual's personal writing habits.
  • Offers a post-generation review tool to audit drafts against the ruleset without modifying source files directly.

Related

  • Project
  • Project
  • Project
  • Project
  • Project