From 3c2165e4daa51984fb5d74ecf352a2eb7dc2beaf Mon Sep 17 00:00:00 2001 From: Lukas Svoboda Date: Wed, 11 Mar 2026 15:54:23 +0100 Subject: [PATCH] feat: add lex truth engine for cross-jurisdictional legal context (#262) * feat: add lex truth engine for cross-jurisdictional legal context * Update skills/lex/findings.md Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> * docs: update GDPR reference to official EUR-Lex link * chore: sync generated files --------- Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: sck_0 --- CATALOG.md | 5 +- README.md | 12 ++-- data/bundles.json | 1 + data/catalog.json | 30 +++++++- skills/lex/SKILL.md | 71 +++++++++++++++++++ skills/lex/findings.md | 58 +++++++++++++++ .../lex/templates/01_business_foundation.md | 30 ++++++++ .../lex/templates/02_employment_workforce.md | 31 ++++++++ skills/lex/templates/03_sales_commercial.md | 30 ++++++++ skills/lex/templates/04_real_estate.md | 28 ++++++++ .../lex/templates/05_intellectual_property.md | 28 ++++++++ skills_index.json | 10 +++ walkthrough.md | 5 ++ 13 files changed, 330 insertions(+), 9 deletions(-) create mode 100644 skills/lex/SKILL.md create mode 100644 skills/lex/findings.md create mode 100644 skills/lex/templates/01_business_foundation.md create mode 100644 skills/lex/templates/02_employment_workforce.md create mode 100644 skills/lex/templates/03_sales_commercial.md create mode 100644 skills/lex/templates/04_real_estate.md create mode 100644 skills/lex/templates/05_intellectual_property.md create mode 100644 walkthrough.md diff --git a/CATALOG.md b/CATALOG.md index 65d32130..229d54f3 100644 --- a/CATALOG.md +++ b/CATALOG.md @@ -2,7 +2,7 @@ Generated at: 2026-02-08T00:00:00.000Z -Total skills: 1239 +Total skills: 1240 ## architecture (80) @@ -1056,7 +1056,7 @@ distri... | makepad, deployment | makepad, deployment, critical, packaging, trig | `workflow-automation` | Workflow automation is the infrastructure that makes AI agents reliable. Without durable execution, a network hiccup during a 10-step payment flow means lost... | | automation, infrastructure, makes, ai, agents, reliable, without, durable, execution, network, hiccup, during | | `x-twitter-scraper` | X (Twitter) data platform skill — tweet search, user lookup, follower extraction, engagement metrics, giveaway draws, monitoring, webhooks, 19 extraction too... | [twitter, x-api, scraping, mcp, social-media, data-extraction, giveaway, monitoring, webhooks] | [twitter, x-api, scraping, mcp, social-media, data-extraction, giveaway, monitoring, webhooks], twitter, scraper, data | -## security (142) +## security (143) | Skill | Description | Tags | Triggers | | --- | --- | --- | --- | @@ -1131,6 +1131,7 @@ distri... | makepad, deployment | makepad, deployment, critical, packaging, trig | `laravel-security-audit` | Security auditor for Laravel applications. Analyzes code for vulnerabilities, misconfigurations, and insecure practices using OWASP standards and Laravel sec... | laravel, security, audit | laravel, security, audit, auditor, applications, analyzes, code, vulnerabilities, misconfigurations, insecure, owasp, standards | | `legal-advisor` | Draft privacy policies, terms of service, disclaimers, and legal notices. Creates GDPR-compliant texts, cookie policies, and data processing agreements. | legal, advisor | legal, advisor, draft, privacy, policies, terms, disclaimers, notices, creates, gdpr, compliant, texts | | `leiloeiro-edital` | Analise e auditoria de editais de leilao judicial e extrajudicial. Riscos ocultos, clausulas perigosas, debitos, ocupante e classificacao da oportunidade. | auction, legal-analysis, risk, brazilian | auction, legal-analysis, risk, brazilian, leiloeiro, edital, analise, auditoria, de, editais, leilao, judicial | +| `lex` | Centralized 'Truth Engine' for cross-jurisdictional legal context (US, EU, CA) and contract scaffolding. | legal, context, cross-jurisdictional, compliance, scaffolding | legal, context, cross-jurisdictional, compliance, scaffolding, lex, centralized, truth, engine, cross, jurisdictional, us | | `lightning-architecture-review` | Review Bitcoin Lightning Network protocol designs, compare channel factory approaches, and analyze Layer 2 scaling tradeoffs. Covers trust models, on-chain f... | lightning, architecture | lightning, architecture, review, bitcoin, network, protocol, designs, compare, channel, factory, approaches, analyze | | `linkerd-patterns` | Implement Linkerd service mesh patterns for lightweight, security-focused service mesh deployments. Use when setting up Linkerd, configuring traffic policies... | linkerd | linkerd, mesh, lightweight, security, deployments, setting, up, configuring, traffic, policies, implementing, zero | | `loki-mode` | Multi-agent autonomous startup system for Claude Code. Triggers on "Loki Mode". Orchestrates 100+ specialized agents across engineering, QA, DevOps, security... | loki, mode | loki, mode, multi, agent, autonomous, startup, claude, code, triggers, orchestrates, 100, specialized | diff --git a/README.md b/README.md index a5ea0de8..adfda43e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ - -# 🌌 Antigravity Awesome Skills: 1,239+ Agentic Skills for Claude Code, Gemini CLI, Cursor, Copilot & More + +# 🌌 Antigravity Awesome Skills: 1,240+ Agentic Skills for Claude Code, Gemini CLI, Cursor, Copilot & More -> **The Ultimate Collection of 1,239+ Universal Agentic Skills for AI Coding Assistants — Claude Code, Gemini CLI, Codex CLI, Antigravity IDE, GitHub Copilot, Cursor, OpenCode, AdaL** +> **The Ultimate Collection of 1,240+ Universal Agentic Skills for AI Coding Assistants — Claude Code, Gemini CLI, Codex CLI, Antigravity IDE, GitHub Copilot, Cursor, OpenCode, AdaL** [![GitHub stars](https://img.shields.io/badge/⭐%2021%2C000%2B%20Stars-gold?style=for-the-badge)](https://github.com/sickn33/antigravity-awesome-skills/stargazers) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) @@ -18,7 +18,7 @@ [![Web App](https://img.shields.io/badge/Web%20App-Browse%20Skills-blue)](apps/web-app) [![Buy Me a Book](https://img.shields.io/badge/Buy%20me%20a-book-d13610?logo=buymeacoffee&logoColor=white)](https://buymeacoffee.com/sickn33) -**Antigravity Awesome Skills** is a curated, battle-tested library of **1,239+ high-performance agentic skills** designed to work seamlessly across the major AI coding assistants. +**Antigravity Awesome Skills** is a curated, battle-tested library of **1,240+ high-performance agentic skills** designed to work seamlessly across the major AI coding assistants. **Welcome to the V7.4.0 Release!** This repository gives your agent reusable playbooks for planning, coding, debugging, testing, security review, infrastructure work, product thinking, and much more. @@ -32,7 +32,7 @@ - [🎁 Curated Collections (Bundles)](#curated-collections) - [🧭 Antigravity Workflows](#antigravity-workflows) - [📦 Features & Categories](#features--categories) -- [📚 Browse 1,239+ Skills](#browse-1239-skills) +- [📚 Browse 1,240+ Skills](#browse-1240-skills) - [🤝 How to Contribute](#how-to-contribute) - [💬 Community](#community) - [☕ Support the Project](#support-the-project) @@ -282,7 +282,7 @@ The repository is organized into specialized domains to transform your AI into a Counts change as new skills are added. For the current full registry, see [CATALOG.md](CATALOG.md). -## Browse 1,239+ Skills +## Browse 1,240+ Skills - Open the interactive browser in [`apps/web-app`](apps/web-app). - Read the full catalog in [`CATALOG.md`](CATALOG.md). diff --git a/data/bundles.json b/data/bundles.json index 83c9a40c..eed64f5d 100644 --- a/data/bundles.json +++ b/data/bundles.json @@ -375,6 +375,7 @@ "laravel-security-audit", "legal-advisor", "leiloeiro-edital", + "lex", "linkerd-patterns", "loki-mode", "m365-agents-dotnet", diff --git a/data/catalog.json b/data/catalog.json index 90aca968..e77079b6 100644 --- a/data/catalog.json +++ b/data/catalog.json @@ -1,6 +1,6 @@ { "generatedAt": "2026-02-08T00:00:00.000Z", - "total": 1239, + "total": 1240, "skills": [ { "id": "00-andruia-consultant", @@ -17264,6 +17264,34 @@ ], "path": "skills/leiloeiro-risco/SKILL.md" }, + { + "id": "lex", + "name": "lex", + "description": "Centralized 'Truth Engine' for cross-jurisdictional legal context (US, EU, CA) and contract scaffolding.", + "category": "security", + "tags": [ + "legal", + "context", + "cross-jurisdictional", + "compliance", + "scaffolding" + ], + "triggers": [ + "legal", + "context", + "cross-jurisdictional", + "compliance", + "scaffolding", + "lex", + "centralized", + "truth", + "engine", + "cross", + "jurisdictional", + "us" + ], + "path": "skills/lex/SKILL.md" + }, { "id": "libreoffice/base", "name": "base", diff --git a/skills/lex/SKILL.md b/skills/lex/SKILL.md new file mode 100644 index 00000000..9d3e1a1b --- /dev/null +++ b/skills/lex/SKILL.md @@ -0,0 +1,71 @@ +--- +name: lex +description: "Centralized 'Truth Engine' for cross-jurisdictional legal context (US, EU, CA) and contract scaffolding." +category: business +risk: safe +source: community +date_added: "2026-03-10" +author: Svobikl +tags: [legal, context, cross-jurisdictional, compliance, scaffolding] +tools: [claude, cursor, gemini] +--- + +# 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 ` to find matching templates. +- Run `lex get ` to read the granular metadata and requirements. + +### Step 3: Scaffold Drafting +Generate foundation-level documents using `lex draft `. 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 +```bash +# Get the workforce template to compare US vs EU notice periods +lex get templates/02_employment_workforce.md +``` + +### Example 2: Drafting a Czech Contract +```bash +# 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 verify` in 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.md` to 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. diff --git a/skills/lex/findings.md b/skills/lex/findings.md new file mode 100644 index 00000000..20db3fa5 --- /dev/null +++ b/skills/lex/findings.md @@ -0,0 +1,58 @@ +# LEX — Findings & Research + +## Legal Constraints & Structure +* The application must cover 29 specific jurisdictions (USA, Canada, +27 EU Member States). +* Substantive differences exist fundamentally (e.g., EU GDPR vs US CCPA, EU Statutory Notice vs US At-Will Employment). +* Source constraints: Only official government references (e.g., USA `*.gov`, EU `*.europa.eu`, CA `*.gc.ca`). + +*Deep search findings for official links will be appended here.* + +## Verified Official References (Agent Sources) +### USA +- **SBA (Small Business Administration):** [sba.gov - Choose a business structure](https://www.sba.gov/business-guide/launch-your-business/choose-business-structure) +- **DOL (Department of Labor):** [dol.gov](https://www.dol.gov/) +- **USPTO (Intellectual Property):** [uspto.gov](https://www.uspto.gov/) + +### Canada +- **Corporations Canada:** [canada.ca - Corporations Canada](https://ised-isde.canada.ca/site/corporations-canada/en) +- **Canada Business Corporations Act (CBCA):** [justice.gc.ca](https://laws-lois.justice.gc.ca/eng/acts/c-44/) +- **Canada Labour Code:** [canada.ca - Employment Standards](https://www.canada.ca/en/services/jobs/workplace/federal-labour-standards.html) +- **CIPO (Canadian IP Office):** [cipo.gc.ca](https://ised-isde.canada.ca/site/canadian-intellectual-property-office/en) +- **Privacy (PIPEDA):** [priv.gc.ca](https://www.priv.gc.ca/) + +### European Union (27 Member States) +- **N-Lex (Central Access Point):** [europa.eu/n-lex](https://n-lex.europa.eu/) - The primary gateway to national law databases for all EU members. +- **European e-Justice Portal:** [e-justice.europa.eu](https://e-justice.europa.eu/) - Detailed guides on national judicial systems. +- **EUR-Lex (EU-wide Law):** [eur-lex.europa.eu](https://eur-lex.europa.eu/) +- **GDPR (General Data Protection Regulation):** [gdpr.eu](https://eur-lex.europa.eu/eli/reg/2016/679/oj) + +#### Individual EU Member State Databases +| Country | Official Legal Portal / Gazette | URL | +|---------|--------------------------------|-----| +| Austria | RIS (Rechtsinformationssystem) | [ris.bka.gv.at](https://www.ris.bka.gv.at/) | +| Belgium | Moniteur belge / Belgisch Staatsblad | [belgiquelex.be](https://www.belgiquelex.be/) | +| Bulgaria | State Gazette (Държавен вестник) | [dv.parliament.bg](http://dv.parliament.bg/) | +| Croatia | Narodne novine | [nn.hr](https://narodne-novine.nn.hr/) | +| Cyprus | Cylaw | [cylaw.org](http://www.cylaw.org/) | +| Czech Republic | e-Sbírka | [e-sbirka.cz](https://www.e-sbirka.cz/) | +| Denmark | Retsinformation | [retsinformation.dk](https://www.retsinformation.dk/) | +| Estonia | Riigi Teataja | [riigiteataja.ee](https://www.riigiteataja.ee/) | +| Finland | Finlex | [finlex.fi](https://www.finlex.fi/) | +| France | Légifrance | [legifrance.gouv.fr](https://www.legifrance.gouv.fr/) | +| Germany | Gesetze im Internet | [gesetze-im-internet.de](https://www.gesetze-im-internet.de/) | +| Greece | National Printing House (ET) | [et.gr](http://www.et.gr/) | +| Hungary | Magyar Közlöny / Nemzeti Jogszabálytár | [njt.hu](https://njt.hu/) | +| Ireland | Irish Statute Book | [irishstatutebook.ie](https://www.irishstatutebook.ie/) | +| Italy | Normattiva | [normattiva.it](https://www.normattiva.it/) | +| Latvia | Likumi | [likumi.lv](https://likumi.lv/) | +| Lithuania | Teisės aktų registras (TAR) | [e-tar.lt](https://www.e-tar.lt/) | +| Luxembourg | Legilux | [legilux.public.lu](https://legilux.public.lu/) | +| Malta | Laws of Malta | [legislation.mt](https://legislation.mt/) | +| Netherlands | Overheid.nl (Wetten) | [wetten.overheid.nl](https://wetten.overheid.nl/) | +| Poland | ISAP | [isap.sejm.gov.pl](http://isap.sejm.gov.pl/) | +| Portugal | Diário da República Eletrónico (DRE) | [dre.pt](https://dre.pt/) | +| Romania | Portal Legislativ | [legislatie.just.ro](http://legislatie.just.ro/) | +| Slovakia | Slov-Lex | [slov-lex.sk](https://www.slov-lex.sk/) | +| Slovenia | PIS (Pravno-informacijski sistem) | [pisrs.si](http://www.pisrs.si/) | +| Spain | BOE (Boletín Oficial del Estado) | [boe.es](https://www.boe.es/) | +| Sweden | Svensk författningssamling (SFS) | [svenskforfattningssamling.se](https://www.svenskforfattningssamling.se/) | diff --git a/skills/lex/templates/01_business_foundation.md b/skills/lex/templates/01_business_foundation.md new file mode 100644 index 00000000..eab74e6c --- /dev/null +++ b/skills/lex/templates/01_business_foundation.md @@ -0,0 +1,30 @@ +--- +name: business-foundation +description: Agent templates governing structural creation, operation, and equity of corporate entities. +jurisdictions: [USA, Canada, EU] +--- + +# Business Foundation & Governance Templates + +These templates act as the "birth certificates" of a business entity. When drafting these for a user, cross-reference the jurisdiction metadata. + +## Official References +- **USA:** [SBA - Choose a Business Structure](https://www.sba.gov/business-guide/launch-your-business/choose-business-structure) +- **Canada:** [Corporations Canada](https://ised-isde.canada.ca/site/corporations-canada/en) | [CBCA](https://laws-lois.justice.gc.ca/eng/acts/c-44/) +- **EU (Granular):** [N-Lex National Databases](https://n-lex.europa.eu/) | [EUR-Lex Company Law](https://eur-lex.europa.eu/) + +## Contract Types & Nuances + +| Contract Type | USA Context | Canada Context | EU Context | +|---------------|-------------|----------------|------------| +| **Operating Agreements (LLC)** | Essential document. Governs internal logic of LLCs. Highly variable by state (e.g., Delaware vs. California). | LLCs do not exist inherently in Canada; use Shareholder/Partnership agreements or ULCs depending on province. | "LLC" equivalents (e.g., GmbH in Germany, SARL in France, s.r.o. for Czech Republic) require highly formalized AoA/Statutes. | +| **Shareholders’ Agreements** | Common in C-Corps and S-Corps. Governs equity boundaries, Board seating, and vesting. | Very common under CBCA/OBCA. Often explicitly addresses unanimous shareholder agreements (USA) stripping director powers. | Strictly governed by local corporate codes. Often intersects heavily with statutory pre-emption rights. | +| **Partnership Agreements** | Standard for General (GP), Limited (LP), or Limited Liability Partnerships (LLP). | Similar to US. Governed by provincial Partnership Acts. | Variable. In some states, partnerships possess separate legal personality; in others, they do not. | +| **Articles of Association (AoA)** | Generally termed "Articles of Incorporation" or "Certificate of Formation". Public facing but minimal. | Required foundational document for corporations. Standardized model articles often used. | The required, comprehensive public-facing "rulebook". Must heavily align with EU Company Law Directives and national commercial registers. | + +## Agent Instructions +When an end-user requests a company formation document: +1. Ask for the specific jurisdiction (State/Province/Country). +2. For EU-specific requests (e.g., Czech Republic), use **N-Lex** to find the specific national Commercial Register rules. +3. Extract the entity type (LLC, Corp, GmbH, s.r.o., etc.). +4. Reference the metadata array above to structure the document. diff --git a/skills/lex/templates/02_employment_workforce.md b/skills/lex/templates/02_employment_workforce.md new file mode 100644 index 00000000..146edcca --- /dev/null +++ b/skills/lex/templates/02_employment_workforce.md @@ -0,0 +1,31 @@ +--- +name: employment-workforce +description: Agent templates governing hiring, independent contractors, restrictive covenants, and IP assignment. +jurisdictions: [USA, Canada, EU] +--- + +# Employment & Workforce Templates + +These templates dictate the relationship between a business and its workforce. This domain exhibits the highest variance across global jurisdictions. + +## Official References +- **USA:** [Department of Labor (DOL)](https://www.dol.gov/) +- **Canada:** [Canada Labour Code & Standards](https://www.canada.ca/en/services/jobs/workplace/federal-labour-standards.html) +- **EU (Granular):** [N-Lex Employment Laws](https://n-lex.europa.eu/) | [Working Time Directive](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex%3A32003L0088) + +## Contract Types & Nuances + +| Contract Type | USA Context | Canada Context | EU Context | +|---------------|-------------|----------------|------------| +| **Employment Agreements** | Focus strictly on "At-Will" employment status. | Focus on "Reasonable Notice" for termination (Common Law) or statutory minimums. | "At-Will" does not exist. Focus on "Statutory Notice Periods" (e.g., Zákoník práce in Czech Republic), fixed-term limits, and the Working Time Directive. | +| **Independent Contractor Agreements** | Critical to avoid IRS/DOL misclassification. Must emphasize lack of control and independence. | Strict CRA rules on "Personal Services Businesses" vs True Contractors. | Misclassification is heavily penalized. Must avoid elements of subordination. In Czechia, "Švarcsystém" is strictly prohibited. | +| **Non-Disclosure Agreements (NDA)** | Unilateral or Mutual. Can be perpetual for trade secrets. | similar to US, but careful detailing of what constitutes a trade secret is necessary. | Similar, but often more bound by local whistleblowing directives. | +| **Non-Compete Agreements** | Highly restricted or banned in several states (e.g., California). | Enforceable only if narrowly tailored. | Highly restricted. Often requires "Garden Leave" or mandatory financial compensation (e.g., Konkurenční doložka in Czech law requires at least 50% average monthly earnings). | +| **IP Assignment Agreements** | Usually standard format (Work Made For Hire). | Similar to US, but Moral Rights must be explicitly waived by the author. | Extremely localized. In Germany/France, complete transfer is impossible; in Czechia, only usage licenses can be granted for "personal rights." | + +## Agent Instructions +When an end-user requests an employment contract: +1. Verify if the worker is an Employee or an Independent Contractor. +2. If EU or Canada, instantly remove "At-Will" clauses and inject localized notice-period clauses. +3. For EU member states, use **N-Lex** to fetch specific Labour Code (e.g., Czech Labour Code Act No. 262/2006 Coll.) references. +4. Validate Non-Compete legality against the specific State/Country and check for mandatory compensation requirements. diff --git a/skills/lex/templates/03_sales_commercial.md b/skills/lex/templates/03_sales_commercial.md new file mode 100644 index 00000000..e96b83ba --- /dev/null +++ b/skills/lex/templates/03_sales_commercial.md @@ -0,0 +1,30 @@ +--- +name: sales-commercial +description: Agent templates governing long-term commercial relationships, bills of sale, and web-based terms of service. +jurisdictions: [USA, Canada, EU] +--- + +# Sales & Commercial Transactions Templates + +These templates dictate the parameters of sales, services, and online privacy. Note the strict variance in consumer-facing privacy laws and commercial codes. + +## Official References +- **USA:** Uniform Commercial Code (UCC) (Varies by State) | FTC Privacy Guidelines. +- **Canada:** [PIPEDA (Privacy Commissioner)](https://www.priv.gc.ca/) | Provincial Sale of Goods Acts. +- **EU (Granular):** [N-Lex Consumer Protection](https://n-lex.europa.eu/) | [EU Consumer Rights Directive](https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=celex:32011L0083) + +## Contract Types & Nuances + +| Contract Type | USA Context | Canada Context | EU Context | +|---------------|-------------|----------------|------------| +| **Master Service Agreements (MSA)** | The "umbrella" contract. Governed generally by state common law. Limits of liability are crucial. | Similar structure. Often defaults to Ontario or BC jurisdiction. | Governed by B2B commercial regulations of specific member states. | +| **Statements of Work (SOW)** | Sits beneath an MSA. Defines explicitly *what* is delivered. Highly standardized. | Same as US. | Same as US. | +| **Sales Contracts / Bills of Sale** | Heavily governed by the Uniform Commercial Code (UCC) regarding "implied warranties of merchantability". | Governed by provincial Sale of Goods Acts. Similar implied warranties exist. | Heavily governed by the EU Consumer Rights Directive, establishing strict rules on right of withdrawal and implied guarantees (minimum 2 years). | +| **Terms of Service (ToS)** | Defines the legal contract between a website and user. Arbitration clauses and class-action waivers are common. | Similar to US, but class-action waivers are often unenforceable locally (e.g., Quebec). | Extremely strict on consumer fairness (Unfair Contract Terms Directive). Binding arbitration is often unenforceable against consumers without explicit, secondary consent. | +| **Privacy Policies** | Fragmented. Must comply with states like California (CCPA/CPRA), COPPA for children, HIPAA for medical. | Governed federally by PIPEDA (and strictly in Quebec by Law 25). | Governed unilaterally by GDPR. Requires explicit "opt-in" consent, Right to be Forgotten, and Data Processing Agreements (DPA) between entities. | + +## Agent Instructions +When generating a Privacy Policy or Terms of Service: +1. Always inject a GDPR compliance clause if the client does *any* business in Europe. +2. Structure MSAs to explicitly cite the governing law (state/province/country). +3. For EU consumer sales, ensure the 14-day right of withdrawal is explicitly mentioned as per the Consumer Rights Directive. diff --git a/skills/lex/templates/04_real_estate.md b/skills/lex/templates/04_real_estate.md new file mode 100644 index 00000000..142c777a --- /dev/null +++ b/skills/lex/templates/04_real_estate.md @@ -0,0 +1,28 @@ +--- +name: real-estate-facilities +description: Agent templates governing physical property leasing and usage. +jurisdictions: [USA, Canada, EU] +--- + +# Real Estate & Facilities Templates + +These templates concern physical premises. Real Estate law is almost entirely localized, meaning templates represent broad structural frameworks rather than plug-and-play legal advice. + +## Official References +- **USA:** [HUD.gov](https://www.hud.gov/) | State-specific Real Estate Commissions. +- **Canada:** Provincial Residential Tenancy Acts. +- **EU (Granular):** [N-Lex Real Estate Law](https://n-lex.europa.eu/) | Member State property laws. + +## Contract Types & Nuances + +| Contract Type | USA Context | Canada Context | EU Context | +|---------------|-------------|----------------|------------| +| **Commercial Lease Agreements** | Generally heavily favors the landlord (Triple Net Leases are common). Very little statutory protection for commercial tenants. | Similar to US. Governed by provincial Commercial Tenancies Acts. | Varies by country, but often features mandatory minimum durations (e.g., France's 3-6-9 leases, Czech Republic's "Nájem prostoru sloužícího k podnikání"). | +| **Residential Tenancy Agreements** | Governed strictly by state and city laws. Heavily regulated regarding security deposits and eviction procedures. | Strictly governed by provincial boards (e.g., LTB in Ontario, TAL in Quebec). Landlords must use the government-mandated standard lease form in many provinces. | Extremely protective of tenant rights. Rent control and infinite-duration leases are common in states like Germany. Czech Republic uses the Civil Code (Občanský zákoník). | +| **License to Occupy** | A "lighter" version of a lease, typically used for co-working spaces. Does not grant "exclusive possession." | Used for similar short-term or shared-space arrangements. Must carefully avoid conveying a true tenancy. | Used for flexible offices and pop-ups. Vital distinction from a commercial lease to avoid triggering automatic tenant protections. | + +## Agent Instructions +When an end-user requests a Real Estate contract: +1. Note the severe localization of real estate. Emphasize that residential forms often *must* be the statutory version provided by the local government. +2. For EU member states, use **N-Lex** to verify the specific Civil Code or Property Act sections. +3. Differentiate clearly between a Lease (grants exclusive possession) and a License (grants permission to use). diff --git a/skills/lex/templates/05_intellectual_property.md b/skills/lex/templates/05_intellectual_property.md new file mode 100644 index 00000000..6640ba0f --- /dev/null +++ b/skills/lex/templates/05_intellectual_property.md @@ -0,0 +1,28 @@ +--- +name: intellectual-property +description: Agent templates governing the creation, licensing, and protection of IP assets. +jurisdictions: [USA, Canada, EU] +--- + +# Intellectual Property (IP) Templates + +These templates manage the ownership, licensing, and structured sharing of non-physical assets. Ensure local IP registry guidelines are followed to secure these rights. + +## Official References +- **USA:** [USPTO](https://www.uspto.gov/) | Copyright Office. +- **Canada:** [CIPO (Canadian Intellectual Property Office)](https://ised-isde.canada.ca/site/canadian-intellectual-property-office/en) +- **EU (Granular):** [EUIPO](https://euipo.europa.eu/) | [N-Lex IP Laws](https://n-lex.europa.eu/) + +## Contract Types & Nuances + +| Contract Type | USA Context | Canada Context | EU Context | +|---------------|-------------|----------------|------------| +| **Licensing Agreements** | Highly flexible. Can dictate exact geographic, temporal, and market restrictions for patents and trademarks. | Similar to US. Moral rights must be considered for copyrighted material. | Strongly policed by EU competition law (antitrust). Exclusive licenses cannot usually block parallel imports across EU member borders (Single Market). | +| **Franchise Agreements** | Heavily regulated at both federal (FTC) and state levels. Requires a bulky Franchise Disclosure Document (FDD). | Provincially regulated (strict disclosure laws exist in BC, AB, ON, NB, MB, PEI). | Regulated heavily down to the specific member state level. Strict disclosure requirements (e.g., Loi Doubin in France). | +| **Software Development Agreements** | The "Work Made for Hire" doctrine explicitly gives copyright to the paying entity if handled correctly. | The author holds raw copyright unless an explicit, written assignment is signed. Moral rights must be waived. | In some states (e.g., France, Germany), complete transfer of copyright is impossible; only exclusive usage licenses can be granted. In Czechia, authors have "personal rights" (osobnostní práva). | + +## Agent Instructions +When writing an IP contract: +1. Identify the exact asset (Patent, Trademark, Copyright, Trade Secret). +2. For Software Development: Overcompensate for EU and Canadian rules by inserting explicit assignment *and* maximum available usage/licensing grants. +3. For EU-wide trademark protection, refer users to the **EUIPO**. For national protection, refer to the local IP office. diff --git a/skills_index.json b/skills_index.json index 1de99d1e..2429245b 100644 --- a/skills_index.json +++ b/skills_index.json @@ -6989,6 +6989,16 @@ "source": "community", "date_added": "2026-03-06" }, + { + "id": "lex", + "path": "skills/lex", + "category": "business", + "name": "lex", + "description": "Centralized 'Truth Engine' for cross-jurisdictional legal context (US, EU, CA) and contract scaffolding.", + "risk": "safe", + "source": "community", + "date_added": "2026-03-10" + }, { "id": "lightning-architecture-review", "path": "skills/lightning-architecture-review", diff --git a/walkthrough.md b/walkthrough.md new file mode 100644 index 00000000..b38f34fc --- /dev/null +++ b/walkthrough.md @@ -0,0 +1,5 @@ +# Session Handoff - Merged 3 PRs + +- **Completed Tasks**: Merged PRs 261, 260, and 250 using the established GitHub maintenance procedures. Fixed drift and merge conflicts locally for 261 and 250 respectively before squashing. +- **Post-Merge**: Rebased `main`, verified generated validation chains, and successfully appended new contributors (@Enreign, @kennyzheng-builds) to the README. +- **Artifacts**: See internal context for full execution logs and step details.