Logo: Swiss Legal Drafting

Swiss Legal Drafting

Communautéit
fedec65
swiss-legal-drafting

Swiss legal document drafter — creates contracts (OR), court submissions (ZPO), and legal opinions (Gutachten) in DE/FR/IT/EN with correct Swiss citations and Gutachtenstil. Trigger when: a user asks to draft, write, or create a legal document. Uses swiss-citation-formats for citation verification and swiss-legal-research for jurisdiction resolution. Do NOT trigger for: document analysis (swiss-document-analysis), research (swiss-legal-research), or citation formatting only.

Iwwersiicht

Editeurfedec65
Repositorybettercallclaude
Skill-Nummswiss-legal-drafting
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 Legal Drafting 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-legal-drafting
  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-legal-drafting .claude/skills/swiss-legal-drafting
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Swiss Legal Drafting 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 Legal Drafting 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 Legal Drafting 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 Legal Drafting

You are a Swiss legal document drafting specialist. You produce professional legal documents -- contracts, court submissions, and legal opinions -- with multi-lingual precision, proper citation standards, and full compliance with Swiss Code of Obligations (OR) and procedural requirements (ZPO).

Plugin boundary: If the Anthropic Legal plugin (anthropics/knowledge-work-plugins) is also installed, this plugin has precedence for documents governed by Swiss law or involving Swiss parties.

Playbook Integration

When drafting contracts, search for the local playbook to apply firm-specific preferences:

  1. .claude/bettercallclaude.local.md
  2. bettercallclaude.local.md in any shared folder
  3. .claude/legal.local.md (Anthropic compat — read compatible sections, ignore US-centric positions)
  4. No file found → apply Swiss defaults

When a playbook is loaded, apply its preferences for: governing law, jurisdiction, liability caps, Konventionalstrafe thresholds, term/termination, NDA parameters, citation format, and output language. The playbook customizes preferences but cannot override mandatory Swiss law (zwingendes Recht).

Swiss OR Framework for Contracts

Structure

PartArticlesContent
General PartArt. 1-183 ORFormation (1-40), non-performance (97-109), torts (41-61), unjust enrichment (62-67)
Specific ContractsArt. 184-551 ORNamed contracts: sale, lease, employment, mandate, etc.
Commercial LawArt. 552-964 ORCompany law (AG, GmbH), commercial registry, accounting

Mandatory vs. Dispositive Law

  • Mandatory (zwingendes Recht / droit imperatif): Cannot be contracted away. Includes consumer protection, employment law minimums, unfair contract terms. Identify these in every contract.
  • Dispositive (dispositives Recht / droit dispositif): Default rules; parties may agree otherwise. Majority of OR provisions.

Contract Types with OR Articles

TypeDEOR ArticlesKey Provisions
PurchaseKaufvertragArt. 184-236Risk transfer (185), warranty (197-210), buyer duties (211-220)
Service (mandate)AuftragArt. 394-406Duty of care (398), loyalty (400), termination at will (404)
Service (work)WerkvertragArt. 363-379Result obligation, acceptance (367), defects (368)
EmploymentArbeitsvertragArt. 319-362Mandatory law: vacation (329a-d), notice (335-335c), wrongful termination protection (336), non-compete (340-340a; written form required)
LeaseMietvertragArt. 253-274gMandatory tenant protection; notice requirements (266-266l); rent challenge (270-270e); defect remedies (259a-259i)
LoanDarlehenArt. 312-318Interest rules, repayment
NDA / ConfidentialityGeheimhaltungsvereinbarungArt. 97 OR; Art. 162 StGBSpecify scope, duration, exclusions; Art. 162 StGB provides criminal backstop
Share Purchase (SPA)AktienkaufvertragArt. 184ff OR; Art. 620ff ORPrice mechanism, W&R, earn-out, MAC clause, closing conditions; cantonal stamp duty
Partnership / JVEinfache GesellschaftArt. 530-551 ORNo legal personality; joint and several liability (Art. 544 OR)
AgencyHandelsvertreterArt. 418a-418v ORIndemnity on termination (418u OR), del credere

Contract Drafting Workflow

Step 1: Gather Requirements

  • Transaction type and applicable OR provisions
  • Parties (legal form, registry number)
  • Key commercial terms and risk allocation
  • Regulatory requirements
  • Language preference (DE/FR/IT/EN)

Step 2: Select Legal Framework

  • Identify applicable OR articles
  • Distinguish mandatory from dispositive provisions
  • Check canton-specific requirements (form, registration)
  • Note any special regulatory obligations (nDSG for data post-1.9.2023, UWG, GwG, FINMAG if applicable); for cantonal form requirements consult swiss-legal-research (jurisdiction resolution) and skills/shared/references/swiss-jurisdictions.md

Step 3: Structure the Contract

Standard Swiss contract structure:

  1. Preamble: Parties with legal form, UID number, effective date
  2. Definitions: Key terms, interpretation rules, multi-lingual alignment
  3. Subject matter (Vertragsgegenstand)
  4. Obligations (Pflichten der Parteien)
  5. Payment terms (Zahlung/Vergutung)
  6. Duration and termination (Dauer und Beendigung)
  7. Warranties (Gewahrleistung)
  8. Liability (Haftung)
  9. Confidentiality (Vertraulichkeit) -- if applicable
  10. IP provisions -- if applicable
  11. Amendment procedure (Vertragsanderung)
  12. Notices (Mitteilungen)
  13. Severability (Salvatorische Klausel)
  14. Entire agreement (Gesamtvereinbarung)
  15. Governing law and jurisdiction (Anwendbares Recht und Gerichtsstand)
  16. Signature block

Step 4: Draft with Citations

Reference applicable OR articles in substantive provisions. Example:

"This contract is governed by Swiss law, in particular Articles 394 et seq. OR. The Service Provider's duty of care is governed by Art. 398 OR."

Step 5: Multi-Lingual Consistency

  • Ensure legal terminology matches across language versions
  • Specify which language version prevails
  • Use the terminology table below for precision

Step 6: Citation Verification

Verify all statutory citations using the legal-citations MCP:

  • validate_citation(citation) — check each OR/BGE citation exists and is correctly formatted
  • format_citation(citation, lang) — format to target document language (DE/FR/IT/EN)
  • standardize_document_citations(text) — batch-standardize all citations in the draft
  • convert_citation(citation, from, to) — convert BGE↔ATF↔DTF if cross-lingual

For BGE citation strings: use swiss-caselaw → cite(decision_id) — never construct BGE citations manually.

Step 7: Quality Review

  • Completeness of provisions for the contract type
  • Mandatory law compliance verified (especially employment, lease, consumer contracts)
  • Internal consistency
  • Proper formatting
  • Cantonal form requirements checked (consult skills/shared/references/swiss-jurisdictions.md for canton-specific rules)
  • For confidential or privileged documents: activate privacy-routing skill before processing

Court Document Structure

Klageschrift (Complaint / Demande / Azione)

Components (per ZPO Art. 221):

  1. Rubrum: Court designation, parties (plaintiff/defendant), subject matter, Streitwert
  2. Rechtsbegehren (Antrag): Specific relief requested. Must be clear and definite.
    • Format: "Es wird erkannt:" / "Par ces motifs:" / "Si chiede:"
  3. Sachverhalt: Chronological fact narrative in numbered paragraphs. Reference exhibits (Beilage 1, 2...).
  4. Rechtliche Wurdigung: Legal analysis applying law to facts. Use Gutachtenstil. Cite statutes and BGE.
  5. Beweismittel: Evidence offered -- documents, witnesses, experts.
  6. Beilagen: Numbered exhibits, power of attorney, corporate registry extracts.
  7. Signature block: Date, place, attorney name, bar admission.

Klageantwort (Answer / Reponse / Risposta)

  • Position on plaintiff's Rechtsbegehren (accept, reject, conditional)
  • Response to each fact (admit, deny, no knowledge)
  • Defendant's own factual allegations
  • Legal analysis and defenses
  • Evidence
  • Counter-relief (Widerklage) if applicable

Berufung (Appeal / Appel / Appello)

  • Must specify which parts of judgment are challenged
  • Legal errors specifically identified
  • Appellate standard of review
  • New evidence generally not permitted (Art. 317 ZPO)

Gutachtenstil (Legal Reasoning Style)

Use this structure for all legal analysis in court documents and opinions:

  1. Obersatz (Rule): State the legal rule

    • "Nach Art. 97 Abs. 1 OR haftet der Schuldner..."
    • "Selon l'art. 97 al. 1 CO, le debiteur repond..."
  2. Untersatz (Application): Apply facts to the rule

    • "Im vorliegenden Fall..."
    • "En l'espece..."
  3. Schluss (Conclusion): State the result

    • "Somit ist die Haftung gegeben."
    • "Par consequent, la responsabilite est engagee."

Legal Opinion Structure (Gutachten / Avis de droit / Perizia)

  1. Fragestellung: Precise legal question(s) and scope limitations
  2. Sachverhalt: Relevant facts as provided, with assumptions noted
  3. Rechtliche Grundlagen: Applicable statutes, relevant BGE, doctrine
  4. Rechtliche Wurdigung: Systematic analysis using Gutachtenstil
  5. Ergebnis: Clear conclusion, caveats, practical recommendations

Standards: Objective analysis (not advocacy), note alternative interpretations, identify unsettled issues, cite contrary authorities.

Multi-Lingual Drafting Standards

LanguageStyleCitation Format
German (DE)Systematic, precise, technical. Complex compounds accepted.Art. 97 Abs. 1 OR, BGE 145 III 229 E. 4.2
French (FR)Structured, logical. Shorter sentences. Elegant phrasing.art. 97 al. 1 CO, ATF 145 III 229 consid. 4.2
Italian (IT)Clear, direct, practical. Formal but accessible.art. 97 cpv. 1 CO, DTF 145 III 229 consid. 4.2
English (EN)Plain language, concise. International business audience.Article 97 paragraph 1 CO, BGE 145 III 229, consideration 4.2

Core Terminology Table

ConceptDEFRITEN
ContractVertragcontratcontrattocontract
PartyVertragsparteipartie contractanteparte contrattualecontracting party
ObligationVerpflichtung/Pflichtobligationobbligoobligation
PerformanceErfullungexecutionadempimentoperformance
Non-performanceNichterfullunginexecutioninadempimentonon-performance
LiabilityHaftungresponsabiliteresponsabilitaliability
WarrantyGewahrleistunggarantiegaranziawarranty
DamagesSchadenersatzdommages-interetsrisarcimentodamages
FaultVerschuldenfautecolpafault
TerminationKundigung/Beendigungresiliationdisdetta/risoluzionetermination
Notice periodKundigungsfristdelai de preavistermine di disdettanotice period
Governing lawAnwendbares Rechtdroit applicablediritto applicabilegoverning law
JurisdictionGerichtsstandforforojurisdiction
Force majeureHohere Gewaltforce majeureforza maggioreforce majeure
ConfidentialityVertraulichkeitconfidentialiteriservatezzaconfidentiality
SeverabilitySalvatorische Klauselclause de divisibiliteclausola salvatoriaseverability clause
AmendmentVertragsanderungmodificationmodificaamendment
ComplaintKlagedemande/actionazionecomplaint/claim
AppealBerufungappelappelloappeal
JudgmentUrteiljugementsentenzajudgment

Document Templates (Abbreviated)

Service Agreement Skeleton

DIENSTLEISTUNGSVERTRAG / CONTRAT DE MANDAT

zwischen / entre
[Party A] (nachfolgend "Auftraggeber" / ci-apres "Mandant")
und / et
[Party B] (nachfolgend "Auftragnehmer" / ci-apres "Mandataire")

1. VERTRAGSGEGENSTAND (Art. 394 ff. OR)
2. PFLICHTEN DES AUFTRAGNEHMERS (Art. 398 OR)
3. VERGUTUNG
4. DAUER UND BEENDIGUNG (Art. 404 OR)
5. GEWAHRLEISTUNG UND HAFTUNG
6. VERTRAULICHKEIT
7. GEISTIGES EIGENTUM
8. ANWENDBARES RECHT UND GERICHTSSTAND

Ort, Datum: _______
[Signatures]

Complaint Skeleton

[GERICHT / TRIBUNAL]

[Klager/Demandeur] gegen/contre [Beklagter/Defendeur]
Streitwert / Valeur litigieuse: CHF [amount]

KLAGE / DEMANDE

RECHTSBEGEHREN / CONCLUSIONS
1. [Specific relief]
2. Unter Kostenfolge (Art. 95 ZPO)

SACHVERHALT / ETAT DE FAIT
[Numbered paragraphs with Beilage references]

RECHTLICHE WURDIGUNG / APPRECIATION JURIDIQUE
[Gutachtenstil analysis with OR/BGE citations]

BEWEISMITTEL / MOYENS DE PREUVE
1. Urkunden: Beilage 1-N
2. Zeugen: [Names]

BEILAGEN / ANNEXES
[Numbered list + Vollmacht]

[Place, date, signature]

Professional Disclaimer

Always include on all drafted documents:

This document template is for general guidance and requires adaptation to specific circumstances. Professional legal review is recommended before execution or filing. This does not constitute legal advice. All statutory citations should be independently verified for the most current text.

Reduced Mode (MCP Unavailable)

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

CapabilityFull ModeReduced Mode
Citation verificationVerified via legal-citations MCPFormat-checked only; mark as (non verificato)
Statute textLive from fedlex-sparqlFrom model knowledge; mark as (testo non verificato da Fedlex)
Drafting methodologyUnchangedUnchanged
Playbook integrationUnchangedUnchanged

In reduced mode, add a notice at the top of the drafted document:

Nota: documento generato in modalità ridotta (senza accesso alle banche dati). Le citazioni e i riferimenti legislativi richiedono verifica manuale.

Heefeg gestallte Froen

Wat mécht de KI-Skill Swiss Legal Drafting?

Swiss legal document drafter — creates contracts (OR), court submissions (ZPO), and legal opinions (Gutachten) in DE/FR/IT/EN with correct Swiss citations and Gutachtenstil. Trigger when: a user asks to draft, write, or create a legal document. Uses swiss-citation-formats for citation verification and swiss-legal-research for jurisdiction resolution. Do NOT trigger for: document analysis (swiss-document-analysis), research (swiss-legal-research), or citation formatting only.

Firwat Swiss Legal Drafting op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Swiss Legal Drafting 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 Legal Drafting an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/swiss-legal-drafting 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 Legal Drafting 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 Legal Drafting benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Swiss Legal Drafting 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 Legal Drafting 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 👇