1---2name: justice-slash-commands3description: Use to handle slash-command inputs typed by users in the Louis chat interface. Defines the full command catalog, autocomplete behavior, parameter handling, and routing logic for each command. Each slash command is a shortcut to a Louis skill or workflow — this skill bridges user input to skill invocation. Covers all jurisdictions; no practice area restriction.4license: MIT5metadata:6 id: justice.slash-commands7 category: justice8 jurisdictions: [__multi__]9 priority: P210 intent: [commands, slash-commands, shortcut, chat-input, skill-invocation]11 related: [justice-message-actions, justice-result-page-routing, justice-intent-how-to]12 source: https://skillmd.com/skills/sboghossian-mini-claude-for-legal/justice-slash-commands13 upstream: Louis — HAQQ Legal AI (github.com/sboghossian/mini-claude-for-legal)14 version: "1.0"15---1617# Justice — Slash Commands1819## Purpose2021Slash commands are keyboard-first shortcuts in the Louis chat input. When a user types `/`, the interface surfaces an autocomplete dropdown. This skill defines every supported command, its parameters, its routing target, and its behavior on invocation.2223## Trigger2425A slash command is triggered when the user:261. Types `/` at the start of a chat message (or after a space, for inline commands)272. The autocomplete dropdown appears, filtered as the user continues typing283. User selects a command (keyboard or click) or types the full command and presses Enter2930## Command catalog3132### Drafting3334| Command | Parameters | Behavior |35|---|---|---|36| `/draft [type]` | Type: nda, employment-contract, lease, spa, moa, loi, demand-letter, etc. | Invokes the appropriate drafting skill; prompts for required inputs; routes output to doc workspace |37| `/clause [name]` | Name: confidentiality, governing-law, limitation-of-liability, dispute-resolution, etc. | Pulls the named clause from the firm's clause library + the Louis standard library; inserts inline or into active document |3839### Review4041| Command | Parameters | Behavior |42|---|---|---|43| `/review [type]` | Type: general, risk-only, clause-by-clause, redline | Invokes the contract review skill on the most recently uploaded or pasted document; routes output to result page or inline |4445### Research4647| Command | Parameters | Behavior |48|---|---|---|49| `/research [topic]` | Topic: free text (e.g., "termination for cause UAE", "PDPL obligations KSA") | Invokes the legal research skill; prompts for jurisdiction if not specified; routes output to memo viewer |50| `/citation [case or statute]` | Reference: free text | Looks up and formats the citation in the active citation style; inserts into active document or returns inline |5152### Translation5354| Command | Parameters | Behavior |55|---|---|---|56| `/translate [lang]` | Lang: ar, fr, en, or auto | Translates the selected text or last assistant message to the target language; routes to bilingual viewer if > 200 words |5758### Navigation / context5960| Command | Parameters | Behavior |61|---|---|---|62| `/matter [id or name]` | Matter ID or partial name | Switches the active matter context; all subsequent saves and sends attach to this matter |63| `/jurisdiction [code]` | Code: LB, UAE, DIFC, KSA, EG, FR, UK, US, etc. | Sets the active jurisdiction filter for all subsequent skills in this session |6465### Utility6667| Command | Parameters | Behavior |68|---|---|---|69| `/skills` | None | Lists all available skills (filterable by category or jurisdiction); links to each skill's description |70| `/help` | Optional: [topic] | Opens the help panel; if a topic is provided, jumps to the relevant help article |71| `/export` | Optional: [format] (pdf, docx, md) | Exports the current conversation or active document to the specified format |7273## Autocomplete behavior7475- Dropdown appears immediately on `/` keystroke76- Commands are filtered in real-time as the user types (e.g., `/dr` shows `/draft`)77- Each item in the dropdown shows: command name, parameter hint, one-line description78- Keyboard navigation: arrow keys to move, Enter to select, Escape to dismiss79- Frequently used commands surface at the top based on user history80- Commands unavailable in the current context (e.g., `/matter` when no matters exist) are shown grayed out with a tooltip explaining why8182## Parameter handling8384- Parameters after the command name are parsed in order: `/draft nda` → type=nda85- For commands with required parameters not provided (e.g., `/review` with no document uploaded), surface a prompt: "What document would you like me to review? You can paste it now."86- Multiple parameters separated by space: `/draft employment-contract uae ar` → type=employment-contract, jurisdiction=UAE, language=ar87- Quoted parameters for multi-word values: `/research "termination for cause" uae`8889## Error handling9091| Error condition | User-facing message |92|---|---|93| Unknown command (e.g., `/foo`) | "I don't recognize `/foo`. Try `/skills` to see all available commands." |94| Command used out of context (e.g., `/review` with no document) | "[Brief explanation of what's needed] — [prompt to provide it]" |95| Command unavailable on current plan | "This command requires the [Plan] tier. [Upgrade link]" |9697## Related skills9899- [[justice-message-actions]]100- [[justice-result-page-routing]]101- [[justice-intent-how-to]]