Skip to content

feat: legal-ops plugin — 9 skills, 6 jurisdictions, 4 commands#3

Merged
mjunaidca merged 3 commits into
mainfrom
feat/legal-ops-plugin
Mar 6, 2026
Merged

feat: legal-ops plugin — 9 skills, 6 jurisdictions, 4 commands#3
mjunaidca merged 3 commits into
mainfrom
feat/legal-ops-plugin

Conversation

@mjunaidca

Copy link
Copy Markdown
Collaborator

Summary

  • Legal Operations and Compliance plugin for Chapter 22 of The AI Agent Factory
  • 9 skills: legal-global-router, jurisdiction-contract-review, jurisdiction-nda-triage, ip-protection, regulatory-monitoring, dsar-privacy, legal-spend, compliance-calendar, contract-intake-agent
  • 6 jurisdiction overlays: UK, EU, US, Pakistan, UAE, GCC
  • 4 commands: /review-contract, /triage-nda, /vendor-check, /legal-brief
  • 8 exercises, 4 workflow recipes, evals (routing + product golden files), hooks, playbook template
  • CI: legal-ops-evals.yml (PR validation) + legal-ops-release.yml (tag → zip + GitHub Release)
  • jurisdiction- prefix on contract-review and nda-triage skills avoids collision with Anthropic's legal@knowledge-work-plugins base plugin

Companion PR

Book repo: panaversity/agentfactory — feat/ch22-legal-ops branch (12 lessons)

Test plan

  • Verify all 9 skills/*/SKILL.md files have valid YAML frontmatter (name, description)
  • Verify marketplace.json is valid JSON with correct legal-ops entry
  • Verify plugin.json matches actual skill/command counts
  • Run python3 evals/run-evals.py --dry-run passes
  • Verify CI workflows trigger on legal-ops path changes

🤖 Generated with Claude Code

mjunaidca and others added 3 commits March 6, 2026 12:49
Legal Operations and Compliance plugin for Chapter 22 of The AI Agent
Factory. Includes legal-global-router with jurisdiction-aware dispatch,
jurisdiction-contract-review, jurisdiction-nda-triage (named to avoid
collision with Anthropic's base legal plugin), ip-protection,
regulatory-monitoring, dsar-privacy, legal-spend, compliance-calendar,
and contract-intake-agent.

6 jurisdiction overlays: UK, EU, US, Pakistan, UAE, GCC.
4 commands: /review-contract, /triage-nda, /vendor-check, /legal-brief.
8 exercises, 4 workflow recipes, evals, hooks, playbook template.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…tion

- legal-ops-evals.yml: skill structure validation, golden file checks, dry-run
- legal-ops-release.yml: tag-triggered zip builds and GitHub release
- marketplace.json: correct to 9 skills, 6 jurisdictions (was 8/5)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Golden files are arrays, not dicts with a 'cases' key. Fix field name
checks to match actual schema (expected_product_skill, scenario,
expected_contains).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mjunaidca mjunaidca merged commit 96566df into main Mar 6, 2026
1 check passed
@mjunaidca mjunaidca deleted the feat/legal-ops-plugin branch March 10, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant