Логотип Swiss Legal Drafting

Swiss Legal Drafting

Спільнота
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.

Огляд

Видавецьfedec65
Репозиторійbettercallclaude
Назва навичкиswiss-legal-drafting
Зірки
46
Форки
10
Файли в пакеті
Лише інструкції
ЛіцензіяAGPL-3.0
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: fedec65. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Swiss Legal Drafting у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/swiss-legal-drafting
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Swiss Legal Drafting в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Swiss Legal Drafting, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Swiss Legal Drafting не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

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.

Поширені запитання

Що робить навичка ШІ 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.

Навіщо використовувати Swiss Legal Drafting у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Swiss Legal Drafting — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Swiss Legal Drafting у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/swiss-legal-drafting. TypingMind прочитає файл SKILL.md і встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Swiss Legal Drafting?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Swiss Legal Drafting?

Зі скількома забажаєте. У TypingMind ви можете використовувати Swiss Legal Drafting із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Swiss Legal Drafting?

Так. На GitHub цю навичку публікує fedec65 за ліцензією AGPL-3.0. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇