writing-styles

writing-styles is a cursor rule for Cursor from felipebarcelospro/igniter-js. It costs 3,834 tokens per session, scanned A, original, Apache-2.0.

This guide defines the writing standards for all Igniter.js content: documentation, blog posts, templates, and updates.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/felipebarcelospro/igniter-js/writing-styles
Clone the repo
git clone --depth 1 https://github.com/felipebarcelospro/igniter-js

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for writing-styles

README.md
[![agentmods](https://agentmods.dev/badge/rules/felipebarcelospro/igniter-js/writing-styles.svg)](https://agentmods.dev/rules/felipebarcelospro/igniter-js/writing-styles)
Your own site
<a href="https://agentmods.dev/rules/felipebarcelospro/igniter-js/writing-styles"><img src="https://agentmods.dev/badge/rules/felipebarcelospro/igniter-js/writing-styles.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,834 This file is loaded in full into every session.
When invoked 3,834 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.03834 $0.03834
Opus 5 $0.01917 $0.01917
Sonnet 5 $0.00767 $0.00767
Haiku 4.5 $0.00383 $0.00383

Measured 2d ago against content hash 92435562cf1e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

writing-styles scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/writing-styles.mdc · 589 lines

How it starts

The opening of the file, as written. The whole thing — 589 lines — stays where its author put it; the contents beside it link to each section on GitHub.

✍️ Unified Documentation Style Guide (for LLMs & Authors)

This guide defines the writing standards for all Igniter.js content: documentation, blog posts, templates, and updates.

🎯 Core Style Principles (Applies to All Documentation)

  1. Clarity Over Cleverness
    Use simple, direct language. Favor short words and short sentences. Avoid jargon unless it's essential—and if it is, define it once.

  2. Speak Developer
    Write the way you'd speak to a smart, curious engineer sitting next to you. Friendly, confident, and precise.

  3. Show, Don't Just Tell
    Use examples liberally. Explain ideas with real code, not abstract theory. Every key concept should be backed by a working snippet.

  4. Write in Active Voice
    ✅ "Click the button to save your changes."
    ❌ "The button should be clicked in order for changes to be saved."

  5. Present First, Explain Later
    Get the reader to success as quickly as possible. After they've seen something work, then explain how/why it works.

  6. Be Honest and Human
    If something is tricky, say so. If you're recommending a workaround, explain why. Transparency builds trust.

  7. Use consistent terminology
    Always refer to concepts, components, and APIs by the same name. Don't mix "endpoint" and "route" if they mean the same thing.

  8. Verify Before Documenting
    NEVER assume API behavior. Always check the actual implementation in packages/ before writing code examples or documentation. Read source code, interfaces, and type definitions to ensure accuracy.


📘 Documentation (Docs): Writing Style

Tone: Clear, technical, and helpful
Voice: An expert engineer sharing knowledge directly

✅ Style Rules:
  • Verify Implementation: Always check packages/ source code before documenting APIs
  • Use second person ("you") to address developers directly
  • Keep explanations focused and concise
  • Start with working examples, then explain concepts
  • Use <Callout> for important notes and warnings
  • Include complete, runnable code examples that match actual APIs
  • Structure with <Steps> for sequential instructions
  • Use <Tabs> for package manager commands (with groupId="package-manager")
  • Add <TypeTable> for API reference documentation
  • Show file structures with <Files>, <Folder>, <File> components
  • Never assume: If unsure about an API, search and read the implementation

Read the full file on GitHub · 589 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 589 lines · 3,834 tokens per session scan A 92435562cf1e

Subscribe to this mod's changes

writing-styles is a cursor rule published in the GitHub repository felipebarcelospro/igniter-js (242 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 3,834 tokens to every session, about $0.0192 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.