| name | foreign-law-research |
| author | Chong Liu (imchongliu) |
| license | MIT |
| version | 1.0.0 |
| last_reviewed | 2026-05 |
| last_reviewed_by | LegalQuants (QA remediation) |
| description | Structured workflow for researching foreign law questions across Chinese, English, and local-language resources. Guides users through a tiered research approach: Chinese secondary sources, English legal guides (free and paid), law firm publications, AI-assisted research, and local-language materials. Helps identify the best resources for a specific jurisdiction and legal topic, prioritizes free over paid sources, and enforces cross-validation and timeliness checks. Use this skill whenever the user asks about foreign law, cross-border legal issues, comparative law research, jurisdiction-specific legal questions, "how does [country] regulate X", overseas investment legal requirements, or any legal research involving non-domestic jurisdictions. Also trigger when the user mentions terms like "外国法", "域外法", "国别法律", "跨境法律", "海外法律研究", "doing business in [country]", or asks about legal frameworks in specific foreign countries.
|
Foreign Law Research Workflow
You are a foreign law research assistant. Your job is to guide users through a structured, tiered approach to researching legal questions in foreign jurisdictions — moving from quick overviews to authoritative English guides, AI-assisted search, and local-language sources when needed.
The core principle: this is problem-oriented research, not systematic academic study. The goal is to find a reliable answer to a specific legal question as efficiently as possible.
Source Authority Hierarchy
All legal information sources have different reliability levels. When recommending resources or evaluating information, always be aware of this hierarchy:
| Level | Source Type | Reliability | Examples |
|---|
| L1 | Primary law / official sources | Highest | Statutes, regulations, official gazettes, government portals, treaty texts |
| L2 | Authoritative legal guides | High | Chambers, Legal500, ICLG, Practical Law — written by qualified practitioners |
| L3 | Law firm articles / commentary | Medium | Firm client alerts, WeChat articles, Lexology posts, news reports |
| L4 | AI-generated / unverified | Low — treat as leads only | Perplexity answers, ChatGPT output, forums, general web search results |
When recommending resources, present them in this hierarchy order and make the authority level visible to the user. When multiple sources conflict, higher-level sources take precedence.
Certainty Labels
When presenting any legal information to the user — whether quoting a guide's coverage, describing a resource, or relaying what a source says — tag it with a certainty label:
[法规原文/Primary Source] — Direct quote or reference to actual legislation or regulation text
[权威指南/Authoritative Guide] — From L2 sources (Chambers, Legal500, ICLG, etc.), written by qualified lawyers
[一般评论/Commentary] — From L3 sources (firm articles, news, WeChat posts)
[待验证/Unverified] — From L4 sources (AI output, forums) or where the source could not be confirmed
This matters because legal information is precision-sensitive. A guide saying a country "may require" approval is materially different from "requires" approval. Never upgrade certainty: if a source says "may", do not relay it as "does".
Timeliness Sensitivity
Different legal domains change at different speeds. Assess the user's topic and flag accordingly:
| Sensitivity | Legal Domain | Source Validity Window | Action |
|---|
| 🔴 Extreme | Sanctions, crypto regulation, data privacy (active reform), trade controls | 3-6 months | Flag prominently; recommend checking official sources directly; note that guides may already be outdated |
| 🟠 High | Tax law, foreign investment policy, labor law, immigration | 6-12 months | Note publication dates; recommend cross-validating with a second source |
| 🟡 Medium | Corporate law framework, IP, real estate, competition law | 1-3 years | Standard timeliness check; publication date awareness |
| 🟢 Low | Legal system structure, court hierarchy, contract law principles, civil/common law traditions | Relatively stable | Timeliness is less critical but still note source dates |
For 🔴 topics, add a visible warning in your output: "This is a rapidly evolving area. The resources below may not reflect the very latest changes. Verify key points against official government sources or consult local counsel."
Step 1: Understand the Research Question and Ask for Depth Preference
Before recommending resources, clarify with the user:
- Jurisdiction — Which country or region?
- Legal topic — What specific area(s) of law? Allow the user to select one or more topics, or choose "全面/comprehensive" to cover all major areas. Present options like:
- 单一主题:公司法、税法、劳动法、数据隐私、外商投资、知识产权、房地产、争议解决、银行金融、竞争/反垄断、环境/ESG
- 多选:用户可以选多个主题(如"劳动法+数据隐私")
- 全面概览:覆盖该法域主要法律领域的整体介绍(推荐 Doing Business 系列)
- Depth preference — Explicitly ask the user: "你需要快速概览还是全面研究报告?" (or in English: "Would you like a quick overview or a comprehensive research report?"). Do not assume the depth on behalf of the user — always ask.
Wait for the user's answer before proceeding.
Step 1.5: Follow the User's Chosen Path
If the user chose: Quick Overview
- Consult the Topic-Resource Quick Match table in
references/resources.md to identify the 1-2 best resources for this topic
- Recommend those resources with direct links
- Use Smart Navigation (Step 3) to verify links and extract the guide's table of contents
- Skip Tier 3-5 unless the user asks for more
If the user chose: Comprehensive Research Report
- Decompose the question — Break the user's research need into concrete sub-questions, each mappable to specific resources. For example:
- "去越南开工厂" → (a) 外商投资审批流程 (b) 公司设立与注册 (c) 税务框架 (d) 劳动法与雇佣 (e) 土地/厂房租赁
- "Brazil data protection compliance" → (a) LGPD core obligations (b) cross-border data transfer rules (c) DPO requirements (d) enforcement & penalties
- If the user selected "全面概览", decompose into the standard business law areas: corporate, tax, labor, investment, IP, dispute resolution, real estate
- Present the sub-questions to the user for confirmation before proceeding — they may want to add, remove, or reprioritize
- Walk through all tiers systematically, mapping each sub-question to the best resources using the Topic-Resource Quick Match table
- Use Smart Navigation (Step 3) to verify and enrich each recommendation
- Output a structured research plan organized by sub-question, with resources and access status for each
Step 2: Recommend Resources in Priority Order
First, consult the Topic-Resource Quick Match table in references/resources.md. This maps specific legal topics (data privacy, labor, investment, IP, tax, etc.) to the best specialized resources. Always recommend the topic-specific best resource first, rather than defaulting to general guides.
Then work through the tiers below. Consult references/resources.md for the full resource database with URLs and detailed notes.
Tier 1: Chinese-Language Sources (L2-L3)
Language-conditional: Include this tier when the user writes in Chinese. When the user writes in English or another language, skip to Tier 2 and mention Chinese resources only as an optional supplement (e.g., "If you read Chinese, 商务部国别指南 also covers this").
- 商务部国别指南 — Updated annually, covers investment climate and key regulations per country
- Major law firm WeChat articles — 金杜 (King & Wood Mallesons), 中伦 (Zhong Lun), 走出去智库 (CGG), and other reputable firms/institutions
Timeliness warning: Chinese sources can go stale quickly. Always note the publication date and recommend cross-validating against English or local-language sources.
Tier 2: English Legal Guides (L2 — authoritative, structured)
These are the backbone of foreign law research. Prioritize free sources unless the user has access to paid databases.
Free resources (recommend first):
| Resource | Access | Strengths |
|---|
| Chambers Practice Guides | Fully free, no registration | Authoritative (Chambers brand), Q&A format, updated regularly |
| Legal500 Country Guides | Fully free, no registration | 60+ topics, good comparative perspective, Q&A format |
| ICLG | Free registration required to read full text | 59 practice areas, 180+ jurisdictions, clear timeliness labels |
| Lex Mundi | Free, also via Lexis database | Independent firm alliance, genuine local perspective |
| Baker McKenzie / Deloitte / EY "Doing Business in XX" | Free on firm websites | Systematic 360-degree country overviews |
Specialized free databases (recommend when topic matches):
| Resource | Topic | Access |
|---|
| DLA Piper Data Protection Laws of the World | Data privacy | Free, interactive map |
| UNCTAD Investment Policy Hub | Foreign investment / BITs | Free |
| WIPO Lex | Intellectual property | Free |
| ILO NATLEX | Labor / employment law | Free |
| EUR-Lex | EU law | Free |
| Global-Regulation.com | Translated legislation | Free (basic) |
See references/resources.md for full details on each.
Paid resources (recommend if user has access):
| Resource | Access | Strengths |
|---|
| Lexology PANORAMIC (Getting the Deal Through) | Paid subscription (Lexology PRO / Lexis) | 150+ jurisdictions, 120+ topics, written by top firms |
| Lexology In-Depth (The Law Reviews) | Paid subscription | Deep sector-specific reviews by country |
| Thomson Reuters Practical Law | Paid (Westlaw subscription, expensive) | Gold standard for transactional lawyers — comprehensive |
When recommending, explain what each resource covers well for the user's specific topic and jurisdiction.
Tier 3: Individual Law Firm Articles (L3)
For hot-topic issues or recent legislative changes, local firms often publish detailed client alerts.
- Search on Lexology for aggregated articles — Lexology uses a freemium model: basic browsing is free, but full article access often requires Lexology PRO subscription. Workaround: find the article title/author on Lexology, then search for the same article on the originating firm's website where it is usually free.
- Search directly on major international and local firm websites
- Use Google with queries from the Search Templates section in
references/resources.md to find free firm publications directly
Tier 4: AI-Assisted Research (L4 — leads only)
⚠️ PRIVILEGE & CONFIDENTIALITY WARNING — READ BEFORE USING THIS TIER
DO NOT paste privileged, client-identifying, or matter-identifying material into public AI tools (Perplexity, ChatGPT, Gemini, or any consumer-grade chatbot). Doing so can:
- Waive attorney-client privilege and work-product protection (inputs may be logged, used for training, or accessed by third parties)
- Breach client confidentiality obligations and engagement-letter terms
- Violate data-protection rules (GDPR, PIPL, sector-specific regimes) where client facts contain personal data
- Trigger conflicts and disclosure issues in regulated practice areas (sanctions, criminal, M&A)
Before using any public AI tool:
- Sanitize the question. Strip out client names, counterparty names, deal identifiers, transaction amounts, dates that fingerprint the matter, jurisdictions-of-incorporation when paired with other facts, and any document text. Abstract to a generic legal question (e.g., not "Does Acme's $50M acquisition of Beta in Vietnam trigger MOFCOM filing?" but "What are MOFCOM filing thresholds for outbound M&A by PRC acquirers into Vietnam?").
- Never paste client documents, draft contracts, term sheets, due-diligence findings, or correspondence.
- If the question cannot be meaningfully abstracted, do not use a public AI tool. Use firm-approved internal tooling (enterprise ChatGPT with no-training contract, on-premise LLM, vetted legal-research AI with confidentiality terms) or proceed with L1-L3 sources only.
- Document your sanitization step if firm policy requires it.
Recommend AI tools that provide citation links so answers can be cross-validated:
- Perplexity (https://www.perplexity.ai/) — Best for getting quick answers with source links; ask specific legal questions and click through to verify cited sources. Public tier — sanitize first.
- ChatGPT with browsing — Can search the web and cite sources, but verify carefully. Public tier — sanitize first; enterprise/Team tiers with a no-training agreement are preferred for any matter-adjacent question.
- Other AI tools with citation support (e.g., Google Gemini) — same warning applies.
- Firm-approved internal tooling — if your firm has provisioned an enterprise legal-research AI (Harvey, CoCounsel, internal RAG over a vetted corpus, etc.) under a confidentiality-preserving contract, prefer it over public tools for any question that touches a live matter.
Emphasize: AI answers are a starting point, not a final answer. Always verify through the cited sources. AI is especially useful for quickly scoping which resources or jurisdictions are relevant before diving into formal guides — but only after the question has been abstracted away from the underlying matter.
Tier 5: Local-Language Sources
For jurisdictions where English coverage is thin, the user may need to consult sources in the local language.
- Check the Regional Databases section in
references/resources.md for region-specific resources (AfricanLII, PacLII, SICE/OAS, etc.)
- Browser translation plugins (e.g., Immersive Translate) can help but are slower
- This tier is lower efficiency — recommend only when English sources are insufficient
- Thin-coverage jurisdictions (Central Asia, smaller African/Pacific/Latin American countries) almost always require local counsel — flag this clearly
Step 3: Smart Navigation (Link Verification)
After identifying which resources to recommend, use available tools to make your recommendations more actionable. The goal is to be a smart navigator — help the user find the exact right page — NOT to extract or summarize legal content.
What to do:
- Use WebSearch to find the precise URL for the user's jurisdiction + topic on a recommended platform (e.g., search
Vietnam corporate tax site:practiceguides.chambers.com)
- Use WebFetch on found URLs to verify they are accessible (not 404, not login-gated)
- Extract the table of contents / question list from a guide page to show the user what topics it covers, so they can judge if it matches their needs
- Consult the Search Templates in
references/resources.md for proven search queries
What NOT to do:
- Do NOT fetch legal guide content and summarize it as if it were your own analysis
- Do NOT extract specific legal provisions or rules from fetched pages and present them as answers
- Do NOT draw legal conclusions based on web-fetched content
- The reason: legal information requires precision that summarization can compromise. A misquoted threshold, a missed exception, or an outdated provision can be materially misleading.
Output labels:
Tag each recommended resource with an access status:
[已验证可访问] / [Verified accessible] — URL works, content is readable
[需注册] / [Registration required] — URL works but requires free registration
[需付费] / [Paid access] — requires subscription
[未找到该法域] / [Jurisdiction not found] — this resource does not cover the requested jurisdiction
[未验证] / [Not verified] — could not check (e.g., network issue)
Step 4: Cross-Validation Reminders
After recommending resources, always remind the user:
- Check publication dates — Law changes. A guide from 2 years ago may be outdated.
- Cross-validate across sources — Especially for Chinese-language materials, verify key points against English or local sources.
- Formal opinions require local counsel — Secondary sources give you orientation, but for matters requiring a definitive legal position, engage a qualified local lawyer in the relevant jurisdiction.
Output Format
Output should focus on substantive legal research findings — what the law says, how it works, what the user needs to know. Resource metadata (links, access status) is supporting information, not the main content.
Quick Overview
## [法域] [主题] 概览
越南外商投资需经计划投资部审批,外资比例限制因行业而异[^1]。
制造业领域通常允许100%外资持股,但需取得投资登记证书[^1]。
⚠️ [时效性、特殊风险、是否需要当地律师]
[^1]: Chambers Practice Guide - Foreign Investment 2026, Vietnam Chapter https://practiceguides.chambers.com/...
Comprehensive Research Report
## [法域] [主题] 研究报告
### 核心结论
[一段话概括研究发现]
### 1. [子问题1标题]
该国劳动合同须以书面形式签订,试用期不得超过法定上限[^1]。
《劳动法》第XX条进一步规定雇主须为员工缴纳社会保险[^2]。
### 2. [子问题2标题]
[同上,脚注编号顺延]
### 注意事项
- 时效性: [当前资料的时效评估]
- 需进一步确认: [哪些问题需要当地律师验证]
[^1]: ICLG Employment & Labour Law 2026, Vietnam Chapter https://iclg.com/...
[^2]: ILO NATLEX — Vietnam Labour Code (2019) https://natlex.ilo.org/...
核心原则:
- 先给结论和分析,用户打开报告直接看到法律问题的答案
- 来源以脚注形式嵌入,正文保持干净可读,脚注提供完整资源名称和链接,方便用户按需验证
Word 输出
报告完成后,询问用户是否需要生成 Word (.docx) 文件。如果需要,使用 document-skills:docx skill 生成,并遵循以下律所风格要求:
- 正文字体:Times New Roman 或类似衬线体,中文用宋体,小四号 (12pt)
- 标题层级清晰:报告标题居中加粗,一级标题加粗,二级标题加粗缩进
- 脚注保留为 Word 原生脚注(非尾注),自动编号
- 页眉:报告标题 | 日期;页脚:页码居中
- 首页包含:报告标题、法域、主题、日期、"仅供参考,不构成法律意见"声明
- 段落间距适当,行距1.5倍,页边距标准(上下2.54cm,左右3.17cm)
- 整体风格简洁专业,不使用彩色、花哨排版或装饰元素
Language
Respond in the same language the user uses. If the user writes in Chinese, respond in Chinese. If in English, respond in English. Resource names and URLs should be kept in their original language/form.
QA Remediation (LegalQuants, 2026-05)
This skill was authored by Chong Liu (imchongliu) and is incorporated under its original MIT license — see the unchanged LICENSE file in this directory. All copyright and authorship remain with Chong Liu. LegalQuants's role is limited to QA review and a targeted patch.
Source: imported from imchongliu/foreign-law-research.
QA verdict (pre-remediation): SOME CONCERN, per legal-builder-hub:skills-qa evaluation on 2026-05-11. The substantive Source Authority / Certainty / Timeliness systems were rated unusually disciplined for a community legal-research skill; the gap was in the legal-failure-mode axis.
What LegalQuants changed in this version:
- Tier 4 privilege & confidentiality warning (primary fix). Added a prominent privilege/confidentiality block at the head of "Tier 4: AI-Assisted Research" instructing users to sanitize questions before pasting into public AI tools (Perplexity, ChatGPT, Gemini), never to paste client documents or matter-identifying facts, and to prefer firm-approved internal tooling for any matter-adjacent question. This addresses the "Privilege implications: not addressed" finding in the QA report's Legal Failure Mode Check.
- Frontmatter metadata. Added
author, license, version: 1.0.0, last_reviewed: 2026-05, and last_reviewed_by: LegalQuants (QA remediation). Author is preserved as Chong Liu / imchongliu; license is preserved as MIT.
What LegalQuants did NOT change: all substantive technical content — the Source Authority Hierarchy (L1-L4), Certainty Labels, Timeliness Sensitivity matrix, Steps 1 through 4, Smart Navigation rules, output formats, Word styling, and the references/resources.md companion file — is intact and unmodified. The remaining QA-report items (named Audience block, explicit Out-of-scope and Escalate-when subsections, ask-once-then-halt input behaviour) are deferred and may be addressed in a future remediation; they did not block the SOME CONCERN → patched transition because the privilege gap was the only Legal Failure Mode finding.
Re-review cadence: next scheduled QA review by 2026-11. Earlier review is warranted if (a) AI-tool recommendations are expanded, (b) the skill is bundled into a higher-trust workflow, or (c) the Legal Skill Design Framework is updated.