sembr-reformat
/sembr-reformat
Przeformatowuje prozę na semantyczne łamanie wierszy, jedna myśl w wierszu, zachowując renderowany wynik i sens tekstu.
Ocena i bezpieczeństwo
- Pliki w paczce
- 3
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 20.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/check.py
Co robi i kiedy
Przeformatowuje prozę na semantyczne łamanie wierszy, jedna myśl w wierszu, zachowując renderowany wynik i sens tekstu.
Oryginalny opis (EN)
Reformat prose using Semantic Line Breaks (SemBr) from https://sembr.org while preserving rendered output and meaning. Use when asked to reflow plain text or compatible markup (Markdown, AsciiDoc, reStructuredText, LaTeX, Org, MediaWiki) into semantic one-thought-per-line formatting, or when improving prose diffs and editorial readability.
Jak działa
- Reformat Workflow
- SemBr Rules
- Quality Checks
- Output Style
Podgląd SKILL.md
--- name: sembr-reformat description: Reformat prose using Semantic Line Breaks (SemBr) from https://sembr.org while preserving rendered output and meaning. Use when asked to reflow plain text or compatible markup (Markdown, AsciiDoc, reStructuredText, LaTeX, Org, MediaWiki) into semantic one-thought-per-line formatting, or when improving prose diffs and editorial readability. --- # Reformat With SemBr Apply Semantic Line Breaks to prose without changing what readers see. Preserve wording, punctuation, and intent. ## Reformat Workflow 1. Identify prose regions that support soft-wrapped lines. 2. Skip regions where line breaks are syntactically significant: - fenced code blocks and indented code blocks - tables - YAML frontmatter - URLs or markup tokens that must stay contiguous 3. Rewrite only line wrapping, not content. 4. Keep paragraphs and list structures intact. 5. Return full rewritten text unless asked for a targeted excerpt. ## SemBr Rules Apply these rules in order: 1. Break after every sentence ending in `.`, `!`, or `?`. 2. Prefer a break after independent clauses ending in `,`, `;`, `:`, or `—`. 3. Optionally break after dependent clauses when it clarifies structure. 4. Insert a break before an enumerated or itemized list. 5. Optionally add breaks between list items to group related items. 6. Never break inside a hyphenated word. 7. Allow breaks around hyperlinks and before inline markup when helpful. 8. Target 80 columns when possible; allow longer lines for URLs, code spans, or unavoidable markup. ## Quality Checks After rewriting a file, run `scripts/check.py` from this skill's directory: ```console python3 scripts/check.py path/to/file.md ``` It compares the file with its version at `HEAD` and fails if anything other than line breaks changed: a word, a code line or code block, a table, or a break that changes how the text renders, such as a new list item, a joined heading, or a hard line break. In source files, it checks that only comments were rewrapped. It also warns about changed lines over 80 columns and sentences that continue on the same line. Fix each error and warning, then run it again. Pass `--before <file>` to compare with a saved copy instead, or run it with no files to check every file changed since `HEAD`. It needs Python 3.9 or later and no other packages. If the script isn't available, verify by hand: - Rendering-equivalence: no hard-break syntax added accidentally. - Meaning-equivalence: no word changes or punctuation edits. - Structure-equivalence: headings, lists, and block boundaries unchanged. - Diff-friendliness: edits are mostly line-wrap changes. ## Output Style Use minimal explanation. Return reformatted text directly. If any segment cannot be safely reformatted, leave it unchanged and add a one-line note.
Pliki w paczce (3)
- SKILL.md 3 KB
- agents/openai.yaml 1 KB
- scripts/check.py 21 KB
Wersje
W bazie nie ma innych skilli o nazwie sembr-reformat.
Migawka bazy z 13.11.2026 · wersja paczki 1ff4c1c9d385 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90markdown-no-artificial-line-wraps
Pisze i edytuje Markdown bez ręcznych łamań wierszy na stałej szerokości kolumny, dzięki czemu diffy są czytelniejsze, a tekst sam się zawija w GitHubie i edytorach. - 90pdf
Tworzy, wypełnia i przeformatowuje pliki PDF, w tym raporty z tabelami, wykresami, równaniami i cytowaniami, oraz zamienia Markdown lub tekst na PDF. - 100pdf
Tworzy od zera, wypełnia i przeformatowuje PDF-y o dopracowanym wyglądzie: raporty, oferty, CV i dokumenty gotowe dla klienta. - 100ape-style-markdown
Stosuje spójne profesjonalne reguły formatowania Markdown przy tworzeniu lub porządkowaniu dokumentów, plików README i notatek. - 100minimax-pdf
Tworzy, wypełnia i przeformatowuje pliki PDF o dopracowanym wyglądzie, takie jak raporty, oferty, CV i formularze. - 100edit-for-readability
Stosuje standard czytelności Hana do pliku, wklejonego tekstu lub szkicu, przepisując prozę tak, by główna myśl była pierwsza, nagłówki opisowe, a zdania krótkie i czynne, z zachowaniem faktów.