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でも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    fedec65がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Swiss Legal Drafting」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/swiss-legal-drafting
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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で使用

TypingMindのチャットでSwiss Legal Draftingを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にSwiss Legal Draftingを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Swiss Legal Draftingは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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.

よくある質問

AIスキル「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.

TypingMindでSwiss Legal Draftingを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Swiss Legal Draftingはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSwiss Legal Draftingをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/fedec65/bettercallclaude/tree/main/bettercallclaude/skills/swiss-legal-draftingを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Swiss Legal Draftingを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Swiss Legal Draftingで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSwiss Legal Draftingを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Swiss Legal Drafting」は無料ですか?

はい。fedec65がAGPL-3.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇