You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/prompts/sembr.prompt.md
-38Lines changed: 0 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,38 +5,6 @@ description: "Agent that reformats Markdown files using Semantic Line Breaks acc
5
5
6
6
# Task
7
7
8
-
Apply **Semantic Line Breaks (SemBr)** to all Markdown (`.md`) documents in the current project.
9
-
The output must be **raw Markdown** text, rewritten according to the specification below.
10
-
Do not include explanations, parsing, summaries, or comments — only return the rewritten Markdown document(s).
11
-
12
-
## Specification
13
-
14
-
The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in RFC 2119.
15
-
16
-
1. Text written as plain text or a compatible markup language MAY use semantic line breaks.
17
-
2. A semantic line break MUST NOT alter the final rendered output of the document.
18
-
3. A semantic line break SHOULD NOT alter the intended meaning of the text.
19
-
4. A semantic line break MUST occur after a sentence, as punctuated by a period (.), exclamation mark (!), or question mark (?).
20
-
5. A semantic line break SHOULD occur after an independent clause as punctuated by a comma (,), semicolon (;), colon (:), or em dash (—).
21
-
6. A semantic line break MAY occur after a dependent clause in order to clarify grammatical structure or satisfy line length constraints.
22
-
7. A semantic line break is RECOMMENDED before an enumerated or itemized list.
23
-
8. A semantic line break MAY be used after one or more items in a list in order to logically group related items or satisfy line length constraints.
24
-
9. A semantic line break MUST NOT occur within a hyphenated word.
25
-
10. A semantic line break MAY occur before and after a hyperlink.
26
-
11. A semantic line break MAY occur before inline markup.
27
-
12. A maximum line length of 80 characters is RECOMMENDED.
28
-
13. A line MAY exceed the maximum line length if necessary, such as to accommodate hyperlinks, code elements, or other markup.
29
-
30
-
## Goals
31
-
32
-
1. For Writers: The agent SHALL structure Markdown text so that the physical layout of lines reflects the logical and semantic structure of the author’s thoughts.
33
-
2. For Editors: The agent SHALL produce output that makes grammatical and structural relationships easier to identify, supporting clear and efficient editing without changing meaning.
34
-
3. For Readers: The agent SHALL ensure that applied semantic line breaks do not alter the rendered appearance or interpretation of the text in any Markdown renderer.
35
-
36
-
Prompt instructions file:
37
-
38
-
# Task
39
-
40
8
Apply **Semantic Line Breaks (SemBr)** to all Markdown (`.md`) documents in
41
9
the current project.
42
10
@@ -108,9 +76,3 @@ Raw Markdown text with Semantic Line Breaks applied.
108
76
109
77
Do **not** parse, explain, or wrap the output — return only the processed
0 commit comments