Import Vscode Extension Builder Lawvable: Install and Security

Import Vscode Extension Builder Lawvable

Published by sboghossian in mini-claude-for-legal

No known issues1 installs

What this skill does

Use when ingesting legal content, skills, or document templates originally authored inside the Lawvable VS Code extension into the Louis/mini-claude-for-legal data model. Handles mapping of Lawvable's proprietary document-builder schema into standard SKILL.md and draft formats, with config-driven field mapping and a mandatory dry-run preview before any write. Relevant any time a legal practitioner wishes to migrate Lawvable-built clause libraries, templates, or playbooks into the open-source ski

Add Import Vscode Extension Builder Lawvable to your agent

Review the source and files first. When you are ready, copy the prompt instruction or use the CLI command supported by your environment.

Install with a prompt

Paste this into a compatible coding agent:

add this skill "import-vscode-extension-builder-lawvable" from https://github.com/sboghossian/mini-claude-for-legal

Install with the CLI

Run this command in a controlled environment after reviewing the repository:

npx skills add https://github.com/sboghossian/mini-claude-for-legal --skill import-vscode-extension-builder-lawvable

Skill instructions

Import — VS Code Extension Builder (Lawvable)

What it does

This import connector translates content produced by the Lawvable VS Code extension — a legal document builder that lets lawyers assemble clause libraries and templates directly inside VS Code — into the standard data model used by Louis and mini-claude-for-legal.

The connector performs schema mapping (Lawvable's JSON/XML shapes → SKILL.md frontmatter + body), field normalization, and writes enriched skill files to the target directory. Every import runs in two phases: config validation + dry-run preview, then an optional confirmed write.


When to use this

  • A law firm or legal-tech team has built a clause library in the Lawvable extension and wants to make those clauses available as first-class Louis skills.
  • A practitioner is migrating from Lawvable to the open-source mini-claude-for-legal ecosystem.
  • Bulk onboarding of existing Lawvable templates during platform integration.
  • Periodic sync of updated Lawvable templates back into the skills store.

Setup / auth

RequirementDetail
Lawvable extension installedVS Code 1.82+ with Lawvable extension active
Export formatLawvable export bundle (.lawvable.zip or folder)
Target directoryWritable path within skills/ hierarchy
Louis API key (optional)Required only if writing directly to hosted Louis instance

No OAuth is needed for local file-based imports. For hosted deployments, use a scoped import API key — never a full admin credential.


Capabilities

  • Parse Lawvable's document-builder JSON schema (clauses[], variables[], metadata{})
  • Map Lawvable clause types to Louis skill categories (e.g., Lawvable ClauseType.NDA → category draft)
  • Extract frontmatter fields: name, jurisdictions, practice_area, intent tags
  • Normalize variable placeholders ({{variable}} → Louis input schema)
  • Preserve clause commentary and drafting notes as ## Drafting standards body sections
  • Generate dry-run diff showing: new skills to be created, existing skills to be updated, conflicts requiring manual resolution

Usage patterns

Basic dry-run

import source="lawvable" path="/exports/firm-clause-library" dry_run=true

Output: table of detected skills, proposed target paths, field-mapping warnings.

Confirmed import

import source="lawvable" path="/exports/firm-clause-library" dry_run=false overwrite=false

overwrite=false (default): skip any target file that already exists — safe for incremental syncs.
overwrite=true: replace existing skills — use only after reviewing dry-run output.

Selective import (single template)

import source="lawvable" file="NDA-standard-KSA.json" target="skills/draft/draft-nda-ksa/"

Field mapping reference

Lawvable fieldLouis SKILL.md fieldNotes
metadata.titlenameLowercased, hyphenated
metadata.jurisdiction[]jurisdictionsISO codes normalized
metadata.practiceAreapractice_areaMapped to Louis taxonomy
metadata.tags[]intentPreserved as-is; __import__ always appended
clauses[].bodySKILL.md body sectionsMapped by clause type
variables[].name## Required inputs entriesType + default extracted
metadata.versionversionPreserved verbatim

Permissions & safety

  • Dry-run is mandatory before any write operation. The system will refuse a confirmed write if dry-run has not been executed in the same session.
  • Never overwrite production skills without explicit overwrite=true and dry-run review.
  • PII scrubbing: if any Lawvable template contains example client data (names, addresses, matter numbers), the importer flags and strips these before writing.
  • No network calls during import unless explicitly configured for hosted-Louis sync.
  • Import runs under the calling user's file-system permissions — do not run as root.

Failure modes

FailureCauseResolution
schema_parse_errorLawvable export format changedUpdate schema adapter; check Lawvable release notes
jurisdiction_unmappedLawvable uses non-standard jurisdiction codeAdd manual mapping in import config
duplicate_skill_conflictTarget path already existsUse dry-run to review, then set overwrite=true if intentional
variable_type_unknownLawvable variable type not in Louis taxonomyDefaults to string; add to type registry if recurring
body_too_shortLawvable clause has no body textSkill is flagged as stub; manual enrichment required

Related skills

  • [[import-xlsx-processing-anthropic]]
  • [[connector-vscode-extension]]
  • [[draft-nda-unilateral]]
  • [[draft-employment-contract]]

Files included

  • SKILL.md

More skills