analogical-reasoning
БесплатноБез исполняемых скриптовНе проверенTrigger this skill when the AI agent must handle any of the following situations: 1. The current case/issue has no direct, clear rule in positive law (a legal…
от THUYRan★ 1 015 звёзд на GitHubОб этом скилле
Chinese source (authoritative):
../../skills/analogical-reasoning/SKILL.md
Analogical Reasoning (类比推理)
Like Cases Should Be Treated Alike · 相似案件相似处理
I. Overview Table
| Item | Content |
|---|---|
| Capability name | Analogical Reasoning |
| Core principle | Like cases should be treated alike (same case, same judgment / 同案同判) |
| Latin formulations | Argumentum a simili / Analogia legis / Analogia iuris |
| Preconditions for use | A legal gap exists or the norm is unclear, and there is substantive similarity between the matter to be decided and the reference object |
| Prohibited domains | Areas that strictly forbid analogy, e.g. criminal conviction and sentencing (principle of legality / 罪刑法定), and tax-charging elements (principle of tax legality / 税收法定) |
| Output goal | An analogy-based conclusion with supporting argumentation, including similarity analysis, difference assessment, and justification |
| Risk level | High (analogical reasoning is essentially creative legal application; conclusions are contestable) |
II. Legal Disclaimer
⚠️ Important Disclaimer
- Analogical reasoning is a methodological tool of law. Its conclusions are not equivalent to a direct statutory rule and carry contestability and uncertainty.
- Outputs of this skill are for legal analysis reference only and do not constitute formal legal advice. Final legal judgments should be made by qualified legal professionals.
- The status and use of analogical reasoning differ across legal systems (civil law / common law). Users should heed the special requirements of the applicable system.
- In fields that strictly apply the principle of legal reservation (法律保留)—especially criminal law and tax law—analogical reasoning is strictly limited or even prohibited (particularly analogy unfavorable to the party). The AI agent must identify and observe these limits.
- The AI agent should always mark the confidence level of analogical conclusions and alert the user to the limits of the argumentation.
III. Core Concepts
3.1 Definition of Analogical Reasoning
Analogical Reasoning (类比推理) is a method of legal application whereby, when the case to be decided lacks a directly applicable legal norm, one seeks an existing norm or case that is similar in essential features, and analogically applies (类推适用) that norm’s or case’s legal consequence to the case at hand.
3.2 Logical Structure of Analogical Reasoning
Premise 1: Case A has feature set {F1, F2, F3, F4} and legal consequence R applies
Premise 2: Case B has feature set {F1, F2, F3, F5}
Premise 3: Features {F1, F2, F3} are the essential features that give rise to legal consequence R (basis of similarity)
Premise 4: The difference between F4 and F5 is insufficient to affect application of legal consequence R (difference assessment)
────────────────────────────────────────────────
Conclusion: Case B should receive legal consequence R by analogical application
3.3 Key Terminology
| Term | Meaning | Notes |
|---|---|---|
| Target Case (待决案件) | The case presently to be resolved that lacks a direct legal rule | Starting point of analogical reasoning |
| Source Case / Norm (参照案件/规范) | A case or norm with a clear legal rule or judgment already in place | Foundation of analogical reasoning |
| Basis of Similarity (Tertium Comparationis / 相似性基础) | Essential features shared by the two cases that are relevant to legal evaluation | Core of analogy—must be similarity that is “legally significant” |
| Legal Gap / Lacuna (法律漏洞) | A state in which the law fails to regulate a matter that ought to be regulated | Precondition for analogical reasoning |
| Statutory Analogy (Analogia Legis / 法律类推) | Analogically applying a specific statutory provision to an unregulated similar situation | Individual / particular analogy |
| Legal Analogy (Analogia Iuris / 法律类推) | Extracting a general legal principle from multiple norms and applying it to an unregulated situation | Holistic / principle-based analogy |
| Argumentum e Contrario (反面推理) | Where the law regulates only specified situations, unregulated situations should be treated in the opposite way | The opposite method to analogy; requires judging whether the legislature intended exclusion |
| Ratio Legis (规范目的) | The purpose and values pursued by a legal norm | Key criterion for judging similarity |
3.4 Distinguishing Analogical Reasoning from Related Concepts
| Method | Relation to Analogical Reasoning | Key Distinction |
|---|---|---|
| Extensive Interpretation (扩张解释) | Easily confused | Extensive interpretation remains within the possible semantic range of the text; analogical reasoning goes beyond that range |
| Argumentum e Contrario (反面推理) | Opposite method | Contrario treats the statutory enumeration as exhaustive; analogy treats |
Установить analogical-reasoning в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл analogical-reasoning?
Trigger this skill when the AI agent must handle any of the following situations: 1. The current case/issue has no direct, clear rule in positive law (a legal gap / lacuna); 2. Existing precedents, similar cases, or closely related legal norms must be used to derive a solution for the present issue; 3. The user expressly asks to "refer to," "apply by analogy," or "analogically apply" (参照 / 比照 / 类推适用) a particular norm or case; 4. Legal argumentation must rest on the principle that "like cases should be treated alike" (相似案件相似处理); 5. Similarity and difference between two or more cases/norms must be assessed to decide whether analogy is warranted; 6. In contexts such as contract interpretation, determination of tort liability, or discretionary administrative penalties, experience from similar situations must be used to build the argument. The core of this skill is: identify the basis of similarity (tertium comparationis), justify the analogy, and on that basis reach a reasoned legal conclusion.
Как установить скилл analogical-reasoning?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл analogical-reasoning запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic