Logo van Deductive Reasoning

Deductive Reasoning

Community
THUYRan
deductive-reasoning

Voer strenge juridische deductieve redeneringen uit op basis van formele logica. Gebruik deze skill wanneer de gebruiker vraagt om „de logica van een zaak te analyseren”, „juridische redeneringen te controleren”, „een syllogisme af te leiden”, „de relatie tussen zaakfeiten en rechtsbepalingen in kaart te brengen” of „de geldigheid van een juridisch argument te beoordelen”. Biedt een formeel-logisch kader voor juridische redeneringen waarmee ongestructureerde rechtsnormen en zaakfeiten worden omgezet in geldige, toetsbare en reproduceerbare deductieve argumentatieketens (P-F-C).

Add to TypingMind

Overzicht

UitgeverTHUYRan
RepositoryLegal-Skills-Chinese
Skillnaamdeductive-reasoning
Sterren
876
Forks
97
Meegeleverde bestanden
Alleen instructies
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door THUYRan op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Deductive Reasoning in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/THUYRan/Legal-Skills-Chinese/tree/main/English/skills/deductive-reasoning
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/THUYRan/Legal-Skills-Chinese.git /tmp/Legal-Skills-Chinese
mkdir -p .claude/skills
cp -r /tmp/Legal-Skills-Chinese/English/skills/deductive-reasoning .claude/skills/deductive-reasoning
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Deductive Reasoning in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Deductive Reasoning automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Deductive Reasoning niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Chinese source (authoritative): ../../skills/deductive-reasoning/SKILL.md

Deductive Reasoning

Description

Perform rigorous legal deductive reasoning based on formal logic. Use this skill when the user asks to “analyze case logic”, “verify legal reasoning”, “extract a syllogism”, “map the relationship between case facts and legal provisions”, or “assess the validity of a legal argument”. Provides a formal-logic framework for legal reasoning that turns unstructured legal norms and case facts into valid, testable, and reproducible deductive argument chains (P-F-C).

Instruction Steps

Step 1: Input

Read the case materials provided by the user and classify them into the following three initial states (if missing, temporarily record as empty):

  1. Major premise (Provision, P): Legal rules, including written law (statutes, regulations, rules) as well as case law, social norms, etc.
  2. Minor premise (Fact, f/F):
    • Natural minor premise (f): Natural events, acts, states, etc. (parties’ oral statements or factual narratives, e.g., “A asked B to transport goods”).
    • Legal minor premise (F): Events, acts, or states with legal significance (a lawyer’s or judge’s characterization of natural facts, e.g., “A and B formed a carriage contract relationship”).
  3. Conclusion (hypothesis) (Conclusion, C): Partial or final conclusions drawn in judgment documents (e.g., guilty/not guilty, breach/no breach). Partial conclusions include intermediate conclusions or hypothesis conclusions awaiting verification, such as issues summarized by the judge, or preliminary inferences by parties or counsel.

Example: 【Major premise】: empty 【Minor premise – legal facts】: empty 【Minor premise – natural facts】: Company Jia entrusted transport of a shipment of goods to consignee Company Yi. Company Jia’s legal representative contacted by phone and entrusted a certain motor transport company with the carriage. The motor transport company did not conclude a written carriage contract with Company Jia. During transport, a traffic accident caused by the driver’s negligence damaged the goods. Company Yi therefore could not receive the goods on time and suffered loss. 【Conclusion (hypothesis)】 Against whom should Company Yi claim compensation? Company Yi believes it can claim against the transport company.

Step 2: Reasoning

Strictly perform the following Parts A and B, and cycle alternately until all logic is closed and no further supplementation is needed:

A. Complete the logical structure of each part
  1. Major premise (P): Organize the logical structure; if there is no express provision, supply an implied major premise. Identify the type:
    • Categorical syllogism: Applicable to constitutive elements and conditions of establishment. Form: All acts satisfying feature $X$ have legal consequence $Y$.
    • Hypothetical syllogism: Applicable to “if … then …” rules.
      • Affirming the antecedent (modus ponens): $X \rightarrow Y$; the facts satisfy $X$, $\therefore Y$. (Most common)
      • Denying the consequent (modus tollens): $X \rightarrow Y$; $\neg Y$, $\therefore \neg X$. (Used for defenses and excluding legality)
  2. Minor premise (f/F):
    1. Clarify the nature, sequence, causation, and subordination of events.
    2. Clarify the legal relationships among subjects; check whether a legal relationship exists between each pair of subjects.
    3. Exhaust each relationship; mark missing or ambiguous legal relationships.
  3. Conclusion (C): Rank and filter multiple conclusions; identify and mark “intermediate conclusions”.
B. Link relationships and identify the middle term

Note: The middle term appears in both premises but not in the conclusion. It is the bridge connecting the syllogism, typically the “condition part” of a legal rule.

  1. Fact subsumption (f-F): Link from the natural minor premise to the legal minor premise; extract and state the middle term (e.g., the mediating concept from “failure to pay the balance” to “fundamental breach”).
  2. Finding the norm (F-P): Link from the legal minor premise to the relevant legal major premise; extract and state the middle term that triggers the provision.
  3. Deriving the conclusion (P-F-C): From the legal major premise and legal minor premise, reason to the conclusion; write it in a complete standard syllogism format; verify that the middle term has been correctly derived.

Step 3: Output

Each time this skill is invoked, output two parts strictly in the following format:

1. Explainable reasoning chain

Use a clear P-F-C structure diagram or hierarchical list to show how the conclusion traces step by step, through intermediate conclusions, legal minor premises, and natural minor premises, back and links to the corresponding major premises. Clearly mark the middle term used at each step.

Example:

  1. Fact subsumption
Natural facts (f: Raw Facts)Legal minor premise (F: Legal Facts)Characterization
f1: There is an arrangement for delivery of goods between Jia and YiF1: There is a contractual relationship between Jia and YiAn arrangement for delivery of goods usually implies a sales or supply contract
f2: Jia entrusted Bing by phone to transport the goodsF2: There is a carriage contract relationship between Jia and BingEntrustment by phone may constitute a valid oral carriage contract
f3: During transport, Bing’s driver carelessly opened the truck door, causing loss of goods; Yi failed to receive the goods on time and suffered lossF21: As carrier, Bing’s driver’s negligence caused damage to the goodsThe carrier is responsible for its staff’s negligence
f3 (same as above)Consequence of F11: Jia’s non-performance toward YiBreach caused by a third party
f5 (missing)❗ No statement whether a contract or agreement exists between Yi and BingF3 (missing): Whether a contractual relationship exists between Yi and BingNo contractual relationship stated; default is that none exists.
  1. Finding the norm
Legal minor premise FCorresponding legal norm PTriggering middle term (Middle Term)
F1: Contractual relationship between Jia and YiP1: Civil Code Art. 465(2): A lawfully established contract is legally binding only on the parties.Parties to the contract
F21: As carrier, Bing’s driver’s negligence caused damage to the goodsP3 (first sentence) Civil Code Art. 593: Breach due to a third party → liability to the counterparty.Party in breach due to a third party
F2: Carriage contract relationship between Jia and BingP3 (second sentence) Civil Code Art. 593: Disputes between a party and a third party → handled according to law or agreement.Disputes between a party and a third party
F21 (same as above)P2: Civil Code Art. 832: Carrier causes cargo damage → carrier bears liability for compensation.Carrier causes cargo damage
F3 (missing)❗: Whether Yi and Bing are parties to a contractP1: Civil Code Art. 465(2): same as aboveParties to the contract
  1. Reasoning chain C1: Yi recovers from Jia

C1‑1: Jia owes contractual duties to Yi P1: All parties to a contract → bound by the contract F1: Jia and Yi are parties to the contract C1‑1: Jia owes contractual duties to Yi

C1: Yi may recover from Jia P3‑1: Breach due to a third party → liability to the counterparty F21: Bing’s negligence caused Jia’s breach toward Yi C1: Yi may recover from Jia

C2′: Yi recovers from Bing

P1: All parties to a contract → bound by the contract F3 (missing): Yi and Bing are parties to the contract C2′: Yi may recover from Bing

C3: Jia recovers from Bing

C3‑1: Bing bears liability to Jia for compensation P2: Carrier causes cargo damage → carrier bears liability for compensation F21: Bing caused cargo damage C3‑1: Bing bears liability to Jia for compensation

C3: Jia may recover from Bing P3‑2: Disputes between a party and a third party → handled according to law or agreement F2: There is a carriage contract relationship between Jia and Bing C3: Jia may recover from Bing

2. Validity explanation report

Verify the form of the reasoning against the following standards and output a report:

  • Validity conclusion: Clearly state which parts of the reasoning chain are “valid” and which are “invalid”.
  • Fallacy explanation: If invalid, specifically identify which logical fallacy it is. When verifying validity, strictly check the following three common logical fallacies:
  1. Affirming the Consequent: - Erroneous form: $P \rightarrow Q$, $Q$, $\therefore P$.
    • Explanation: Treating “the result occurred” as “this must have been the cause”.
  2. Denying the Antecedent:
    • Erroneous form: $P \rightarrow Q$, $\neg P$, $\therefore \neg Q$.
    • Explanation: Treating “this cause is absent” as “the result will not occur”.
  3. Fallacy of Four Terms:
    • Erroneous form: All $A$ are $B$. All $C$ are $D$. $\therefore$ All $A$ are $D$.
    • Explanation: The middle term does not truly connect, or the concept was switched (the middle term must be distributed at least once).

Example:

ConclusionFormal validityMiddle-term statusFallacy typeExplanation
C1: Yi recovers from JiaValidMiddle term presentNoneReasoning chain complete
C2′: Yi recovers from BingInvalidMiddle term missingAffirming the consequentPremise forced in; reasoning structure broken
C3: Jia recovers from BingValidMiddle term presentNoneReasoning chain complete

Skill Boundaries & Troubleshooting Guide (Troubleshooting & Constraints)

Validity judgment depends only on form, not on content. Even if the major or minor premise is factually false, so long as the logical form is correct, the reasoning must still be judged “valid”.

Veelgestelde vragen

Wat doet de AI-skill Deductive Reasoning?

Voer strenge juridische deductieve redeneringen uit op basis van formele logica. Gebruik deze skill wanneer de gebruiker vraagt om „de logica van een zaak te analyseren”, „juridische redeneringen te controleren”, „een syllogisme af te leiden”, „de relatie tussen zaakfeiten en rechtsbepalingen in kaart te brengen” of „de geldigheid van een juridisch argument te beoordelen”. Biedt een formeel-logisch kader voor juridische redeneringen waarmee ongestructureerde rechtsnormen en zaakfeiten worden omgezet in geldige, toetsbare en reproduceerbare deductieve argumentatieketens (P-F-C).

Waarom Deductive Reasoning gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Deductive Reasoning bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Deductive Reasoning in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/THUYRan/Legal-Skills-Chinese/tree/main/English/skills/deductive-reasoning. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Deductive Reasoning gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Deductive Reasoning gebruiken?

Zoveel als je wilt. Je kunt Deductive Reasoning gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Deductive Reasoning gratis?

Deze skill is door THUYRan op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇