Adapt employment-legal plugin for UK law#1
Closed
paulieb89 wants to merge 4 commits into
Closed
Conversation
Full re-jurisdictioning of the employment-legal plugin for UK practice. All US legal framework references replaced with UK equivalents throughout 19 files (skills, agents, connectors, practice profile template, README). Key changes: - .mcp.json: replace Slack/Drive connectors with uk-legal, BAILII, govuk, uk-due-diligence, whatdotheyknow, and property-shared MCP servers - termination-review, hiring-review, wage-hour-qa, worker-classification, policy-drafting: full rewrites — ERA/TULRCA/EqA/WTR/NMW replacing FLSA/FMLA/WARN/OWBPA/at-will; ACAS Code; ET claims; DBS/RTW checks; IR35/off-payroll; SRP formula; Settlement Agreement (ERA s.203) - leave-tracker agent: SML/SPL/SAL/ShPL/PBL replacing FMLA/CFRA/USERRA/ADA; 28-day employer response, ShPL booking notice, KIT/SPLIT days - cold-start-interview, handbook-updates, log-leave, customize, internal-investigation: targeted edits — E&W/Scotland/NI jurisdiction model, UK citation tags, ET/EHRC/ICO escalation triggers - international-expansion: UK parent entity, UK data transfer direction, UK companies framing - CLAUDE.md template: CourtListener → uk-legal MCP/BAILII; FLSA example → TULRCA s.188; exempt/non-exempt → employee/worker/self-employed; California row → NI; EEOC/DOL → ET/ACAS/EHRC/ICO; jurisdiction footprint → E&W/Scotland/NI nations model - README: leave agent updated to UK statutory leave types; notes updated to UK jurisdiction model Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Update plugin description to reflect UK jurisdiction model, replacing "controlling state test" and "state supplements" with UK equivalents. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Wires up all four standard hook events (SessionStart, UserPromptSubmit, PreToolUse, PostToolUse) to scripts/hook-announce.sh, mirroring the hello-hooks pattern. Prints event name to stderr and appends full JSON payload to last-event.log during test sessions. last-event.log added to .gitignore. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
${PLUGIN_ROOT} is substituted in the command string by Goose but is not
exported as an env var — so references to $PLUGIN_ROOT inside the script
resolved to empty, causing log writes to fail with permission denied.
Fix the script to derive PLUGIN_DIR via dirname "$0" (works regardless of
what the runtime exports). Fix the command path to use $HOME/.agents/...
(shell-expanded, works in both Goose and Claude Code).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Author
|
Superseded — all 11 UK plugins (including employment-legal-uk) are now on main via the full UK suite commit. Upstream contribution open as anthropics#46. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Files changed
.mcp.jsonskills/termination-reviewskills/hiring-reviewskills/wage-hour-qaskills/worker-classificationskills/policy-draftingagents/leave-trackerskills/cold-start-interviewskills/handbook-updatesskills/log-leaveskills/customizeskills/internal-investigationskills/international-expansionskills/investigation-open/memoskills/matter-workspaceCLAUDE.mdREADME.mdStatus
Not ready to merge — needs dogfooding before main. See PR comments for proposed eval plan.
🤖 Generated with Claude Code