本文へ移動
cccskills
無料GitHub で公開

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.

インストール方法を見る

含まれるファイル(7)

  • SKILL.md8.9 KB
  • LICENSE.txt33.7 KB
  • README.md1001 B
  • references/contract-design.md8.2 KB
  • references/html-framework.md19.2 KB
  • references/scenario-design.md6.1 KB
  • references/strategy-questions.md4.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Legal Test Builder

Produces a production-grade interactive HTML legal assessment as a single self-contained file that works offline and renders cleanly in any modern browser.

When to use

  • Preparing a candidate for a real take-home assessment
  • Assessing legal candidates with a realistic, timed exercise that tests judgment rather than doctrine recall
  • Onboarding junior lawyers through scenario-based learning
  • Building legal training modules for in-house teams or client education
  • Law student moot and drafting exercises
  • Compliance or regulatory training where scenario application is the point

Step 1: Gather inputs

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.

InputKey questionsDefault if unspecified
RoleWhat position is being tested or trained for?"Legal Counsel"
OrganisationContext for the scenarioFictional company from the library below
Legal domain(s)Contract law, IP, employment, regulatory, M&A, compliance, privacy, etc.Commercial contracts
Governing lawEnglish law, German law, French law, New York law, etc.English law
Test durationTotal time for the assessment3 hours
DifficultyJunior / Mid / Senior / Partner-equivalentMid-level
PurposeCandidate assessment vs. training vs. exam prepCandidate assessment
Number of tasksHow many distinct exercises3-4 tasks
Model answersIncluded (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.

Step 2: Design the task stack

A strong 3-hour test uses this structure. Scale task count and timing to the duration.

Task 01: Contract Review and Redline (50-70 min)

The anchor task. Most revealing of practical legal judgment.

  • Draft a realistic 6-10 clause agreement with 5-8 embedded problems
  • Problems should span critical, high, and medium severity
  • Always include at least one missing clause (something not in the contract at all)
  • Include at least one trap clause that looks standard but is not (e.g., a licence-back that launders an overbroad IP assignment)
  • See references/contract-design.md for problem-embedding patterns

Task 02: Legal Memo / Written Analysis (35-50 min)

Tests reasoning under novelty. Best structured as a scenario with no clean answer.

  • Give a factual scenario with a genuine legal tension
  • Specify the governing law and any constraints
  • The scenario should be novel enough that the candidate cannot recite a textbook answer
  • See references/scenario-design.md for scenario construction patterns

Task 03: Short Analysis (20-35 min)

A focused issue with one problem and one answer. Good for: conflict of interest, regulatory compliance, specific employment or GDPR question, contractual interpretation.

Task 04: Strategy / Function-Building (30-45 min)

Tests seniority and commercial judgment rather than legal knowledge.

  • Classic framing: "You are the first legal hire. It is Day 90. What have you built, what have you deliberately not built, and what keeps you up at night?"
  • Alternative: "Identify the three highest-priority legal risks and how you would address each."
  • See references/strategy-questions.md for templates by role type

Step 3: Build the HTML

Read references/html-framework.md before writing code. It contains:

  • The full CSS design system (tokens, typography, components)
  • The contract annotation pattern with hover tooltips on problem clauses
  • The reveal block component
  • The timer implementation
  • The checklist component
  • Colour and severity conventions

Core architectural rules

  1. Single file: everything inline. No external dependencies except Google Fonts.
  2. Offline-capable: the test must work without internet access once fonts are cached.
  3. Timer: sticky header, shows hours:minutes:seconds. Colour shifts: normal → amber (under 30 min) → red and pulsing (under 10 min).
  4. Contract problems: annotated with data-title and data-body attributes on <span class="problem"> elements. A JS tooltip renders on hover. The annotation is invisible until hovered.
  5. Reveal blocks: model answers hidden by default. Click to reveal. Never auto-open.
  6. Write areas: <textarea class="write-area"> beneath every question. Candidate writes before revealing.
  7. Checklist: final section with clickable items. Use it to encode the marking criteria.

Content quality rules

  • Contract text must be realistic. Not obviously fake. Use proper defined terms, clause numbering, and recitals where appropriate.
  • Problems must be embedded naturally. The bad clause should read plausibly. A poorly-drafted clause spotted only because it is obviously wrong is a bad test.
  • Model answers must be opinionated. Not "it depends." State a conclusion, justify it, then acknowledge genuine uncertainty where it exists.
  • Traps must be explicitly called out in a clearly styled trap box. Candidates need to understand not just what the problem is but why the instinctive response is wrong.
  • Hook quotes: include one memorable framing sentence per major section. One line that captures the strategic point, styled in a hook box.
  • Gaps must be flagged honestly. If a model answer involves a developing area of law, say so. A gap box signals "this is uncertain; here is how to handle it."

Step 4: Severity and priority framework

Use this consistently across all problem rows and scenario analyses:

SeverityColourDefinition
CRITICALRedExistential to the organisation's mission, business model, or legal position. A lawyer who misses this fails the test.
HIGHAmberSignificant commercial or legal exposure. Should be caught and negotiated.
MEDIUMBlueSuboptimal 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.

Step 5: Checklist design

The pre-submission checklist is the invisible marking rubric. Design it to:

  • Encode what separates a good answer from an excellent one
  • Include at least 2 items about how the candidate engaged (honest about uncertainty, conclusions first, no padding) rather than only what they wrote
  • End with one sentence capturing the philosophy of the role being tested

Step 6: Two-version output

  • For candidate prep or training: build with model answers (reveals included)
  • For live assessment: strip reveals and model answer content, leaving task instructions, contract text, and write areas. Present as a clean "examiner version."

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.

Reference files

Read these before building:

  • references/html-framework.md: complete CSS and JS implementation with all component patterns
  • references/contract-design.md: how to design realistic contracts with well-embedded problems
  • references/scenario-design.md: scenario construction for memo and analysis tasks
  • references/strategy-questions.md: strategy question templates by role type

Output format

Present the final HTML file. Note in the summary:

  1. How many tasks, total time budget
  2. How many embedded contract problems and their severity distribution
  3. Whether model answers are included or excluded
  4. Any legal uncertainty flags the candidate or trainer should be aware of

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Creates an Agent Authority Charter for enterprise or regulated AI agents before deployment. Use this Skill when a user needs to define what an AI agent is allowed to do, who delegated authority to it, what actions are permitted or prohibited, when human approval is required, what evidence must be preserved, and how the agent can be suspended, revoked, or escalated.

日本語の概要は準備中です。原文の説明を表示しています。

lawve-ai/awesome-legal-skills8632026年10月3日 更新

EU AI Act Knowledge Engine — authoritative regulatory Q&A grounded in 70 official EU source documents (including the 2026 Commission draft guidelines on Art. 6 high-risk classification — general principles, Annex I, Annex III). Answers any question about the AI Act with article-level citations from the full regulation text, Commission guidelines, EDPB/EDPS opinions, codes of practice, harmonised standards, FRIA guides, incident templates, and sector-specific guidance. This skill should be used when the user asks about the "EU AI Act", "AI Act regulation", "Regulation 2024/1689", "KI-Verordnung", asks to "explain an AI Act article", "what does Article X say", "AI Act requirements", "AI Act penalties", "AI Act timeline", "GPAI obligations", "high-risk AI", "prohibited AI practices", "AI Act and GDPR", "fundamental rights impact assessment", "AI Act standards", "AI Act national implementation", "AI literacy", "serious incident reporting", "Digital Omnibus", "AI regulatory sandbox", or any question about EU artificial intelligence regulation. Also triggers on German terms: "KI-Gesetz", "KI-Verordnung", "Hochrisiko-KI", "KI-Kompetenz", "Grundrechte-Folgenabschaetzung", "GPAI-Verhaltenskodex". For assessment workflows that produce a classification decision rather than a knowledge answer, offer to run a structured risk-tier classification in-session.

日本語の概要は準備中です。原文の説明を表示しています。

lawve-ai/awesome-legal-skills8632026年10月3日 更新

This skill builds a structured audit trail of an AI-assisted task: what the tool was asked to do, what materials it was given, what it produced, how the output was verified, and what was ultimately relied upon. It documents the workflow for supervision and later review without ruling on privilege or disclosure, so the record stays accurate rather than self-serving.

日本語の概要は準備中です。原文の説明を表示しています。

lawve-ai/awesome-legal-skills8632026年10月3日 更新

Use this skill when the user wants an AI governance, legal-risk, privacy, compliance, procurement, or vendor-risk review of an internal AI use case, an AI product feature, an LLM workflow, or a third-party AI vendor. The skill asks intake and clarifying questions first when facts or evidence are missing, identifies required documentation and missing evidence, maps the use case to AI governance frameworks and applicable legal domains, and produces a preliminary or final governance review with scorecards, findings, owners, remediation actions, and follow-up questions.

日本語の概要は準備中です。原文の説明を表示しています。

lawve-ai/awesome-legal-skills8632026年10月3日 更新

Turn an interpretive-ambiguity audit of a legal text — contract, statute, regulation, or judicial opinion — into a polished deliverable. Produces a multi-page website (default), a single-page interactive site, a Microsoft Word document, a PowerPoint deck, or a LaTeX/PDF. Use whenever a user has a stress-test result, ambiguity audit, or "where will this be litigated" scenarios and wants to publish, present, or share them. Triggers on "publish the audit," "make a report from this," "turn this into a website / deck / brief / Word doc," "make a Netlify site," "build slides of these ambiguities," "render the scenarios," "package this stress test," "produce a LaTeX version," and similar. Pairs with the ambiguity-stress-test skill (the underlying analysis) but works on any structured or semi-structured ambiguity analysis. Visual design is opinionated but the user can override colors, fonts, and brand label. Most formats need Python and a writable filesystem; single-file HTML works where the host has neither.

日本語の概要は準備中です。原文の説明を表示しています。

lawve-ai/awesome-legal-skills8632026年10月3日 更新

Adversarially stress-tests a legal text — a contract, statute, regulation, or judicial opinion — for interpretive ambiguity: it finds the seams where the people governed by it will later disagree about what it means and turns each into a concrete dispute scenario with both sides' arguments, the likely outcome, and a fix. Use it whenever someone wants to pressure-test, red-team, audit, or find weak spots, loopholes, gaps, ambiguities, or drafting problems in a legal document; whenever a drafter wants to tighten a contract, statute, regulation, or opinion before it issues; whenever a litigator wants to mine an opinion or contract for arguments; or whenever someone hands over a legal text and asks where it will be fought over or for issue-spotting. Trigger it for contract review, statutory-ambiguity analysis, judicial-opinion scope analysis, and drafting QA — even if the user never says "stress-test" or "ambiguity."

日本語の概要は準備中です。原文の説明を表示しています。

lawve-ai/awesome-legal-skills8632026年10月3日 更新

lawve-ai のスキルをすべて見る

このスキルの問題を報告する