agentleFS
ivangrynenkoivangrynenko/cursorrules/.cursor/rules/confluence-editing-standards.mdc

cursorrules / rules

Cursor rule88 starsChanged 13 months agoMITView on GitHub

Purpose: Ensure Markdown renders cleanly in Confluence by applying spacing, nesting, and code formatting rules during page creation/updates.

The file

We split this confluence-editing-standards.mdc into the rules it gives an agent

11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Always insert a blank line between list items.

    line 6
  2. Distinctive:

    Use nested sub-bullets for subpoints.

    line 8
  3. Very specific:

    Prefer inline code for short, single-line commands or file paths (e.g., composer install).

    line 13
  4. Distinctive:

    Use fenced code blocks only when necessary (multi-line commands, config snippets).

    line 15
  5. Distinctive:

    Do not mix bullets and code blocks without a blank line before and after the block.

    line 17
  6. Distinctive:

    Keep headings concise; avoid trailing punctuation.

    line 20
  7. Distinctive:

    When using Markdown format, avoid enabling heading anchors if they introduce ID artifacts in rendered output.

    line 22
  8. Distinctive:

    Keep tables simple (5–7 columns max).

    line 25
  9. Distinctive:

    Add a brief sentence above a large table explaining what it captures.

    line 27
  10. Distinctive:

    No anchor artifacts in headings.

    line 39
  11. Very specific:

    When editing an existing Confluence page, if the page has label format-spaced-lists, apply these spacing rules strictly even if the …

    line 44

≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
confluence-editing-standards.mdc
# Confluence Editing Standards (Markdown Authoring)

Purpose: Ensure Markdown renders cleanly in Confluence by applying spacing, nesting, and code formatting rules during page creation/updates.

## Lists & Spacing
- Always insert a blank line between list items.

- Use nested sub-bullets for subpoints; never concatenate multiple points on a single line.

- For ordered lists, keep each step single-purpose; add an empty line between steps when a step has sub-bullets.

## Inline vs Code Blocks
- Prefer inline code for short, single-line commands or file paths (e.g., `composer install`).

- Use fenced code blocks only when necessary (multi-line commands, config snippets). Verify Confluence renders the block without collapsing; otherwise, convert to inline steps.

- Do not mix bullets and code blocks without a blank line before and after the block.

## Headings & Anchors
- Keep headings concise; avoid trailing punctuation.

- When using Markdown format, avoid enabling heading anchors if they introduce ID artifacts in rendered output.

## Tables
- Keep tables simple (5–7 columns max). Prefer bullets when content wraps heavily.

- Add a brief sentence above a large table explaining what it captures.

## Nested Structure
- Depth guidance: limit nesting to two levels (bullet → sub-bullet). If content requires more depth, split into a new subsection.

## Check Before Publish (Quicklist)
- Bullets have blank lines between items.

- Sub-bullets are properly indented and grouped.

- Commands are inline where possible; multi-line blocks tested for rendering.

- No anchor artifacts in headings.

- Tables are readable; consider bullets if wide.

## Optional Page Label Cue
When editing an existing Confluence page, if the page has label `format-spaced-lists`, apply these spacing rules strictly even if the original content is inconsistent.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.