Improve case law and legislation citations

↗ view on GitHub · Claude · 2026-05-05 · cfd7ce74

- Add r.o. (rechtsoverweging) field to case law citations; system prompt
  instructs model to fill it from fetched judgment text
- Fix formatCitationPage: show "r.o. X" for case law, article ref for
  legislation, pagina N for documents - eliminating "Page undefined"
- System prompt: place citation marker directly after the legal reference
  (after "BW"/"Rv"), not after "geldt dat"
- System prompt: instruct model to use URL from fetch_legislation_article
  (which now includes today's date) rather than constructing its own
- fetchLegislationArticle: include current date in returned URL

https://claude.ai/code/session_016JxWnFc3baeDgkzDgxY6ex
Repository Jeroen1991z/mikeNL
Author Claude <noreply@anthropic.com>
Authored
Committed
Parents cec09de7
Stats 3 files changed , +23 , -8
Part of Dutch legal search tools (rechtspraak.nl + wetten.overheid.nl)

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-cfd7ce74.md from inside the repo you want the change in.

⬇ Download capture-commit-cfd7ce74.md