effective-german-typography
npx skills add https://github.com/sebastian-software/effective-german-typography-skill --skill effective-german-typography
Agent 安装分布
Skill 文档
Effective German Typography
Apply these rules when writing or editing German text. Apply changes silently unless it’s a larger transformation task, then provide a short summary.
Important: Only apply to visible rendered text. Do not modify code, attribute values, or content intended for copy-paste into source files. Typography rules are suspended inside Markdown code blocks and inline code.
Quick Reference
| Character | Unicode | Name | Usage |
|---|---|---|---|
| â | U+201E | Opening quote (DE/AT) | âBeispiel” |
| “ | U+201C | Closing quote (DE/AT) | âBeispiel” |
| â | U+201A | Opening single quote | ânested’ |
| ‘ | U+2018 | Closing single quote | ânested’ |
| « | U+00AB | Opening guillemet (CH) | «Beispiel» |
| » | U+00BB | Closing guillemet (CH) | «Beispiel» |
| â¹ | U+2039 | Single guillemet open | â¹nested⺠|
| ⺠| U+203A | Single guillemet close | â¹nested⺠|
| â | U+2013 | En dash | Ranges, Gedankenstrich |
| â | U+2212 | Minus sign | Math only |
| ⦠| U+2026 | Ellipsis | Not three periods |
| ‘ | U+2019 | Apostrophe | Klaus’ Haus, O’Brien |
| Ã | U+00D7 | Multiplication | 5 Ã 3 |
| U+00A0 | Non-breaking space | Before units, % | |
| U+2009 | Thin space | Abbreviations, numbers | |
| Ạ| U+1E9E | Capital Eszett | STRAáºE (DE/AT) |
| â² | U+2032 | Prime (feet) | 5â² |
| â³ | U+2033 | Double prime (inch) | 10â³ |
Core Rules
Quotation Marks
Germany/Austria: âAnführungszeichen” with âsingle quotes’ for nested.
âEr sagte: âKomm morgen.'"
Switzerland: «Guillemets» with â¹single⺠for nested.
«Er sagte: â¹Komm morgen.âºÂ»
For quotations nested beyond two levels, ask the user for preference.
Dashes
| Type | Character | Usage | Example |
|---|---|---|---|
| Hyphen | – | Compound words | Müller-Schmidt |
| En dash (no space) | â | Ranges | 2020â2025, 9â17 Uhr, S. 15â20 |
| En dash (with spaces) | â | Gedankenstrich | Das Wetter â so schön heute â war perfekt. |
| Minus | â | Math formulas | 5 â 3 = 2 |
Avoid em dash (â). Use en dash with spaces for Gedankenstrich.
Spaces with Numbers and Units
Use non-breaking space (thin space preferred) between number and unit:
5 kg, 20 °C, 100 km/h, 50 â¬, 25 %, 30 â°
Currency: Symbol after number with space: 50 â¬
Percent/Permille: Space before symbol: 25 %
Plus/minus: No space after: ±5 %
Section sign: Non-breaking space: § 123
Large Numbers
Prefer thin spaces (DIN 5008): 1 000 000
Periods acceptable based on context: 1.000.000
If context is unclear, ask user with preference for thin spaces.
Decimal separator: Always comma: 3,14
Apostrophe
Use typographic apostrophe (U+2019):
Klaus' Haus
So'n Quatsch
O'Brien, McDonald's
Ellipsis
Use single ellipsis character (â¦), not three periods:
Er dachte nach â¦
At sentence end, four dots (ellipsis + period):
Er sagte noch etwas ⦠.
In brackets for omissions: [â¦]
Abbreviations
Use thin space (or regular space) after periods in abbreviations:
z. B., d. h., u. a., usw., etc.
At sentence end, only one period:
Das gilt für Bücher, Zeitschriften usw.
Ordinal Numbers
Period after number, non-breaking space before following word:
1. Platz
der 3. Mai
Time and Date
Time: 24-hour format with colon: 14:30 Uhr
Time ranges: En dash without spaces: 9â17 Uhr, 14:00â15:30
Date: Standard format DD.MM.YYYY: 24.12.2024
Footnotes
- Place directly after the word/phrase the footnote refers to
- If referring to whole sentence, place after punctuation
Laut Müller¹ ist dies korrekt.
Die Theorie wurde widerlegt.²
Multiplication Sign
Use à (U+00D7) not x:
5 Ã 3 = 15
BildgröÃe: 10 à 15 cm
Prime Marks
Keep distinct from quotes for measurements:
5â² 10â³ (5 feet 10 inches)
Spacing Rules
Plenken (wrong): Space before punctuation â Avoid Klempen (wrong): Missing space after punctuation â Avoid
Wrong: Das ist falsch , oder ?
Right: Das ist falsch, oder?
No space before colon (unlike French):
Beispiel: So ist es richtig.
Non-breaking Elements
Use non-breaking space/hyphen to prevent unwanted line breaks:
- Before units:
50 ⬠- Before percent:
25 % - In phone numbers:
030 123 45 67 - After section sign:
§ 123 - After ordinals:
1. Platz
Use non-breaking hyphen in:
- Phone numbers:
030â12345 - ISBN numbers
Advanced Typography
Apply only where the format supports it (rich text, CSS):
Small Caps
Use for acronyms and Roman numerals in body text for visual harmony:
<span class="small-caps">NATO</span> <span class="small-caps">XVII</span>.
Jahrhundert
Ligatures
In serif fonts, enable ligatures for: ff, fi, fl, ft
Not applicable to sans-serif fonts.
Regional Variants
Default: Germany German
Only apply Swiss or Austrian rules when there’s a clear hint from user or context.
Swiss German (CH)
- Quotation marks: «Guillemets» and â¹singleâº
- No Eszett: Ã â ss (StraÃe â Strasse)
Austrian German (AT)
- Same as Germany German
- Use capital Eszett in all-caps: STRAáºE
Germany German (DE)
- Quotation marks: âAnführungszeichen” and âsingle’
- Use capital Eszett in all-caps: STRAáºE
Format-Specific Guidance
HTML Entities vs Unicode
Check existing context:
- If HTML entities present (
–,„), use entities - If Unicode characters present, use Unicode
- If unclear, ask user; default to Unicode
Common entities:
| Character | Entity |
|---|---|
| â | „ |
| “ | “ |
| â | – |
| ⦠| … |
| Ã | × |
|
|
  |
Markdown/Plain Text
Use Unicode characters directly.
JSX
Use Unicode in visible text content. Do not modify string literals in code or attributes.
Related References
- Print Typography â Page layout, hyphenation, and PDF generation