Command Palette

Search for a command to run...

Назад к скиллам
скилл № 85394

legal-generate

This skill should be used when generating draft legal documents for a project or company. It gathers company context interactively, invokes the…

БесплатноЗапускает вложенные скрипты
jikig-aiот jikig-ai★ 21 звезда на GitHub

Установить legal-generate в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Cloud Mode (Devin): before pipeline work run bash "${CLAUDE_PLUGIN_ROOT}/scripts/cloud-detect.sh". If CLAUDE_PLUGIN_ROOT is unset (cloud exec shells do not export it), resolve the root by IDENTITY, never by script basename: for d in "$HOME/.local/share/devin/cli/plugins/cache" and /opt/.devin/plugins, skip unless [ -d "$d" ], then MANIFEST="$(find "$d" -path '*/.claude-plugin/plugin.json' -exec grep -l '"name":space:*::space:*"soleur"' {} + 2>/dev/null | head -1)", ROOT="${MANIFEST%/.claude-plugin/plugin.json}" — one resolution, two consumers: $ROOT/scripts/cloud-detect.sh and $ROOT/scripts/precommit-guard.sh. (Shape check, not authentication: a planted {"name":"soleur"} dir passes — ADR-179 A11.) local or not-local:no-devin-env proceeds normally; any other not-local:<reason> applies <plugin-root>/devin/INSTRUCTIONS.md §Cloud Mode: emit the --banner, fan out sequentially with Reviewed-Coverage: sequential-fallback disclosure (never claim an independent review ran), message_user ack before any secrets read or production mutation, and run precommit-guard.sh before any git commit — hooks do not fire in cloud.

Grok Build (plugins/soleur/lib/harness.ts invokeSkill()): Read this SKILL.md in this process and run it to completion. A one-segment soleur:<name> in this document names a SKILL — on Grok Build, Read plugins/soleur/skills/<name>/SKILL.md in this process; it is not a nested tool_use. A multi-segment id such as soleur:<domain>:<name> names an AGENT: spawn it, never Read it, and on Grok Build spawn_subagent takes the id with its colons replaced by hyphens (agentIdToGrokSubagentType). Claude Code: Skill tool for a skill (soleur:<name>), Task tool with subagent_type for an agent. Forbidden is executing a subset, not the Read.

Legal Document Generator

Generate draft legal documents from company context. Supports 14 document types across US, EU/GDPR, and UK jurisdictions. All output is marked as a draft requiring professional legal review.

Supported Document Types

  • Terms & Conditions
  • Privacy Policy
  • Cookie Policy
  • GDPR Policy
  • Acceptable Use Policy
  • Data Processing Agreement
  • Data Protection Disclosure
  • Disclaimer / Limitation of Liability
  • Master Services Agreement
  • Mutual NDA
  • One-Way NDA
  • Advisor Agreement

Two more types are available on explicit request only — both carry blocking confirmations, so they are never offered in the menu:

  • Employee Offer Letter (CA-exempt scope confirm)
  • Business Associate Agreement (HIPAA/PHI confirm)

Overlapping types fill a vendored template substrate (references/templates/); uncovered types and unsupported jurisdictions are generated from scratch by the agent — routing is its decision, not the menu's.

Phase 0: Context Gathering

Use the AskUserQuestion tool to gather company context. Ask for:

  1. Company name (required)
  2. Product/service description (required) -- what the product does, who it serves
  3. Data practices -- what user data is collected, how it is processed, stored, shared
  4. Jurisdiction -- which legal frameworks apply (US, EU/GDPR, UK, or multiple)
  5. Contact information -- email and/or physical address for legal notices

If the user provides arguments after the skill name (e.g., soleur:legal-generate privacy-policy), use that as the document type selection and skip Phase 1.

Phase 1: Document Selection

Use the AskUserQuestion tool to select a document type. Offer the four most likely types (e.g. Privacy Policy / Terms & Conditions / Mutual NDA / Master Services Agreement) and rely on the built-in Other free-text option for the rest — the menu never lists the gated types.

Phase 1.5: Substrate Staleness Check

Before invoking the agent, check the freshness of the vendored template corpus:

NOTICE_FILE="${CLAUDE_PLUGIN_ROOT}/skills/legal-generate/NOTICE" \
  bash "${CLAUDE_PLUGIN_ROOT}/skills/gdpr-gate/scripts/notice-frontmatter.sh" days-stale
  • >30 days — print an advisory banner to stdout: the template corpus has not been verified against upstream recently.
  • >90 days — additionally print POSTURE_FAIL:; the operator follows the chain in knowledge-base/engineering/policies/content-vendoring.md to record it in compliance-posture.md.
  • Advisory only — generation proceeds either way; do not block on staleness.

Phase 2: Generation

Invoke the soleur:legal:legal-document-generator agent via the Task tool with the company context and selected document type. The agent resolves the substrate arm (template-fill vs from-scratch) from its own routing table — do not pre-decide it here.

Task soleur:legal:legal-document-generator: "Generate a [document type] for [company name].
Company: [name]
Product: [description]
Data practices: [pr
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • NOTICE
  • references/templates/advisor-agreement/template.md
  • references/templates/business-associate-agreement/template.md
  • references/templates/cookie-notice/template.md
  • references/templates/dpa-global/template.md
  • references/templates/dpa-us/template.md
  • references/templates/employee-offer-letter/template.md
  • references/templates/master-services-agreement/template.md
  • references/templates/mutual-nda/template.md
  • references/templates/one-way-nda/template.md
  • references/templates/privacy-policy-gdpr/template.md
  • references/templates/privacy-policy-us/template.md
  • references/templates/terms-of-use/template.md
  • scripts/strip-vendor-credit.sh

FAQ

Что делает скилл legal-generate?

This skill should be used when generating draft legal documents for a project or company. It gathers company context interactively, invokes the soleur:legal:legal-document-generator agent, and writes markdown output.

Как установить скилл legal-generate?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл legal-generate запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить legal-generate с