JUDICIAL KNOWLEDGE HUB · by Cecep Mustafa (IJC)

Prompt Engineering for Judiciary

By Cecep Mustafa, Indonesian Judicial College (IJC) · revision 192, 2026-08-28 · wiki source · Markdown

Prompt Engineering for Judiciary

Prompt engineering for judiciary refers to the structured design of instructions given to AI systems for judicial, administrative, research, educational, or knowledge-management tasks.

Basic Prompt Architecture

A robust prompt may contain:

ROLE + TASK + CONTEXT + SOURCE + CONSTRAINTS + OUTPUT FORMAT + VERIFICATION

Example

ROLE:
Act as a legal research assistant.

TASK:
Extract the legal propositions from the supplied decision.

SOURCE:
Use only the supplied document.

CONSTRAINTS:
Do not invent citations.
Distinguish facts from legal reasoning.

OUTPUT:
Issue | Rule | Reasoning | Holding | Citation

VERIFICATION:
Flag every proposition that cannot be directly located
in the source.

Prompt Safety

Prompts should avoid:

Prompt and Evidence

A good judicial prompt should make the evidence boundary clear:

WHAT MAY THE AI USE?

WHAT MAY THE AI INFER?

WHAT MUST THE AI NOT INVENT?

Competency

Prompt literacy should be combined with:

Cite this page
Mustafa, C. (2026). Prompt Engineering for Judiciary. In Judicial Knowledge Hub. Indonesian Judicial College (IJC). https://bsdkijc-dev.github.io/judicial-knowledge-hub/p/Prompt_Engineering_for_Judiciary.html
Author: Cecep Mustafa, IJC, ORCID 0000-0003-0037-497X · Licence: CC BY-SA 4.0