Swiss Citation Formatsのロゴ

Swiss Citation Formats

コミュニティ
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.

概要

公開者fedec65
リポジトリbettercallclaude
スキル名swiss-citation-formats
スター
46
フォーク
10
同梱ファイル
指示のみ
ライセンスAGPL-3.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

AIスキル「Swiss Citation Formats」を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-citation-formats
  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-citation-formats .claude/skills/swiss-citation-formats
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

よくある質問

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

TypingMindでSwiss Citation Formatsを使うメリットは何ですか?

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

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

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

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

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

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

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

AIスキル「Swiss Citation Formats」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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