SKILLEMALL.ai

AB legal-diagram

Use when a user needs a legal or legal-adjacent Mermaid diagram from a document, pasted text, matter description, process, timeline, party map, obligation map, corporate structure, funds flow, or compliance workflow. Trigger on: "diagram this contract", "visualise this deal/matter", "map the parties", "create a timeline of events", "make an org chart", "obligation checklist", "export as HTML diagram". Not for general-purpose non-legal diagrams, pure graphic design, image generation, or legal advice.

lawve-ai/awesome-legal-skills Claude Code author: lawve-ai 80 files · 66 scripts body ≈ 2 442 tokens Open the sourcegithub.com↗ analyzed 62 min ago

Use when a user needs a legal or legal-adjacent Mermaid diagram from a document, pasted text, matter description, process, timeline, party map, obligation…

As a process B 69/100 · Nearly there — weak spots: inputs and preconditions, consistency, progress reporting

ProcedureSecuritySoftware developmentData and analyticstype and topics are labelled automatically from the skill text
JSON
Technical rating
A
98/100
safety, quality, tests
Safety 60%
100
Quality 40%
94
Run on models
none yet
Process rating
B
69/100
Nearly there
Inputs and preconditions w 11
0
Progress reporting w 2
0
Consistency w 8
40
the three weakest of ten parameters · all ten

How to improve

    For the model run — optional
    • Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
    • A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.

    Guard findings · 0

    ✓ No critical or high findings

    Files scanned: 80. Evidence is masked. Grey chips explain why severity was lowered.

    Against the Agent Skills spec

    ✓ No remarks against the Agent Skills spec

    Process rating: all ten parameters 69/100

    • 0Inputs and preconditions. Does not say what the process needs to start
    • 0Progress reporting. Says nothing while it works
    • 40Consistency. Frontmatter name (legal-diagram) differs from the folder (legal-diagram-sam-zhai)
    • 60Tools and files. Uses tools (bash, python, node) that frontmatter does not declare
    • 60Result and completion. Output format stated, no completion criterion
    • 100Steps. 9 steps
    • 100When it triggers. States when to use and when not to
    • 100Failures and branches. 3 branches, has a failure section
    • 100Execution cost. Instruction body is 2442 tokens
    • 100Running it twice. No mutating operations
    • medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing

    Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.

    Quality signals

    • +4No input/output examples
    • -31 of 8 scripts are never mentioned in SKILL.md
    • +2Single-language instructions
    • +5Description quotes 7 example trigger phrases
    • +4Description says when NOT to use the skill
    • +3Description length 504: enough signal without eating the budget
    • +4Structure: 10 headings
    • +3Step-by-step instructions: 9 items
    • +3Output format is stated explicitly
    • +4Reference files are cited in the instructions (1 of 1)
    • +1License stated

    Quality base 70; lint remarks subtract, signals add up to 100. Result: 94.