lex
Centralized 'Truth Engine' for cross-jurisdictional legal context (US, EU, CA) and contract scaffolding.
- License 许可
- Apache-2.0
- 最近更新
- 2026-06-23
- Stars
- ★ 6
- Forks
- 0
01 前言 Front Matter
- name
- lex
- risk
- safe
- tags
- [ "legal", "context", "cross-jurisdictional", "compliance", "scaffolding" ]
- tools
- [ "claude", "cursor", "gemini" ]
- author
- Svobikl
- source
- community
- category
- business
- date_added
- 2026-03-10
- description
- Centralized 'Truth Engine' for cross-jurisdictional legal context (US, EU, CA) and contract scaffolding.
02 资源文件 21
- 参考文档findings.md4.1 KB
- 参考文档MigrationNotes.md4.7 KB
- 参考文档QuickReference.md1.6 KB
- 参考文档templates/01_business_foundation.md2.7 KB
- 参考文档templates/02_employment_workforce.md2.9 KB
- 参考文档templates/03_sales_commercial.md2.8 KB
- 参考文档templates/04_real_estate.md2.4 KB
- 参考文档templates/05_intellectual_property.md2.4 KB
- 参考文档UrlVerificationProtocol.md1.9 KB
- 参考文档Workflows/AnalyzeAiTrends.md3.1 KB
- 参考文档Workflows/ClaudeResearch.md3.6 KB
- 参考文档Workflows/Enhance.md2.4 KB
- 参考文档Workflows/ExtensiveResearch.md4.6 KB
- 参考文档Workflows/ExtractAlpha.md18.0 KB
- 参考文档Workflows/ExtractKnowledge.md4.8 KB
- 参考文档Workflows/InterviewResearch.md4.4 KB
- 参考文档Workflows/QuickResearch.md1.2 KB
- 参考文档Workflows/Retrieve.md14.4 KB
- 参考文档Workflows/StandardResearch.md2.5 KB
- 参考文档Workflows/WebScraping.md2.1 KB
- 参考文档Workflows/YoutubeExtraction.md2.1 KB
03 SKILL.md 正文
LEX: Legal-Entity-X-ref
Overview
LEX is a structured truth engine designed to eliminate legal hallucinations by grounding agents in verified government references and legislation across 29+ jurisdictions. It provides deterministic context for business formation, employment, and contract drafting.
When to Use This Skill
- Use when you need to cross-reference or compare legal requirements between different territories, such as verifying the compliance gap between an EU SARL and a US LLC.
- Use when working with foundational business or employment documents that require specific, jurisdiction-compliant clauses to be inserted into a professional scaffold.
- Use when the user asks about the specific regulatory nuances, formation steps, or "truth-based" definitions of legal entities within the 29 supported jurisdictions (USA, Canada, and the EU).
How It Works
Step 1: Identify Jurisdiction
Before drafting, determine if the user's entity or contract target is in the USA, Canada, or the EU.
Step 2: Search & Fetch Context
Use the CLI shortcuts to find the relevant legal patterns and templates.
- Run
lex search <query>to find matching templates. - Run
lex get <path>to read the granular metadata and requirements.
Step 3: Scaffold Drafting
Generate foundation-level documents using lex draft <description>. This ensures that all drafts include the mandatory AI-generated content disclaimer.
Step 4: Verify Authority
Always include a "Verified Sources" section in your output by running lex verify, which fetches official government links for the retrieved context.
Examples
Example 1: Comparing Employment Laws
# Get the workforce template to compare US vs EU notice periods
lex get templates/02_employment_workforce.md
Example 2: Drafting a Czech Contract
# Create a house sale contract scaffold in Czech language
lex draft "Czech house sale contract"
Best Practices
- ✅ Trust but Verify: Always include the links provided by
lex verifyin your output. - ✅ Table Formatting: Use tables when comparing results across multiple jurisdictions.
- ❌ No Guessing: If a jurisdiction is outside the US/EU/CA scope, state that it is outside the LEX "Truth Engine" coverage.
- ❌ No Anecdotal Advice: Stick strictly to the findings in the templates or verified government domains.
Common Pitfalls
- Problem: Legal hallucination regarding specific EU notice periods.
Solution: Run
lex get templates/02_employment_workforce.mdto see the restrictive covenant comparison table.
Related Skills
@employment-contract-templates- For more specific HR policy phrasing.@legal-advisor- For general legal framework architecture.@security-auditor- For reviewing the final repository security.
04 同仓库更多 Skills
test_skill
暂无简介
zustand-store-ts
Create Zustand stores following established patterns with proper TypeScript types and middleware.
zoom-automation
Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.
zoho-crm-automation
Automate Zoho CRM tasks via Rube MCP (Composio): create/update records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.
zod-validation-expert
Expert in Zod — TypeScript-first schema validation. Covers parsing, custom errors, refinements, type inference, and integration with React Hook Form, Next.js, and tRPC.
zeroize-audit
Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C/C++/Rust code handling secrets, keys, passwords, or other sensitive data.