markdown-style

markdown-style is a cursor rule for Cursor from louisbrulenaudet/monorepo-template. It costs 0 tokens per session (312 once invoked), scanned A, original, Apache-2.0.

A formatting guide for Markdown, the plain-text format used for documentation. It requires paragraphs, list items, tables, and frontmatter values to stay on single lines, with special alert markers kept separate.

In plain words
What is it for?
Use it when editing README files, repository instructions, Markdown rules, changelogs, or other Markdown documentation.
Why use it?
It prevents documentation changes from being reflowed incorrectly and preserves GitHub's table and alert rendering.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it when editing README files, repository instructions, Markdown rules, changelogs, or other Markdown documentation.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/louisbrulenaudet/monorepo-template/markdown-style
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.

Clone the repo
git clone --depth 1 https://github.com/louisbrulenaudet/monorepo-template

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 markdown-style

README.md
[![agentmods](https://agentmods.dev/badge/rules/louisbrulenaudet/monorepo-template/markdown-style.svg)](https://agentmods.dev/rules/louisbrulenaudet/monorepo-template/markdown-style)
Your own site
<a href="https://agentmods.dev/rules/louisbrulenaudet/monorepo-template/markdown-style"><img src="https://agentmods.dev/badge/rules/louisbrulenaudet/monorepo-template/markdown-style.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 312 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.00312
Opus 5 $0.00000 $0.00156
Sonnet 5 $0.00000 $0.00062
Haiku 4.5 $0.00000 $0.00031

Measured 4d ago against content hash 79ea85a44f09, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

markdown-style 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 4d 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/quality/markdown-style.mdc · 16 lines

What it actually says

Markdown Style

Markdown in this repo is not hard-wrapped. One line per paragraph, one line per list item, one line per table row. Existing files run 250-700 characters on a single line and that is correct, not a defect to fix. There is no markdown formatter - oxfmt does not touch .md - so nothing will reflow this for you and nothing will reflow it back.

  • Never split a sentence across lines, and never reflow a paragraph to a column limit. A paragraph is one line, however long. A bullet is one line, however long.
  • Frontmatter string values stay on one line too. Do not fold a long description: across continuation lines.
  • Structural lines keep their own line: headings, table rows, and the contents of fenced code blocks.
  • A GitHub alert marker stays on its own line above its body: > [!NOTE] then > <body>. Collapsing the marker onto the body line stops GitHub rendering it as an alert.
  • Applies to every .md and .mdc in the repo, including README.md, AGENTS.md, CLAUDE.md, .changeset/**, and both rule trees.
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. 4d ago First seen · 16 lines · 312 tokens per session scan A 79ea85a44f09

Subscribe to this mod's changes

markdown-style is a cursor rule published in the GitHub repository louisbrulenaudet/monorepo-template (19 stars, last pushed 7d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 312 tokens. 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-03.