| name | specialized legal rule-mapping |
| description | Use this skill when the user provides a 'story' or hypothetical scenario and needs to find the specific legal rules or statutes that apply to it, even if the scenario and the documents share very few common words. It is triggered by requests like 'find the laws that cover this situation,' 'tell me if this person broke a rule based on the handbook,' 'apply the housing code to this tenant story,' or 'help me with a bar-exam style legal lookup.' This skill maps everyday factual descriptions to formal legal authority through reasoning-driven retrieval. |
Skill: specialized legal rule-mapping
1. Capability Definition & Real Case
- Professional Definition: The ability to retrieve relevant legal authorities (statutes, case law, or regulations) for complex factual scenarios where lexical overlap is minimal. This requires the agent to perform latent legal issue spotting, brainstorm relevant rules, and utilize analogical reasoning to connect factual descriptions to formal, often abstract, legal language.
- Dimension Hierarchy: Specialized Knowledge Navigation -> Corpus-Specific Retrieval & Reasoning -> specialized legal rule-mapping
Real Case
[Case 1]
- Initial Environment: A bounded corpus of U.S. case law and the 14th Amendment. The agent is tasked with finding whether a private school's action constitutes state action.
- Real Question: A teacher at a private school receiving 20% state funding and free textbooks was fired for criticizing school uniforms. If he sues alleging constitutional violations, will he succeed?
- Real Trajectory: The agent identifies the core issue as 'State Action Doctrine' for private entities. It ignores simple keywords like 'uniforms' or 'history teacher' and instead searches for rules involving 'significant state involvement' and 'exclusively public functions.' It retrieves the 14th Amendment and Rendell-Baker v. Kohn, which states that licensing and funding do not convert private personnel matters into state action.
- Real Answer: Fail, because assistance and involvement by the state did not result in the private school's action being conduct by the state.
- Why this demonstrates the capability: The question uses specific scenario-based language (teacher, uniforms, textbooks) that does not appear in the formal constitutional rule. The agent must reason that a private school is not a state actor despite partial funding, mapping the facts to the abstract 'State Action' legal rule.
[Case 2]
- Initial Environment: A database of state housing statutes (e.g., Alabama Code). The agent must determine if a tenant has specific defenses during an eviction process.
- Real Question: Does the law specify rebuttals available to tenants subject to eviction proceedings in Alabama?
- Real Trajectory: The agent navigates the Alabama Code, specifically moving past generic 'eviction' headers to find substantive defenses. It identifies Section 35-9A-407 and 35-9A-204, which detail remedies for landlord non-compliance as valid counterclaims. It records that acceptance of rent with knowledge of default also acts as a waiver of the landlord's right to terminate.
- Real Answer: Yes
- Why this demonstrates the capability: The query is a functional question about 'rebuttals,' but the statutes use technical terms like 'counterclaim,' 'defense in retaliatory action,' and 'waiver of right.' Success requires the agent to understand the conceptual mapping between the layman's 'rebuttal' and the legal 'counterclaim/defense.'
Pipeline Execution Instructions
To synthesize data for this capability, you must strictly follow a 3-phase pipeline. Do not hallucinate steps. Read the corresponding reference file for each phase sequentially:
-
Phase 1: Environment Exploration
Read the exploration guidelines to discover raw knowledge seeds:
references/EXPLORATION.md
-
Phase 2: Trajectory Selection
Once Phase 1 is complete, read the selection criteria to evaluate the trajectory:
references/SELECTION.md
-
Phase 3: Data Synthesis
Once a trajectory passes Phase 2, read the synthesis instructions to generate the final data:
references/SYNTHESIS.md