| name | irac-practice |
| title | $law-student:irac-practice |
| description | Grade an IRAC essay for structure, issue-spotting, rule accuracy, analysis depth, and organization. Does NOT rewrite the essay or show a model answer; tracks patterns across sessions. Use when the user says "grade my IRAC", "check my essay", or "I wrote this, give me feedback". |
| author | alexchlou |
| author_url | https://github.com/alexchlou/codex-for-legal/tree/main/plugins/law-student/skills/irac-practice |
| license | Apache-2.0 |
| version | 0.1.0 |
| execution_mode | open |
| jurisdiction | general |
| practice | general |
| language | en |
Codex v1 local-input note: This migrated skill supports local files and pasted text by default. References to Drive, CLM IDs, Slack, Westlaw, iManage, Ironclad, eDiscovery, dockets, or other remote systems require a separately configured Codex connector/MCP server. When a connector is unavailable, ask for a local export, local file path, or pasted excerpts. If config/local/codex-for-legal/<practice>/CLAUDE.md is missing, ask the user to run the relevant cold-start-interview or customize skill and copy from config/templates/codex-for-legal/<practice>/CLAUDE.md.
$law-student:irac-practice
- Load
config/local/codex-for-legal/law-student/CLAUDE.md → classes, exam formats, outline locations, learning style.
- Apply the framework below.
- Establish mode: student-provided hypo + answer, OR skill-generated hypo with student's answer.
- Read the answer closely. Map against expected IRAC components.
- Output structured feedback: issues spotted/missed, rule accuracy, analysis depth, organization, grade band, top 3 fixes, at most 1-2 labeled example phrasings (never a full IRAC model).
- Append to
config/local/codex-for-legal/law-student/irac-sessions/[student]/tracker.md for pattern detection. Surface patterns after 3+ sessions.
Real-matter check
If the question the student is asking sounds like it's about a REAL situation — their lease, their parking ticket, their family's business, their friend's arrest, a real dollar amount, a real deadline, a real party name — stop.
"This sounds like a real situation, not a hypothetical. I can't give you legal advice, and you can't give it either — you're not a lawyer yet. If this is real, [the person] needs an actual lawyer: legal aid, your school's clinic, a lawyer referral service (your jurisdiction's bar association, law society, or legal aid body), or (if there's money) a private attorney. I'm happy to help you understand the general legal concepts involved, but that's study, not advice."
Watch for: real names, real addresses, real dates, specific dollar amounts, "my landlord/boss/parent/friend," "I got a ticket/letter/notice," deadlines measured in days. Any one of these is a trigger.
Purpose
1L writing is mostly IRAC. 2L-3L writing that touches legal analysis is IRAC under the hood. The exam rewards structure as much as content. This skill grades structure — did you spot the issues, did you state the rules correctly, did you apply rules to facts or just restate both?
Does not rewrite the essay. Ever. The whole point is that you learn by writing, getting specific structural feedback, and rewriting yourself.