Skip to content

Add the prose rules for line breaks, PR body shape and issue lists - #123

Merged
diegoferigo merged 4 commits into
mainfrom
diegoferigo/prose-rules-from-ws
Dec 1, 2026
Merged

diegoferigo merged 4 commits into
mainfrom
diegoferigo/prose-rules-from-ws

Conversation

@diegoferigo

Copy link
Copy Markdown
Owner

What change is being made

Add three prose rules to the acting-as-diegoferigo skill and the global Copilot instructions: check line breaks before publishing, the shape of a PR body, and how to write lists of related references. Also use semicolons and colons sparingly.

Why this change is being made

These edits were made on the ws machine and never committed. The rules had no check for line breaks, no guidance on PR body shape and none for lists of references.

Tested

  • pixi run -q hooks: 0 failures.
  • pixi run -q test: 391 passed.

The prose rules had no check for line breaks before publishing, no guidance on the shape of a PR body and no rule for lists of related references.

Add them, plus the rule to use semicolons and colons sparingly.
@diegoferigo diegoferigo self-assigned this Dec 1, 2026
The awk quick check flagged text right after a closing fence and continuation lines of list items, although it claims to print nothing for a fine body. The comment rule also kept a closing sentence that told readers without a formatter to look for a line length.

Reset the previous line on a fence, skip indented lines and fold the formatter hint into the formatter case.
@diegoferigo
diegoferigo marked this pull request as ready for review December 1, 2026 09:55
The rules gave a fixed multi-section shape for a larger PR, with headings that stay empty when the change has no limits or related PRs.

Keep the three base sections for every PR and add Limits, Related, a table of parts, a migration note or a benchmark only when a reviewer would ask for it.
The rule for a larger PR said it keeps the same three sections but did not give their order, so the order followed the work skeleton above it.

State the order as Why, What, Tested and allow How to test as the name of the last one.
@diegoferigo
diegoferigo merged commit 170e799 into main Dec 1, 2026
4 checks passed
@diegoferigo
diegoferigo deleted the diegoferigo/prose-rules-from-ws branch December 1, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant