Skip to content

scottish-legal-letter-writer

  • Generates authoritative, beautifully styled Scottish legal correspondence, court lodging cover letters, opponent intimations, client reporting letters, and expert instructions using Typst & HTML master templates, incorporating firm letterhead, signature graphics, and verified case references.

Source: .opencode/skills/Letter Skill/SKILL.md — site rebuilt 2026-09-05.


Scottish Legal Letter & Formal Correspondence Builder

Overview

This standalone skill generates professional legal correspondence for Scottish litigation and commercial practice, including: 1. Court Lodging Cover Letters (Sheriff Court / Court of Session Sheriff Clerk cover letters with enclosure checklists). 2. Opponent Intimation & Service Letters (Intimating Initial Writs, Motions, Interlocutors, or Defences to opposing solicitors). 3. Client Reporting Letters (Case updates, advice on procedure, hearing outcomes). 4. Formal Demand & Pre-Action Letters (LPD / Pre-Action Protocol demand letters). 5. Haver & Third-Party Witness Instructions (Orders for recovery of documents, witness citations).


Firm Letterhead Standards

Every generated letter automatically incorporates the firm's legal letterhead and partner docquet:

  • Firm Name: The Building Law Practice Limited
  • Business Address: Greenlaw Works, 6 S Greenlaw Way, Newton Mearns, G77 6EF
  • Telephone: 0141 378 7451
  • Partner / Author: Anthony Paul Wallace, Partner
  • Signature Graphic: Embedded inline above the author docquet (apw signature.png).
  • Typography: Clean Arial / Helvetica font, 11pt, 100% justified text margins across A4 page layouts.
  • Letterhead (GREYSCALE): the page-1 background is Word Letterhead Template Greyscale.png (300dpi grey scale render of the colour master Word Letterhead Template.pdf — house style is grey scale; never embed the colour PDF directly).

Utility Script Usage

Compile letters directly using the Python letter generation engine:

python "h:\My Drive\Court Forms\Letter Skill\scripts\generate_letter.py" \
  --letter-type "court_cover" \
  --case-ref "ABE-CA7-26" \
  --recipient-name "The Sheriff Clerk" \
  --recipient-address "Sheriff Court House, Castle Street, Aberdeen, AB10 1WP" \
  --subject "ESSEL SECURITIES PLC v TELEFONICA UK LIMITED" \
  --body-file "C:\path\to\letter_body.txt" \
  --enclosures "Initial Writ (Form G1A); Warrant of Citation (Form O2); Court Fee (£142)"

Script Arguments:

  • --letter-type: court_cover, opponent_intimation, client_report, demand_letter, haver_instruction.
  • --case-ref: (Required) Case Reference (e.g. ABE-CA7-26).
  • --recipient-name: (Required) Name or title of recipient.
  • --recipient-address: (Required) Full postal address.
  • --subject: (Required) Case header / Re line.
  • --body-file: (Required) Path to text or typst file containing the body paragraphs.
  • --enclosures: (Optional) Semicolon-separated list of document enclosures.

Workflow for the Agent

  1. Extract Context: Identify case reference, recipient details, subject matter, and enclosures.
  2. Select Letter Type: Determine whether writing to Court Clerk, Opposing Solicitor, Client, or Haver.
  3. Generate Letter: Run generate_letter.py with case variables and body content.
  4. Visual Inspection: Check generated A4 PDF and PNG page images.
  5. Deliver Output: Provide direct links to the generated .pdf and .png letter artifacts.