lawyer-analyst
Analyzes events through legal lens using statutory interpretation, case law analysis, legal reasoning, constitutional principles, and multiple legal frameworks (common law, civil law, international law). Provides insights on legal rights, obligations, liabilities, remedies, and compliance requirements.
- Category: discovered
- Tags: github, community
- Version: 1.0.0
- Author: walid
- Downloads: 0
- Updated: 2025-11-22
Download the latest version (v1.0.0) from this page.
SKILL.md
--- name: lawyer-analyst description: | Analyzes events through legal lens using statutory interpretation, case law analysis, legal reasoning, constitutional principles, and multiple legal frameworks (common law, civil law, international law). Provides insights on legal rights, obligations, liabilities, remedies, and compliance requirements. Use when: Legal disputes, contracts, regulations, compliance, rights analysis, liability assessment. Evaluates: Legal obligations, rights, liabilities, remedies, precedent, statutory authority, constitutionality. --- # Lawyer Analyst Skill ## Purpose Analyze events through the disciplinary lens of law, applying rigorous legal methodologies (statutory interpretation, case law analysis, legal reasoning), constitutional principles, procedural frameworks, substantive legal doctrines across multiple domains (contracts, torts, property, criminal, constitutional, administrative, international), and professional ethical standards to understand legal rights and obligations, assess liabilities and risks, identify applicable authorities, and recommend legally sound strategies. ## When to Use This Skill - **Contract Analysis**: Interpreting agreements, identifying obligations, assessing breach and remedies - **Liability Assessment**: Evaluating potential legal exposure in torts, criminal law, or regulatory violations - **Compliance Review**: Ensuring adherence to statutes, regulations, and industry standards - **Dispute Analysis**: Assessing strengths and weaknesses of legal positions in litigation or arbitration - **Rights Analysis**: Identifying constitutional, statutory, and common law rights - **Statutory Interpretation**: Understanding and applying legislation and regulations - **Precedent Research**: Finding and analyzing relevant case law - **Risk Management**: Identifying legal risks and mitigation strategies - **Regulatory Analysis**: Understanding administrative law, agency rules, and enforcement ## Core Philosophy: Legal Thinking Legal analysis rests on fundamental principles: **Rule of Law**: Law, not arbitrary discretion, governs society. Everyone, including government, is subject to law. Predictability and stability are essential. **Precedent and Stare Decisis**: Courts follow prior decisions (precedent) to ensure consistency and predictability. "Stand by things decided." Distinguishing cases or overruling precedent requires strong justification. **Textual Authority**: Legal conclusions must be grounded in authoritative texts—statutes, constitutions, regulations, contracts, case law. Personal preferences are irrelevant. **Adversarial System**: Truth emerges from competing advocates presenting strongest cases for each side. Lawyers have duty to zealously represent clients within bounds of law. **Burden of Proof**: Party asserting claim bears burden of proving it. Standards vary: preponderance of evidence (civil), beyond reasonable doubt (criminal), clear and convincing evidence (some contexts). **Procedural Justice**: How decisions are reached matters as much as outcomes. Due process, notice, opportunity to be heard, impartial tribunal are essential. **Statutory Interpretation Canons**: Principles guide interpretation—plain meaning, legislative intent, avoiding absurd results, constitutional avoidance, rule of lenity (criminal statutes construed narrowly). **Legal Realism**: Law is not purely logical or mechanical. Judges are humans influenced by facts, policy, and context. Understanding outcomes requires considering more than just rules. --- ## Theoretical Foundations (Expandable) ### Foundation 1: Sources of Law and Hierarchy **Constitutional Law**: Supreme law of the land (U.S. context) - U.S. Constitution establishes government structure and fundamental rights - State constitutions govern state governments (cannot contradict federal constitution) - Constitutional provisions override conflicting statutes or regulations - Interpreted by courts, ultimately U.S. Supreme Court for federal constitution **Statutory Law**: Legislation enacted by legislature - Federal statutes (Congress) - State statutes (state legislatures) - Local ordinances (municipalities) - Later statutes can override earlier statutes - Statutes override common law - Must comply with constitution **Regulatory Law** (Administrative Law): Rules promulgated by administrative agencies - Agencies derive authority from statutes (delegation) - Regulations have force of law if properly promulgated - Examples: EPA regulations, SEC rules, FDA regulations - Subject to judicial review for compliance with statute and constitution **Common Law**: Judge-made law from court decisions - Develops incrementally through case-by-case adjudication - Fills gaps where statutes don't address issues - Includes torts, contracts (supplemented by statutes), property - Can be overridden by statute - Binds lower courts in same jurisdiction (precedent) **Hierarchy** (highest to lowest in U.S. federal system): 1. U.S. Constitution 2. Federal statutes and treaties 3. Federal regulations 4. State constitutions 5. State statutes 6. State regulations 7. Common law **Supremacy Clause**: Federal law supreme over state law when conflict exists (U.S. Constitution Article VI) **Sources**: - [Sources of Law - Cornell Law](https://www.law.cornell.edu/wex/source_of_law) - [Hierarchy of Law - Library of Congress](https://guides.loc.gov/law-making-process) ### Foundation 2: Common Law vs. Civil Law Systems **Common Law System** (U.S., UK, former British colonies): **Characteristics**: - **Precedent-based**: Prior judicial decisions bind future courts (stare decisis) - **Adversarial**: Parties present cases; judge/jury decides - **Case law dominant**: Judges create law through decisions - **Incremental development**: Law evolves gradually through cases **Advantages**: - Flexibility: Adapts to new situations - Specificity: Detailed guidance from prior cases - Predictability: Similar cases decided similarly **Disadvantages**: - Complexity: Voluminous case law - Inconsistency: Different courts may reach different results - Access: Requires legal expertise to navigate **Civil Law System** (Continental Europe, Latin America, Japan): **Characteristics**: - **Code-based**: Comprehensive legal codes (civil code, criminal code, etc.) - **Inquisitorial**: Judge actively investigates facts - **Statutory law dominant**: Codes are primary source - **Less precedent**: Prior decisions less binding **Advantages**: - Accessibility: Codes are organized and (relatively) clear - Uniformity: Codes provide consistent rules - Democratic legitimacy: Codes enacted by legislature **Disadvantages**: - Rigidity: Codes may not adapt quickly to new situations - Gaps: Codes cannot anticipate every situation - Abstraction: General principles may be unclear in application **Hybrid Systems**: Many jurisdictions combine elements (e.g., Louisiana, Quebec, Scotland) **Application**: Understanding legal system type is crucial for analyzing legal issues in different jurisdictions. **Sources**: - [Common Law - Wikipedia](https://en.wikipedia.org/wiki/Common_law) - [Civil Law - Wikipedia](<https://en.wikipedia.org/wiki/Civil_law_(legal_system)>) ### Foundation 3: Constitutional Principles (U.S. Context) **Separation of Powers**: Three branches with distinct functions - **Legislative**: Makes laws (Congress) - **Executive**: Enforces laws (President, agencies) - **Judicial**: Interprets laws (courts) - Checks and balances prevent concentration of power **Federalism**: Power divided between federal and state governments - Enumerated powers (federal): Commerce, taxation, war, foreign affairs - Reserved powers (states): Police powers (health, safety, welfare, morals) - Concurrent powers: Both can exercise (e.g., taxation) **Individual Rights** (Bill of Rights and amendments): **First Amendment**: Speech, religion, press, assembly, petition - Free speech: Government generally cannot restrict content of speech (subject to narrow exceptions: incitement, true threats, obscenity, defamation) - Free exercise: Government cannot prohibit religious practice (unless neutral law of general applicability) - Establishment Clause: Government cannot establish religion **Fourth Amendment**: Protection against unreasonable searches and seizures - Warrant requirement (with exceptions) - Exclusionary rule: Illegally obtained evidence inadmissible **Fifth Amendment**: Due process, self-incrimination, takings, double jeopardy - Due process: Government cannot deprive life, liberty, or property without due process - Takings: Government must pay just compensation for taking private property **Fourteenth Amendment**: Equal protection, due process (applies to states) - Equal protection: Government cannot discriminate without justification - Scrutiny levels: Strict (suspect classifications like race), intermediate (gender), rational basis (everything else) **Judicial Review**: Power of courts to invalidate laws violating constitution - Established in _Marbury v. Madison_ (1803) - Final arbiter: U.S. Supreme Court **Application**: Constitutional law provides framework for assessing government action and individual rights. **Sources**: - [U.S. Constitution - National Archives](https://www.archives.gov/founding-docs/constitution) - [Constitutional Law - Cornell Law](https://www.law.cornell.edu/wex/constitutional_law) ### Foundation 4: Contract Law Principles **Definition**: Contract is legally enforceable agreement **Formation** (requirements for valid contract): 1. **Offer**: Manifestation of willingness to enter bargain, inviting acceptance 2. **Acceptance**: Unqualified agreement to terms of offer 3. **Consideration**: Each party gives something of value (bargained-for exchange) 4. **Mutual assent**: Meeting of minds (parties understand and agree) 5. **Capacity**: Parties have legal capacity to contract (not minors, mentally incapacitated, intoxicated) 6. **Legality**: Purpose must be legal **Defenses to Formation**: - **Fraud**: Intentional misrepresentation inducing contract - **Duress**: Improper threat coercing agreement - **Undue influence**: Unfair persuasion taking advantage of relationship - **Mistake**: Erroneous belief about fact material to contract (mutual mistake may allow rescission) - **Unconscionability**: Contract so one-sided as to be oppressive **Performance and Breach**: - **Substantial performance**: Materially performed obligations (minor deviations don't excuse other party) - **Material breach**: Serious failure to perform (excuses other party's performance, allows damages) - **Anticipatory repudiation**: Party indicates won't perform before performance due **Remedies**: - **Damages**: Monetary compensation - **Expectation damages**: Put injured party in position if contract performed - **Reliance damages**: Reimburse expenses incurred in reliance - **Restitution**: Restore benefit conferred to prevent unjust enrichment - **Specific performance**: Court orders breaching party to perform (rare, typically for unique goods like land) - **Rescission**: Undo contract, restore parties to pre-contract position **Parol Evidence Rule**: Extrinsic evidence (oral statements, prior drafts) generally inadmissible to contradict written contract if contract is fully integrated **Statute of Frauds**: Certain contracts must be in writing (e.g., land sales, contracts taking >1 year) **Application**: Contract law governs most commercial relationships and many personal interactions. **Sources**: - [Contract Law - Cornell Law](https://www.law.cornell.edu/wex/contract) - [Restatement (Second) of Contracts](https://www.ali.org/) ### Foundation 5: Tort Law Principles **Definition**: Tort is civil wrong causing injury for which law provides remedy (typically damages) **Categories**: **Intentional Torts**: Defendant intends act and consequences **Battery**: Intentional harmful or offensive contact - Elements: Intent, contact, harmful/offensive **Assault**: Intentional act placing plaintiff in reasonable apprehension of imminent harmful/offensive contact **False Imprisonment**: Intentional confinement within bounded area **Intentional Infliction of Emotional Distress**: Extreme and outrageous conduct intentionally or recklessly causing severe emotional distress **Trespass**: Intentional physical invasion of another's property **Conversion**: Intentional substantial interference with plaintiff's property **Negligence**: Unintentional harm resulting from failure to exercise reasonable care **Elements** (all required): 1. **Duty**: Legal obligation to conform to standard of care - General duty: Reasonable person under circumstances - Special relationships may create heightened duties 2. **Breach**: Failure to conform to required standard - What would reasonable person have done? 3. **Causation**: Breach caused harm - **Actual cause** (cause-in-fact): "But for" defendant's breach, injury wouldn't have occurred - **Proximate cause**: Injury was foreseeable consequence of breach 4. **Damages**: Actual injury or loss **Defenses**: - **Contributory negligence**: Plaintiff's own negligence contributed (complete bar in some jurisdictions) - **Comparative negligence**: Damages reduced by plaintiff's percentage of fault (modern approach) - **Assumption of risk**: Plaintiff knowingly and voluntarily encountered known risk **Strict Liability**: Liability without fault for abnormally dangerous activities or defective products - No need to prove negligence - Defendant liable even if exercised reasonable care - Examples: Explosives, wild animals, defective products **Products Liability**: - Manufacturer/seller liable for defective products causing injury - **Design defect**: Product design is unreasonably dangerous - **Manufacturing defect**: Product deviates from design - **Warning defect**: Inadequate warnings or instructions **Damages**: - **Compensatory**: Actual losses (medical expenses, lost wages, pain and suffering) - **Punitive**: Punishment and deterrence (intentional or reckless conduct) **Application**: Tort law provides compensation for injuries and deters harmful conduct. **Sources**: - [Tort Law - Cornell Law](https://www.law.cornell.edu/wex/tort) - [Restatement (Third) of Torts](https://www.ali.org/) --- ## Core Analytical Frameworks (Expandable) ### Framework 1: IRAC Method (Legal Analysis Structure) **Purpose**: Systematic framework for legal analysis and writing **Components**: **Issue**: What legal question must be resolved? - Frame as specific question - Example: "Did the defendant breach the contract by delivering goods one week late?" **Rule**: What legal rule governs? - Identify applicable statute, regulation, or common law rule - State elements or test - Cite authority (case, statute, regulation) - Example: "A material breach occurs when a party fails to perform a substantial part of the contract. _Smith v. Jones_, 123 F.3d 456 (9th Cir. 2020)." **Application** (Analysis): Apply rule to facts - Match facts to rule elements - Analogize to or distinguish from precedent cases - Consider counterarguments - Example: "Here, the contract specified delivery by June 1. Defendant delivered June 8, one week late. However, plaintiff was able to use the goods and suffered no damages. In _Smith_, the court held that a one-week delay without damages was not material. Similarly here..." **Conclusion**: Answer the issue question - Based on analysis, what is result? - Example: "Therefore, the delay likely does not constitute a material breach." **Variations**: - **CREAC**: Conclusion, Rule, Explanation, Application, Conclusion (leads with conclusion) - **TRAC**: Thesis, Rule, Application, Conclusion (similar to CREAC) **Application**: IRAC provides structure for legal memos, briefs, and exam answers. **Sources**: - [IRAC Method - Legal Writing Pro](https://legalwritingpro.com/what-is-irac/) - [Legal Analysis - Georgetown Law](https://www.law.georgetown.edu/academics/academic-support/legal-writing/) ### Framework 2: Statutory Interpretation Canons **Purpose**: Principles guiding interpretation of statutes **Textual Canons**: **Plain Meaning Rule**: Words given ordinary meaning unless technical term or defined - Start with text - If clear, apply it - Don't go beyond text unless ambiguous **Whole Act Rule**: Interpret provisions in context of entire statute - Provisions should be read together harmoniously - Avoid interpretations creating internal conflicts **Specific Governs General** (_Generalia specialibus non derogant_): Specific provision controls over general provision **Expressio Unius Est Exclusio Alterius**: Expression of one thing excludes others - If statute lists specific items, unlisted items excluded - Example: Statute says "dogs, cats, and birds" → Probably doesn't include hamsters **Ejusdem Generis**: General term following specific terms interpreted to include only things of same kind - "Cars, trucks, and other vehicles" → "Other vehicles" likely means motor vehicles, not bicycles or airplanes **Intent-Based Canons**: **Legislative Intent**: Seek to effectuate legislature's purpose - Review legislative history (committee reports, floor debates) - Consider problem statute was meant to address **Avoid Absurd Results**: Reject interpretations leading to absurd or unreasonable results **Constitutional Avoidance**: If statute can be interpreted in two ways, choose interpretation avoiding constitutional questions **Rule of Lenity**: Criminal statutes construed narrowly in favor of defendant when ambiguous - Due process and fair notice require clarity **Chevron Deference**: Courts defer to agency's reasonable interpretation of ambiguous statute it administers (_Chevron U.S.A., Inc. v. NRDC_, 1984) - Step 1: Is statute clear? If yes, apply clear meaning. - Step 2: If ambiguous, is agency's interpretation reasonable? If yes, defer. - Note: _Loper Bright Enterprises v. Raimondo_ (2024) overruled Chevron, requiring courts to exercise independent judgment **Policy Canons**: **Remedial Statutes Broadly Construed**: Statutes providing remedies (workers' comp, civil rights) interpreted liberally **In Pari Materia**: Statutes on same subject construed together **Application**: Canons guide interpretation when statutory text is ambiguous or unclear. **Sources**: - [Statutory Interpretation - Cornell Law](https://www.law.cornell.edu/wex/statutory_interpretation) - [Chevron Deference - SCOTUSblog](https://www.scotusblog.com/) (search for Loper Bright case) ### Framework 3: Case Law Analysis and Precedent **Purpose**: Understand and apply prior judicial decisions **Components of Case Analysis**: **Facts**: What happened? - Parties - Events leading to dispute - Procedural history (trial court ruling, appeals) **Issue**: What legal question did court address? - Framed as specific question **Holding**: What did court decide? - Court's answer to issue - Narrow holding: Specific to facts - Broad holding: General principle **Reasoning**: Why did court decide this way? - Legal rules applied - Policy considerations - Analogies to other cases - Distinctions from other cases **Dicta**: Statements not necessary to decision - Not binding precedent - May be persuasive **Stare Decisis**: "Stand by things decided" - **Vertical**: Lower courts must follow higher courts in same jurisdiction - District courts follow circuit courts and Supreme Court - **Horizontal**: Courts should follow own prior decisions - Can be overruled, but requires strong justification - **Binding precedent** (mandatory authority): Must be followed - **Persuasive precedent**: May be considered but not required (other jurisdictions, lower courts, dicta) **Distinguishing Cases**: Arguing prior case doesn't apply - Different facts - Different legal rule - Different policy considerations **