lawve-ai/legal-test-builder-patrick-munro
> Builds a high-fidelity interactive legal assessment as a single self-contained HTML artifact. Output includes a live countdown timer, contract review tasks with hover-annotated problem clauses, candidate answer textareas, model answers hidden behind reveal blocks, scenario-based legal memo tasks, strategy and function-building questions, and a pre-submission checklist that encodes the marking criteria. Use when the user needs to (1) assess a legal candidate with a realistic timed exercise, (2) train or onboard junior lawyers using problem sets rather than doctrine, (3) help a candidate prepare for a real take-home assessment they are facing, (4) build educational materials for law students, in-house teams, or compliance training, or (5) produce scenario-based training modules on specific legal topics. Triggers on "legal test", "take-home", "mock exam", "contract redline exercise", "candidate assessment", "legal training exercise", "practice test", or similar phrasing even when informal.
npx skills add https://github.com/lawve-ai/awesome-legal-skills --skill legal-test-builder-patrick-munro
Produces a production-grade interactive HTML legal assessment as a single self-contained file that works offline and renders cleanly in any modern browser.
Before building, confirm or infer the following. If not specified, make sensible defaults and flag assumptions visibly in the output so the user can correct them.
| Input | Key questions | Default if unspecified |
|---|---|---|
| Role | What position is being tested or trained for? | "Legal Counsel" |
| Organisation | Context for the scenario | Fictional company from the library below |
| Legal domain(s) | Contract law, IP, employment, regulatory, M&A, compliance, privacy, etc. | Commercial contracts |
| Governing law | English law, German law, French law, New York law, etc. | English law |
| Test duration | Total time for the assessment | 3 hours |
| Difficulty | Junior / Mid / Senior / Partner-equivalent | Mid-level |
| Purpose | Candidate assessment vs. training vs. exam prep | Candidate assessment |
| Number of tasks | How many distinct exercises | 3-4 tasks |
| Model answers | Included (training / prep) or excluded (live exam) | Included as reveals |
For candidate prep and training: always include model answers as hidden reveals.
For live candidate assessment: generate a second "examiner version" that strips the reveals.
A strong 3-hour test uses this structure. Scale task count and timing to the duration.
The anchor task. Most revealing of practical legal judgment.
references/contract-design.md for problem-embedding patternsTests reasoning under novelty. Best structured as a scenario with no clean answer.
references/scenario-design.md for scenario construction patternsA focused issue with one problem and one answer. Good for: conflict of interest, regulatory compliance, specific employment or GDPR question, contractual interpretation.
Tests seniority and commercial judgment rather than legal knowledge.
references/strategy-questions.md for templates by role typeRead references/html-framework.md before writing code. It contains:
data-title and data-body attributes on <span class="problem"> elements. A JS tooltip renders on hover. The annotation is invisible until hovered.<textarea class="write-area"> beneath every question. Candidate writes before revealing.Use this consistently across all problem rows and scenario analyses:
| Severity | Colour | Definition |
|---|---|---|
| CRITICAL | Red | Existential to the organisation's mission, business model, or legal position. A lawyer who misses this fails the test. |
| HIGH | Amber | Significant commercial or legal exposure. Should be caught and negotiated. |
| MEDIUM | Blue | Suboptimal but not immediately dangerous. Bonus credit for catching it. |
In contract tasks, always include at least 2 CRITICAL problems. The candidates who catch both and articulate why they are existential are the ones worth hiring.
The pre-submission checklist is the invisible marking rubric. Design it to:
To generate the clean version, remove all .reveal-block divs and .reveal-body content. The .reveal-header can be removed or left as a "Marking notes" placeholder visible only to the examiner version.
Read these before building:
references/html-framework.md: complete CSS and JS implementation with all component patternsreferences/contract-design.md: how to design realistic contracts with well-embedded problemsreferences/scenario-design.md: scenario construction for memo and analysis tasksreferences/strategy-questions.md: strategy question templates by role typePresent the final HTML file. Note in the summary:
Take lawve-ai/legal-test-builder-patrick-munro from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.