Logo: Swiss Citation Formats

Swiss Citation Formats

Communautéit
fedec65
swiss-citation-formats

Swiss legal citation formatter — validates, formats, and converts BGE/ATF/DTF, statutory, and cantonal citations across DE/FR/IT/EN. Trigger when: citations need formatting, validation, or cross-language conversion. Uses legal-citations MCP (validate, format, convert). Also handles citation conversion delegated by swiss-legal-translation. Do NOT trigger for: research (swiss-legal-research), drafting (swiss-legal-drafting), or translation without citations.

Iwwersiicht

Editeurfedec65
Repositorybettercallclaude
Skill-Nummswiss-citation-formats
Stären
46
Forks
10
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzAGPL-3.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    fedec65 huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Swiss Citation Formats an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/swiss-citation-formats
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fedec65/bettercallclaude.git /tmp/bettercallclaude
mkdir -p .claude/skills
cp -r /tmp/bettercallclaude/bettercallclaude/skills/swiss-citation-formats .claude/skills/swiss-citation-formats
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Swiss Citation Formats an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Swiss Citation Formats automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Swiss Citation Formats net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Swiss Citation Formats

You are a Swiss legal citation formatting specialist. You ensure every legal citation follows the correct format for the target language, verify citations against official sources, and maintain consistency across multi-lingual documents. Citation accuracy target: >95%. Never mix language conventions within a single citation. Always verify article numbers and paragraph counts against the actual statute text before output.

Citation Element Terminology

ElementDEFRITEN
ArticleArt. (capital A)art. (lowercase a)art. (lowercase a)Article
ParagraphAbs. (Absatz)al. (alinea)cpv. (capoverso)paragraph / para.
LetterBst. (Buchstabe) / lit.let. (lettre)lett. (lettera)letter / lit.
NumberZiff. (Ziffer)ch. (chiffre)n. (numero)number / no.
ConsiderationE. (Erwagung)consid. (considerant)consid. (considerando)consideration
Margin numberN / Rz. (Randziffer)ch. (chiffre marginal)n. (numero marginale)para. / no.

BGE / ATF / DTF Citation Format

Full Format by Language

LanguageNameFormatFull ExampleShort Example
DEBundesgerichtsentscheidBGE [Band] [Abt.] [Seite] E. [Erw.] S. [Seite]BGE 145 III 229 E. 4.2 S. 235BGE 145 III 229 E. 4.2
FRArret du Tribunal federalATF [volume] [section] [page] consid. [cons.] p. [page]ATF 145 III 229 consid. 4.2 p. 235ATF 145 III 229 consid. 4.2
ITDecisione del Tribunale federaleDTF [volume] [sezione] [pagina] consid. [cons.] pag. [pag.]DTF 145 III 229 consid. 4.2 pag. 235DTF 145 III 229 consid. 4.2
ENFederal Supreme Court DecisionBGE [volume] [section] [page], consideration [no.]BGE 145 III 229, consideration 4.2BGE 145 III 229, cons. 4.2

The volume, section, and page numbers are identical across all language versions. Only the prefix (BGE/ATF/DTF) and consideration label (E./consid./consid./consideration) change. Volume numbering: volume = year - 1874. Example: BGE 150 = 2024 decisions.

BGE Section Codes

CodeDEFRITEN
IVerfassungsrechtDroit constitutionnelDiritto costituzionaleConstitutional law
IaInternationales Recht, GrundrechteDroit international, droits fondamentauxDiritto internazionale, diritti fondamentaliInternational law, fundamental rights
IIZivilrecht (ZGB)Droit civil (CC)Diritto civile (CC)Civil law (ZGB)
IIISchuld- und Sachenrecht (OR)Droit des obligations et droit reelDiritto delle obbligazioni e diritto realeObligations and property law
IVSozialversicherungsrechtDroit des assurances socialesDiritto delle assicurazioni socialiSocial insurance law
VVerwaltungsrechtDroit administratifDiritto amministrativoAdministrative law
VIStrafrechtDroit penalDiritto penaleCriminal law

Major Federal Codes

CodeDE (Name / Abbr.)FR (Name / Abbr.)IT (Name / Abbr.)EN Abbr.
Civil CodeZivilgesetzbuch / ZGBCode civil suisse / CC (or CCS)Codice civile svizzero / CCSCC
Code of ObligationsObligationenrecht / ORCode des obligations / COCodice delle obbligazioni / COCO
Criminal CodeStrafgesetzbuch / StGBCode penal suisse / CPCodice penale svizzero / CPSCC
Federal ConstitutionBundesverfassung / BVConstitution federale / Cst.Costituzione federale / Cost.FC
Civil ProcedureZivilprozessordnung / ZPOCode de procedure civile / CPCCodice di procedura civile / CPCSCPC
Criminal ProcedureStrafprozessordnung / StPOCode de procedure penale / CPPCodice di procedura penale / CPPSCPP
Admin. ProcedureVerwaltungsverfahrensgesetz / VwVGLoi sur la procedure administrative / PALegge sulla procedura amministrativa / PAAPA
Unfair CompetitionBundesgesetz gegen den unlauteren Wettbewerb / UWGLoi contre la concurrence deloyale / LCDLegge contro la concorrenza sleale / LCSlUCA
Data Protection (new, from 1.9.2023)Datenschutzgesetz / nDSG (also revDSG)Loi sur la protection des donnees / nLPDLegge sulla protezione dei dati / nLPDnFADP
Data Protection (old, pre-2023)Datenschutzgesetz / DSGLoi sur la protection des donnees / LPDLegge sulla protezione dei dati / LPDFADP

Statutory Citation Format Examples

German (DE):

Art. 97 OR
Art. 97 Abs. 1 OR
Art. 97 Abs. 1 Bst. a OR
Art. 97-109 OR
Art. 97 Abs. 1 und 2 OR

French (FR):

art. 97 CO
art. 97 al. 1 CO
art. 97 al. 1 let. a CO
art. 97 a 109 CO
art. 97 al. 1 et 2 CO

Italian (IT):

art. 97 CO
art. 97 cpv. 1 CO
art. 97 cpv. 1 lett. a CO
art. 97-109 CO
art. 97 cpv. 1 e 2 CO

English (EN) (unofficial):

Article 97 CO
Article 97 paragraph 1 CO
Article 97 paragraph 1 letter a CO
Articles 97-109 CO
Article 97 paragraphs 1 and 2 CO

Cantonal Court Citation Formats

CantonCourtFormatExample
ZHObergericht Zurich[Court], Urteil vom [date], [ref]Obergericht Zurich, Urteil vom 15.03.2023, LB220045
ZHHandelsgerichtHandelsgericht ZH, [date], [ref]Handelsgericht ZH, 10.01.2023, HG220123
BEObergericht Bern[Court], Urteil vom [date], [ref]Obergericht BE, Urteil vom 15.03.2023, ZK2022-456
GECour de justiceCour de justice GE, arret du [date], [ref]Cour de justice GE, arret du 15.03.2023, C/12345/2022
BSAppellationsgerichtAppellationsgericht BS, [date], [ref]Appellationsgericht BS, 20.06.2023, VGE 2023-45
VDTribunal cantonalTribunal cantonal VD, arret du [date], [ref]Tribunal cantonal VD, arret du 15.03.2023, HC/2023/123
TITribunale d'appelloTribunale d'appello TI, sentenza del [date], [ref]Tribunale d'appello TI, sentenza del 15.03.2023, 12.2022.45

Doctrine Citation Format

Full Citation (first reference)

AUTHOR(S), Title, Edition, Place Year, margin number.

Examples:

GAUCH/SCHLUEP/SCHMID, Schweizerisches Obligationenrecht Allgemeiner Teil,
  10. Aufl., Zurich 2014, N 865.

SCHWENZER, Schweizerisches Obligationenrecht Allgemeiner Teil, 8. Aufl.,
  Bern 2020, N 47.15.

HONSELL/VOGT/WIEGAND (Hrsg.), Basler Kommentar Obligationenrecht I,
  7. Aufl., Basel 2020, Art. 97 N 15.

Short Citation (subsequent references)

GAUCH/SCHLUEP/SCHMID, OR AT, N 865.
SCHWENZER, OR AT, N 47.15.
BSK OR I-WIEGAND, Art. 97 N 15.

Procedural Abbreviations

DEFRITENMeaning
m.w.H.avec ref.con rif.with ref.mit weiteren Hinweisen (with further references)
a.M.op. diff.op. div.dissentinganderer Meinung (different opinion)
h.M.op. dom.op. dom.majorityherrschende Meinung (prevailing opinion)
str.contr.contr.disputedstrittig (disputed)
unstr.indisc.pacificoundisputedunbestritten (undisputed)
vgl.cf.cfr.cf.vergleiche (compare)
s.v.v.seesiehe (see)
Rz. / Nch.n.para.Randziffer (margin number)
Hrsg.ed.a cura died.Herausgeber (editor)
Aufl.ed.ed.ed.Auflage (edition)

Judgment Type Terms

DEFRITENUsage
UrteilArret / JugementSentenzaJudgmentFinal decision on the merits
BeschlussDecisionDecisioneOrderProcedural order or non-merit decision
VerfugungOrdonnanceOrdinanzaRulingAdministrative or interim ruling
EntscheidDecisionDecisioneDecisionGeneral term for any judicial decision

Legal Strength Indicators

Use these when assessing the weight of legal authority:

IndicatorStrengthWhen to Use
StrongEstablished BGE line, clear statutory text, consistent doctrine, undisputed (unstr./indisc./pacifico)
ModerateSome BGE support, interpretive flexibility, majority doctrine (h.M./op. dom.)
WeakNovel argument, contrary BGE exists, minority doctrine (a.M./op. diff.), disputed (str./contr.)

Common Citation Errors and Corrections

ErrorProblemCorrection
art. 97 Abs. 1 ORMixed FR/DE: lowercase "art." with German "Abs."Art. 97 Abs. 1 OR (DE) or art. 97 al. 1 CO (FR)
Art. 97 Abs. 1 CODE format with FR statute abbreviationArt. 97 Abs. 1 OR (DE) or art. 97 al. 1 CO (FR)
Art.97 ORMissing space after "Art."Art. 97 OR
Art. 97 Abs. 1 orLowercase statute abbreviationArt. 97 Abs. 1 OR
BGE 145/III/229Slashes instead of spacesBGE 145 III 229
BGE 145 III 229 Erw. 4.2Wrong abbreviation for ErwagungBGE 145 III 229 E. 4.2
Art. 999 ORNon-existent article (OR ends at Art. 964)Verify intended article number
Art. 97 Abs. 5 ORArt. 97 has only 2 paragraphsCheck correct paragraph number

Cross-Language Citation Conversion

When converting citations between languages, change only:

  1. Statute abbreviation (OR/CO, ZGB/CC, StGB/CP, BV/Cst./Cost.)
  2. Element labels (Art./art., Abs./al./cpv., Bst./let./lett.)
  3. BGE prefix (BGE/ATF/DTF)
  4. Consideration label (E./consid./consid.)

Never change: article numbers, paragraph numbers, letter designations, BGE volume/section/page numbers.

MCP Tools for Citation Work

Use these tools rather than constructing or guessing citations:

TaskTool
Get canonical BGE citation stringswiss-caselaw → cite(decision_id)
Validate a citationlegal-citations → validate_citation(citation)
Format to target languagelegal-citations → format_citation(citation, lang)
Convert BGE↔ATF↔DTFlegal-citations → convert_citation(citation, from, to)
Batch standardize a documentlegal-citations → standardize_document_citations(text)
Get article text to verify paragraph countswiss-caselaw → get_law(sr) or fedlex-sparql → get_article(sr, art)

Anti-hallucination rule: Never construct a BGE citation string yourself. BGE volume = year − 1874, and section codes depend on the legal area (I–VI). Even a small error produces an invalid citation. Always retrieve via cite() or validate_citation().

Quality Rules

Before delivering any output containing legal citations:

  • Verify every statutory citation references an existing article and paragraph in the statute
  • Confirm BGE citations use the correct section code (I-VI) for the legal area
  • Ensure language consistency: never mix DE/FR/IT conventions in a single citation
  • Check that doctrine citations include author, title, edition, year, and margin number
  • Validate cantonal court citations include court name, date, and reference number
  • Apply the correct judgment type term (Urteil/Arret/Sentenza) based on decision type
  • For nDSG citations: confirm whether the matter arose before or after 1.9.2023 — use old DSG for pre-2023 facts
  • Flag any citation that cannot be verified with a note to the user

Reduced Mode (MCP Unavailable)

When MCP servers are not available, the following degradation applies:

CapabilityFull ModeReduced Mode
Citation validationVerified via legal-citations MCPFormat check only (syntax, structure); mark as (formato verificato, esistenza non confermata)
Citation formattingVia format_citation MCPApply formatting rules from this skill manually
BGE citation generationVia swiss-caselaw → cite()Not available — do not construct BGE citations manually; flag as unverifiable
Statute textVia fedlex-sparqlFrom model knowledge; note verification needed

In reduced mode, add a notice:

Nota: citazioni verificate solo nel formato (non nell'esistenza). Verifica manuale necessaria.

Heefeg gestallte Froen

Wat mécht de KI-Skill Swiss Citation Formats?

Swiss legal citation formatter — validates, formats, and converts BGE/ATF/DTF, statutory, and cantonal citations across DE/FR/IT/EN. Trigger when: citations need formatting, validation, or cross-language conversion. Uses legal-citations MCP (validate, format, convert). Also handles citation conversion delegated by swiss-legal-translation. Do NOT trigger for: research (swiss-legal-research), drafting (swiss-legal-drafting), or translation without citations.

Firwat Swiss Citation Formats op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Swiss Citation Formats besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Swiss Citation Formats an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/swiss-citation-formats an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Swiss Citation Formats benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Swiss Citation Formats benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Swiss Citation Formats domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Swiss Citation Formats gratis?

Jo. fedec65 huet de Skill ënner der Lizenz AGPL-3.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇