/corporate-legal-uk:bill-debate-tracefrom Corporate Legal UK
Traces the parliamentary journey of a UK bill through debates, votes, and named contributions using Bills API, Hansard, and Votes data.
Ships in Corporate Legal UK. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
bills_search_bills(query="<name>").parliament_search_hansard(query=..., filters.house=...).parliament_get_debate_divisions(debate_ext_id=...).parliament_get_debate_contributions(debate_ext_id=..., member_id=...).Assemble a chronological view of a UK bill's parliamentary journey — its current stage, the debates it generated in each House, any divisions (votes), and (if requested) specific contributions by named peers or MPs. The skill draws on three data sources via uk-legal MCP: the Bills API for metadata and stage, Hansard for debates and contributions, and the Votes/Divisions API for division counts and government-win data.
Source discipline: If a
uk-legal MCPtool returns empty or errored (status:empty/not_found/upstream_validation/ etc.), do NOT supplement from training data or web search. Report the empty result to the user with the tool'snext_steps/detailfield surfaced, and ask for clarifying information (different spelling of a name, a date range, the source URL) rather than fabricating a plausible-looking answer. Empty results are HONEST signal — not a failure mode to paper over.
Call bills_search_bills(query="<name>"). Returns bill records with current_stage,
originating_house, and sponsor. If multiple bills match, list them and ask the
user to confirm the right one before proceeding.
Call parliament_search_hansard(query="<bill short title>"). Because the Hansard
search is capped at four results per query, run it per-house if needed:
parliament_search_hansard(query="<short title>", filters.house="Lords")parliament_search_hansard(query="<short title>", filters.house="Commons")Collect all debate_ext_id values returned across both queries.
For each debate_ext_id collected in Step 2, call
parliament_get_debate_divisions(debate_ext_id=...). Returns aye_count,
noe_count, and government_win for each division within the debate.
Many debates have zero divisions (motion agreed without a vote). Report this honestly: "No divisions recorded — motion agreed without a vote." Do not omit debates because they had no divisions; include them in the chronological list.
Only retrieve individual contributions if the user named a specific peer or MP. Do NOT enumerate all speakers — that is noisy and unhelpful for most queries.
If a specific member is named:
parliament_find_member(name=...) to confirm the member_id.parliament_get_debate_contributions(debate_ext_id=..., member_id=...)
for each relevant debate.[uk-legal MCP — Hansard].For general "who spoke" questions, summarise from the debate metadata rather than retrieving all individual contribution records.
Report:
current_stage, originating house, sponsor
tagged [uk-legal MCP — bills][uk-legal MCP — Hansard][uk-legal MCP — votes]Source attribution. Bill metadata carries [uk-legal MCP — bills]. Debate
and contribution data carries [uk-legal MCP — Hansard]. Division data carries
[uk-legal MCP — votes]. No division result may be reported without a
parliament_get_debate_divisions result from this session. No contribution may
be reported without a parliament_get_debate_contributions result from this session.
Surface to the user:
Bill: title, current_stage, originating house, sponsor
[uk-legal MCP — bills]
Parliamentary journey (chronological):
| Date | House | Debate | Divisions |
|---|---|---|---|
| [date] | Lords / Commons | [debate title, Hansard col ref] | [N ayes / N noes / gov win: Y/N] or "no divisions" |
[uk-legal MCP — Hansard] on debate entries; [uk-legal MCP — votes] on division entries
Named contributions (if the user requested): verbatim text with
[uk-legal MCP — Hansard] and column citation
Suggested next steps:
/statute-amendments-trace/find-member-contributionTest prompts:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub uk-agents/uk-legal-plugins --plugin corporate-legal-uk14 skills in this plugin
/ai-tool-handoffDetects when Luminance, Kira, or a similar bulk-review tool is in use, hands off the high-volume clause extraction to it, and QAs its output per the trust level in `~/.claude/plugins/config/uk-legal-plugins/corporate-legal-uk/CLAUDE.md`. Use when user says "send to Luminance", "bulk review", "AI extraction", or when diligence-issue-extraction hits a high-volume category.
/board-minutesDrafts board or committee meeting minutes in your house format under the Companies Act 2006. Auto-detects upcoming board and committee meetings from your calendar, asks for the agenda and any slides or pre-read materials, and produces a complete draft in the format learned from your seed minutes. Handles quorum confirmation, conflict of interest disclosures (CA2006 s.177), and the distinction between decisions that can be made at a meeting versus by written resolution. Trigger: "board minutes", "draft minutes", "upcoming board meeting", "committee minutes", or calendar detection of an upcoming board or committee event.
/closing-checklistWhat's blocking completion — maintain the closing checklist with status, critical path, and days to completion. Self-updating: ingests new items from diligence findings and schedule builds, tracks status, surfaces what's blocking. UK-specific: covers CMA merger control, FCA Part XII change of control, Panel conditions, and CA2006 corporate approvals. Use when user says "closing checklist", "what's left to close", "checklist status", "add to the checklist", or on a scheduled status pull.
2 plugins in one repository ship this exact skill · first indexed Aug 22, 2026
Other plugins' skills for the same job