Logo von Swiss Legal Drafting

Swiss Legal Drafting

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

Übersicht

Herausgeberfedec65
Repositorybettercallclaude
Skill-Nameswiss-legal-drafting
Sterne
46
Forks
10
Mitgelieferte Dateien
Nur Anweisungen
LizenzAGPL-3.0
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von fedec65 auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Swiss Legal Drafting in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/swiss-legal-drafting
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

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
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Swiss Legal Drafting in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Swiss Legal Drafting automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Swiss Legal Drafting nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

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.

Häufig gestellte Fragen

Was macht der 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.

Warum Swiss Legal Drafting in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Swiss Legal Drafting besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Swiss Legal Drafting in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/swiss-legal-drafting ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Swiss Legal Drafting nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Swiss Legal Drafting verwenden?

So viele Sie möchten. In TypingMind können Sie Swiss Legal Drafting mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Swiss Legal Drafting kostenlos?

Ja. Der Skill wird von fedec65 auf GitHub unter der Lizenz AGPL-3.0 veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇