legal-canned-responses
Generate templated responses for common legal inquiries with escalation detection. Use when drafting legal responses.
What this skill does
> **⚠️ EXPERIMENTAL** — This skill is provided for educational and informational purposes only. It does NOT constitute legal advice. All responsibility for usage rests with the user. Consult qualified legal professionals before acting on any output. # Legal Canned Responses Skill ## Overview Production-ready toolkit for generating templated responses to common legal inquiries with built-in escalation detection. Covers 7 response categories with multiple sub-types each, plus a universal and category-specific escalation trigger system. Designed for legal operations teams handling high volumes of recurring inquiries while ensuring critical matters are routed to counsel. ## Table of Contents - [Tools](#tools) - [Reference Guides](#reference-guides) - [Workflows](#workflows) - [Response Categories](#response-categories) - [Escalation System](#escalation-system) - [Troubleshooting](#troubleshooting) - [Success Criteria](#success-criteria) - [Scope & Limitations](#scope--limitations) - [Anti-Patterns](#anti-patterns) - [Tool Reference](#tool-reference) ## Tools ### 1. Response Generator (`scripts/response_generator.py`) Generate formatted legal responses from templates with variable substitution and escalation detection. ```bash python scripts/response_generator.py \ --category dsr --sub-type acknowledgment \ --var requestor_name="Jane Doe" \ --var request_type="access" \ --var request_date="2026-04-10" python scripts/response_generator.py \ --category nda --sub-type standard-form \ --var counterparty="Acme Corp" \ --var purpose="due diligence" --json python scripts/response_generator.py \ --category discovery --sub-type initial-notice \ --var matter_name="Smith v. Corp" \ --var custodians="Engineering,Sales" ``` ### 2. Escalation Detector (`scripts/escalation_detector.py`) Analyze inquiry text for escalation triggers and recommend routing. ```bash python scripts/escalation_detector.py \ --text "We received a subpoena from the DOJ regarding our pricing practices" python scripts/escalation_detector.py \ --text "A reporter from the Wall Street Journal is asking about our data practices" --json python scripts/escalation_detector.py \ --category vendor \ --text "The vendor is threatening litigation over the contract dispute" ``` ## Reference Guides | Reference | Purpose | |-----------|---------| | `references/response_templates.md` | Complete templates for all 7 categories with sub-types | | `references/escalation_triggers.md` | Universal and category-specific escalation triggers | ## Workflows ### Template Lifecycle 1. **Creation** -- Draft response template for identified recurring inquiry type 2. **Review** -- Legal counsel reviews template for accuracy, tone, and compliance 3. **Publication** -- Template added to system with metadata, variables, and triggers 4. **Use** -- Staff selects category/sub-type, fills variables, generates response 5. **Feedback** -- Track usage and collect feedback on template effectiveness 6. **Update** -- Revise templates based on feedback, legal changes, or policy updates 7. **Retirement** -- Archive templates that are no longer applicable ### Response Generation Workflow 1. **Classify Inquiry** -- Determine category (DSR, NDA, subpoena, etc.) and sub-type 2. **Check Escalation** -- Run escalation detector on inquiry text 3. **If Escalation Detected** -- Stop; route to counsel with escalation report 4. **If No Escalation** -- Generate response with appropriate template and variables 5. **Review & Send** -- Review generated response before sending; adjust if needed ## Response Categories | Category | Sub-Types | Description | |----------|-----------|-------------| | Data Subject Requests (DSR) | acknowledgment, verification, fulfillment, denial, extension | GDPR/CCPA data subject right requests | | Discovery/Litigation Holds | initial-notice, reminder, modification, release | Litigation hold management | | Privacy Inquiries | cookies, data-sharing, children, transfers | General privacy questions | | Vendor Legal Questions | contract-status, amendments, certifications, audit | Vendor/supplier legal matters | | NDA Requests | standard-form, counterparty-markup, decline, renewal | Non-disclosure agreement lifecycle | | Subpoena/Legal Process | acknowledgment, objection, extension, compliance | Legal process responses | | Insurance Notifications | initial-claim, supplemental-info, reservation-of-rights | Insurance claim management | ### DSR Sub-Types | Sub-Type | Use When | Key Variables | |----------|----------|---------------| | acknowledgment | New DSR received | requestor_name, request_type, request_date | | verification | Identity verification needed | requestor_name, verification_method | | fulfillment | Request completed | requestor_name, request_type, data_description | | denial | Request denied with reason | requestor_name, request_type, denial_reason | | extension | Need more time | requestor_name, request_type, extension_reason, new_deadline | ### Discovery/Litigation Hold Sub-Types | Sub-Type | Use When | Key Variables | |----------|----------|---------------| | initial-notice | New litigation hold issued | matter_name, custodians, data_types | | reminder | Periodic hold reminder | matter_name, reminder_number | | modification | Hold scope changed | matter_name, modification_description | | release | Hold lifted | matter_name, release_date | ## Escalation System ### Universal Triggers (Always Escalate) | # | Trigger | Why | |---|---------|-----| | 1 | Potential or active litigation | Legal exposure requires counsel assessment | | 2 | Regulatory investigation or inquiry | Regulatory response requires strategic approach | | 3 | Government or law enforcement contact | Constitutional and procedural rights at stake | | 4 | Binding legal commitment requested | Cannot create legal obligations without counsel | | 5 | Criminal liability exposure | Requires immediate counsel involvement | | 6 | Media attention or press inquiry | Reputational risk requires coordinated response | | 7 | Unprecedented or novel situation | No template exists; bespoke legal analysis needed | | 8 | Multi-jurisdictional conflict | Cross-border legal complexity requires expert analysis | ### Escalation Response Protocol 1. **Stop** -- Do not send any templated response 2. **Alert** -- Notify designated counsel immediately 3. **Explain** -- Provide escalation context with matched triggers 4. **Recommend** -- Suggest routing based on trigger type 5. **Draft** -- Mark any preliminary draft "FOR COUNSEL REVIEW ONLY" ## Troubleshooting | Problem | Cause | Solution | |---------|-------|----------| | Missing variable in output | Required variable not provided | Check template requirements; provide all required `--var` parameters | | Wrong template selected | Category/sub-type mismatch | Review category descriptions; ensure sub-type matches inquiry type | | False positive escalation | Common words matching trigger patterns | Provide `--category` to use category-specific triggers; review matched triggers | | False negative escalation | Inquiry text too vague | Add more context to inquiry text; run both universal and category-specific checks | | Template too generic | Using default values | Replace all placeholder values with actual organization-specific details | | Discovery hold sent to wrong custodians | Custodian list outdated | Verify custodian list against current employees and systems | | Subpoena response not flagged | Missing category context | Always use `--category subpoena` for legal process; subpoena category always escalates | | Response tone inappropriate | Wrong audience context | Select appropriate sub-type; customize tone per audience | ## Success Criteria - **Response Time**: Templated responses generated within 5 minutes vs. 30+ minutes manual drafting - **Escalation Accuracy**: 100% of genuine escalation triggers detected (zero false negatives on CRITICAL triggers) - **Template C
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.