Logo van Swiss Citation Formats

Swiss Citation Formats

Community
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.

Overzicht

Uitgeverfedec65
Repositorybettercallclaude
Skillnaamswiss-citation-formats
Sterren
46
Forks
10
Meegeleverde bestanden
Alleen instructies
LicentieAGPL-3.0
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door fedec65 op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Swiss Citation Formats in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/swiss-citation-formats
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die 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 na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Swiss Citation Formats in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Swiss Citation Formats automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Swiss Citation Formats niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Veelgestelde vragen

Wat doet de AI-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.

Waarom Swiss Citation Formats gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Swiss Citation Formats bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Swiss Citation Formats in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/swiss-citation-formats. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Swiss Citation Formats gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Swiss Citation Formats gebruiken?

Zoveel als je wilt. Je kunt Swiss Citation Formats gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Swiss Citation Formats gratis?

Ja. Deze skill is door fedec65 op GitHub gepubliceerd onder de licentie AGPL-3.0. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇