TEXT

Legal Risk Minimization Tool for Freelancers

Contributed by mmanisaligil

Improved by Laravel Company · 2026-09-07

You are an expert system architect and prompt engineer. Your task is to design the complete specification, feature set, and core logic for a SaaS application called "Shield," a legal risk reduction tool designed specifically for freelancers. The design must prioritize trustworthiness, clarity, and legal caution above all else.

MANDATORY GLOBAL CONSTRAINT (Critical Instruction):
Every single page, output, or interaction within the Shield application must prominently display the following disclaimer in a clear, unmissable format: "This tool provides templates and general information only. It is not legal advice. Review all documents with a qualified attorney before use." This disclaimer must be present in all generated content and interfaces.

Application Goal: To provide freelancers with accessible, AI-powered tools to generate, review, and mitigate common legal exposure in their contracts.

Technical Stack Context:
The application is to be built using React for the frontend, leveraging a powerful LLM API for complex generation and review tasks, and utilizing libraries like docx-js for professional DOCX file export. The overall design aesthetic must be highly professional, trustworthy, and serious, suitable for handling sensitive legal matters.

Core Feature Specifications (Detailed Logic Required for LLM Interaction):

  1. Contract Generator:

    • Input Parameters: The user must input the following specific variables:
      • Project Type (Selection: Web Development / Copywriting / Design / Consulting / Photography / Other)
      • Client Type (Selection: Individual / Small Business / Enterprise)
      • Payment Terms (Selection: Fixed Fee / Milestone / Retainer)
      • Approximate Project Value ($ amount)
      • 3 Custom Deliverables (Free-text input in plain language).
    • LLM Task: Generate a complete, legally structured contract.
    • Contract Content Must Cover: Scope of Work, Intellectual Property (IP) Ownership, Payment Schedule/Terms, Revision Policy, Late Payment Penalties, Confidentiality, and Termination clauses.
    • Output Format: The final contract must be generated and exported in a clean, professional DOCX format.
  2. Contract Reviewer:

    • Input: The user pastes an incoming contract text.
    • LLM Task: Analyze the provided text to perform a risk assessment.
    • Output Requirements:
      • Identify and highlight the 5 most critical clauses based on legal risk severity.
      • Flag any clauses exhibiting asymmetry (where obligations are heavily skewed between parties).
      • For each flagged clause, provide a specific, actionable suggestion for alternative, fairer wording.
  3. Risk Radar:

    • Input: The user provides a brief description (3 sentences) of their freelance business operations and typical client interactions.
    • LLM Task: Analyze the description to identify systemic legal exposure.
    • Output Requirements:
      • Identify the top 5 specific legal exposure areas relevant to the described business.
      • For each of the 5 risks, provide a concise, one-paragraph explanation of the risk and a clear, actionable mitigation step the freelancer can take immediately.
  4. Template Library:

    • Content: Provide a library of 10 pre-built, high-quality contract templates (e.g., Freelance Agreement, NDA, Scope of Work, Consulting Agreement).
    • Format: All templates must be provided in a downloadable DOCX format, ensuring they are fully editable in any standard word processor.
  5. NDA Generator (Quick Tool):

    • Input: Party A Name, Party B Name, Confidentiality Scope (detailed description of what is confidential), and Duration (e.g., 1 year).
    • LLM Task: Generate a mutually binding Non-Disclosure Agreement.
    • Constraint: This process must be extremely fast, aiming for generation in under 30 seconds.

Summary of Desired Output: Provide the complete, detailed blueprint for the Shield application, focusing on the precise logic, constraints, and user experience flow for each feature, ensuring the tone reflects professional legal safety.

Original prompt (before our improvements)

Build a legal risk reduction tool for freelancers called "Shield" — a contract generator and reviewer that reduces common legal exposure. IMPORTANT: every page of this app must display a clear disclaimer: "This tool provides templates and general information only. It is not legal advice. Review all documents with a qualified attorney before use." Core features: - Contract generator: user inputs project type (web development / copywriting / design / consulting / photography / other), client type (individual / small business / enterprise), payment terms (fixed / milestone / retainer), approximate project value, and 3 custom deliverables in plain language. [LLM API] generates a complete contract covering scope, IP ownership, payment schedule, revision policy, late payment penalties, confidentiality, and termination — formatted as a clean DOCX - Contract reviewer: user pastes an incoming contract. AI highlights the 5 most important clauses (ranked by risk), flags anything unusual or asymmetric, and for each flagged clause suggests a specific alternative wording - Risk radar: user describes their freelance business in 3 sentences — AI identifies their top 5 legal exposure areas with a one-paragraph explanation of each risk and a mitigation step - Template library: 10 pre-built contract types, all downloadable as DOCX and editable in any word processor - NDA generator: inputs both party names, confidentiality scope, and duration — generates a mutual NDA in under 30 seconds Stack: React, [LLM API] for generation and review, docx-js for DOCX export. Professional, trustworthy design — this handles serious matters.