npx claudepluginhub jdrodriguez/legal-toolkit --plugin legal-toolkitWant just this skill?
Then install: npx claudepluginhub u/[userId]/[slug]
Calculate court litigation deadlines with FRCP Rule 6 compliance, jurisdiction-aware holiday and business day handling, service method adjustments, and cascading deadline chains. Use when: (1) a user needs to calculate court filing deadlines, response deadlines, or discovery deadlines, (2) a user says 'calculate deadlines', 'when is the response due', 'what are the deadlines for this case', 'FRCP deadlines', or 'court calendar', (3) any litigation scheduling task involving federal or state court rules, (4) a user needs to export deadlines to a calendar (.ics) or generate a deadline report.
This skill uses the workspace's default tool permissions.
scripts/calculate_deadlines.pyscripts/check_dependencies.pyCourt Deadline Calculator
Calculate litigation deadlines with FRCP Rule 6 compliance, jurisdiction-aware holiday/business day handling, and calendar export.
Supported jurisdictions: Federal (FRCP), CA, NY, TX, FL, IL Service methods: electronic, mail, personal Event types: complaint_served, motion_filed, discovery_request, summary_judgment, appeal_filed
Skill Directory
Scripts are in the scripts/ subdirectory of this skill's directory.
Resolve SKILL_DIR as the absolute path of this SKILL.md file's parent directory. Use SKILL_DIR in all script paths below.
Process
Step 1: Validate Input
- Confirm the user provided case details. If not, ask for:
- Trigger date: the date of the triggering event (e.g., date of service, date motion was filed)
- Jurisdiction: "federal" or a state code (CA, NY, TX, FL, IL)
- Event type: what happened (complaint_served, motion_filed, discovery_request, summary_judgment, appeal_filed)
- Service method: how service was made (electronic, mail, personal)
- Case caption (optional): e.g., "Smith v. Jones"
- Validate the trigger date is a valid date string (YYYY-MM-DD format).
- Validate jurisdiction is one of: federal, CA, NY, TX, FL, IL.
- Validate event type is recognized.
Step 2: Check Dependencies
python3 "$SKILL_DIR/scripts/check_dependencies.py"
- Exit 0: all good. Exit 1: packages were installed (proceed). Exit 2: failed (report to user).
Step 3: Create Input JSON
Build an input JSON file from the user's details:
WORK_DIR="/tmp/legal-deadlines-$(date +%s)"
mkdir -p "$WORK_DIR"
Write the input file to $WORK_DIR/input.json:
{
"trigger_date": "2026-03-15",
"jurisdiction": "federal",
"state": "CA",
"event_type": "complaint_served",
"service_method": "personal",
"case_caption": "Smith v. Jones",
"custom_deadlines": []
}
If the user specifies custom deadlines, add them to the custom_deadlines array:
{"name": "Expert Report", "days": 90, "business_days": true}
Step 4: Run Deadline Calculator
python3 "$SKILL_DIR/scripts/calculate_deadlines.py" \
--input "$WORK_DIR/input.json" \
--output-dir "$WORK_DIR"
The script outputs JSON to stdout with the calculation results.
Step 5: Present Results
- Read
$WORK_DIR/deadline_report.txtand present the deadline schedule to the user. - Read
$WORK_DIR/deadlines.jsonfor structured data. - Inform the user that the following files were generated:
deadlines.json- structured deadline data with rule citationsdeadlines.ics- iCalendar file for import into calendar apps (Google Calendar, Outlook, Apple Calendar)deadline_report.txt- human-readable deadline schedule
Step 6: Offer Additional Actions
- Calendar import: Point user to
$WORK_DIR/deadlines.icsfor calendar import - DOCX report: Offer to generate a formal .docx deadline report using the npm
docxpackage - Recalculate: If user wants to adjust dates or add custom deadlines, loop back to Step 3
Error Handling
- Invalid date format: Ask user to provide date in YYYY-MM-DD format
- Unknown jurisdiction: List supported jurisdictions and ask user to choose
- Unknown event type: List supported event types and ask user to choose
- Holiday data unavailable: Fall back to weekend-only calculations and warn user
- Script not found: Verify the skill is installed (
ls $SKILL_DIR/scripts/)
Similar Skills
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies