deadlines

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

/deadlines

/deadlines

  1. Load
    ~/.claude/plugins/config/claude-for-legal/legal-clinic/CLAUDE.md
    → jurisdiction, practice areas, warning-day cadence.
  2. Use the workflow below.
  3. Route by flag:
    • --add
      : capture case, type, description, due date, source, owner. Write to
      ~/.claude/plugins/config/claude-for-legal/legal-clinic/deadlines.yaml
      . Check for duplicates first.
    • --report
      (default): cross-case rollup — overdue, next 3d, next 7d, next 14d; by owner; by practice area; unassigned flags.
    • --update [id]
      : modify fields; log note with date.
    • --complete [id]
      : mark done; confirm with student that work is actually filed/submitted.
    • --close [id]
      : close-without-completing; require rationale in notes.
  4. Confirm any write before committing.

  1. 加载
    ~/.claude/plugins/config/claude-for-legal/legal-clinic/CLAUDE.md
    → 管辖区域、业务领域、提醒天数节奏。
  2. 使用以下工作流。
  3. 按标志路由:
    • --add
      :记录案件、类型、描述、截止日期、来源、负责人。写入
      ~/.claude/plugins/config/claude-for-legal/legal-clinic/deadlines.yaml
      。先检查是否存在重复项。
    • --report
      (默认):跨案件汇总——逾期、未来3天、未来7天、未来14天;按负责人分类;按业务领域分类;标记未分配项。
    • --update [id]
      :修改字段;记录带日期的备注。
    • --complete [id]
      :标记为已完成;向学生确认工作已实际提交/归档。
    • --close [id]
      :未完成即关闭;备注中需说明理由。
  4. 提交前确认所有写入操作。

Deadlines

Deadlines

Purpose

用途

A clinic's biggest operational risk is a missed deadline. Students carry multiple cases, work part-time, turn over every semester. Deadlines that live only in individual students' heads get dropped at handoff, get forgotten during finals week, get missed when a student unexpectedly withdraws from the clinic. This skill is the central operational record.
The supervising attorney is on the hook if a deadline is missed. The skill is calibrated to that stakes level — warnings fire early, overdue items stay visible until explicitly resolved, handoffs (via
/semester-handoff
) pull the deadline list forward to the next student.
诊所最大的运营风险就是错过截止日期。学生同时处理多个案件,兼职工作,每学期轮换。仅存在于学生个人脑海中的截止日期会在交接时遗漏,考试周被遗忘,或在学生突然退出诊所时错过。本技能是核心运营记录工具。
如果错过截止日期,责任将落在主管律师身上。本技能针对这一风险级别进行校准——提醒提前触发,逾期项目保持可见直至明确解决,交接(通过
/semester-handoff
)会将截止日期列表传递给下一位学生。

Load context

加载上下文

  • ~/.claude/plugins/config/claude-for-legal/legal-clinic/CLAUDE.md
    → jurisdiction, practice areas, deadline warning days (default 14/7/3/1), supervising attorneys
  • ~/.claude/plugins/config/claude-for-legal/legal-clinic/deadlines.yaml
    — the ledger
Jurisdiction assumption. Deadline calculations and warning thresholds assume the jurisdiction set in CLAUDE.md. Deadlines, tolling rules, computation-of-time rules, and local court practices vary materially by jurisdiction and by specific court. If a matter involves a different state, a specific court's local rules, or a federal vs. state forum question, confirm the deadline against the governing rule with your supervisor before relying on it.
  • ~/.claude/plugins/config/claude-for-legal/legal-clinic/CLAUDE.md
    → 管辖区域、业务领域、截止日期提醒天数(默认14/7/3/1)、主管律师
  • ~/.claude/plugins/config/claude-for-legal/legal-clinic/deadlines.yaml
    — 台账
管辖区域假设:截止日期计算和提醒阈值基于CLAUDE.md中设置的管辖区域。截止日期、中止规则、时间计算规则和当地法院惯例因管辖区域和具体法院差异显著。如果案件涉及其他州、特定法院的当地规则,或联邦与州法院的选择问题,请在依赖本技能前与主管确认截止日期是否符合相关规则。

Modes

模式

Flag:
--add | --report | --update | --complete | --close
(default: report)
标志:
--add | --report | --update | --complete | --close
(默认:report)

--add
— log a new deadline

--add
— 记录新截止日期

Inputs:
  • Case ID + name (which case)
  • Practice area
  • Type (filing / hearing / statute-of-limitations / discovery / cure-period / response / notice / other)
  • Description — one line of what's due
  • Due date (and time + timezone if applicable)
  • Source — where the deadline came from (court order served 2026-04-20, statute 8 USC § 1229a, cure period in contract §7)
  • Owner student — the student responsible
The skill generates an
id
slug automatically:
[case]-[short-desc]-[YYYY-MM]
.
Extraction from other skills: when
/client-intake
,
/draft
, or
/status
surface a deadline in their output, they should hand off to this skill with pre-populated fields. Student confirms and adds.
Pre-add check: if a deadline with the same case_id + type + due_date already exists, flag as likely duplicate and ask before adding.
Plausibility sanity band. After the student enters a due date, do NOT compute or verify — but apply a rough plausibility check against typical ranges for the filing type, and flag the student if the date falls far outside. This is scaffolding to catch gross errors in the student's own math, not an alternative to computing against the rule.
Bands are jurisdiction-keyed. Load the band file for this clinic's jurisdiction from
references/plausibility-bands/{state}.md
where
{state}
is the two-letter code from
~/.claude/plugins/config/claude-for-legal/legal-clinic/CLAUDE.md
→ clinic jurisdiction (and federal always loads alongside). The legal-clinic plugin ships
references/plausibility-bands/CA.md
(fully populated) and
references/plausibility-bands/IL.md
(placeholder structure) as starting points.
Hard stop at cold-start if the band file is missing. If
references/plausibility-bands/{state}.md
does not exist for the clinic's jurisdiction, do NOT silently run without plausibility checks. At cold-start, tell the supervisor:
"I don't have deadline plausibility checks for [state] — the sanity band for this clinic's jurisdiction isn't in the shipped reference files. I can still track deadlines (add, report, update, complete, close), but I cannot sanity-check them against typical ranges. Here's how to build the band file from your state's rules: copy
references/plausibility-bands/IL.md
as a template, fill in one row per deadline type your clinic sees most (typical range, triggering-event handling, computation-of-time rule, short cite), save at
references/plausibility-bands/{state}.md
, and re-run
/legal-clinic:deadlines
. Until then, every deadline I accept will carry
warnings: no-plausibility-band
and your review should treat dates as unchecked."
Do not fall back to the CA table for a non-CA clinic. The silent-degradation case — shipping a California sanity check to an Illinois clinic — is the failure this fix exists to close.
Sanity check logic:
  1. Load the bands table for this clinic's jurisdiction from
    references/plausibility-bands/{state}.md
    (plus federal-always).
  2. After the student enters
    due:
    , compare to triggering-event date + typical range for that
    type:
    (if a typical range exists in the loaded band file for the filing type).
  3. If inside the range, write the entry. Say nothing — the band exists to catch errors, not to congratulate correct math.
  4. If outside the range by a material margin, stop before writing and say:
    The date you entered falls outside the typical range for [type] in [jurisdiction]. [Type] deadlines for [filing type] typically fall ~[range] after [triggering event]. Your entry: [date], which is [N] days from [triggering event]. Re-check your calculation against [cited rule from the band file] and the jurisdiction's computation-of-time rule. If your calculation is correct (local rule exception, atypical triggering event, tolling, waiver), confirm and I will add the entry as-is. Otherwise, recompute and re-run
    /deadlines --add
    .
  5. If no band is known for this
    type:
    (unusual filing, non-standard deadline), do not sanity-check — write the entry and note in the
    warnings:
    field that no plausibility band applies.
  6. If the band file is missing entirely for this jurisdiction, the hard stop above applies at cold-start; in steady-state (supervisor acknowledged the gap and proceeded), every entry is written with
    warnings: no-plausibility-band
    .
The skill does not compute. If the student enters
[VERIFY]
in the
due:
field because they haven't done the math yet, write the entry with
due: [VERIFY]
— the sanity band runs only when the student supplies a concrete date. The computation stays with the student and supervisor.
输入项
  • 案件ID + 名称(对应案件)
  • 业务领域
  • 类型(归档/听证/诉讼时效/证据开示/补救期/答复/通知/其他)
  • 描述——一行说明待办事项
  • 截止日期(如有需要,包含时间及时区)
  • 来源——截止日期的出处(2026-04-20送达的法院命令、8 USC § 1229a法规、合同第7条中的补救期)
  • 负责学生——承担责任的学生
本技能会自动生成
id
标识符:
[case]-[short-desc]-[YYYY-MM]
从其他技能提取:当
/client-intake
/draft
/status
在输出中显示截止日期时,应将预填充字段传递给本技能,由学生确认后添加。
添加前检查:如果已存在相同case_id + type + due_date的截止日期,标记为疑似重复并询问是否添加。
合理性检查范围:学生输入截止日期后,本技能不会计算或验证,但会针对该归档类型的典型范围进行粗略合理性检查,如果日期明显超出范围则向学生标记。这是为了发现学生计算中的明显错误,而非替代规则计算。
范围与管辖区域绑定:从
references/plausibility-bands/{state}.md
加载诊所管辖区域的范围文件,其中
{state}
~/.claude/plugins/config/claude-for-legal/legal-clinic/CLAUDE.md
中诊所管辖区域的两字母代码(联邦规则始终同时加载)。legal-clinic插件提供
references/plausibility-bands/CA.md
(完整填充)和
references/plausibility-bands/IL.md
(占位结构)作为起点。
范围文件缺失时强制停止:如果诊所管辖区域对应的
references/plausibility-bands/{state}.md
不存在,请勿在无合理性检查的情况下静默运行。在启动时告知主管:
"我没有[state]的截止日期合理性检查规则——该诊所管辖区域的合理性范围未包含在提供的参考文件中。我仍可跟踪截止日期(添加、报告、更新、完成、关闭),但无法针对典型范围进行合理性检查。以下是根据您所在州规则构建范围文件的方法:复制
references/plausibility-bands/IL.md
作为模板,针对诊所最常见的每种截止日期类型填写一行(典型范围、触发事件处理、时间计算规则、简短引用),保存至
references/plausibility-bands/{state}.md
,然后重新运行
/legal-clinic:deadlines
。在此之前,我接受的每个截止日期都会标记
warnings: no-plausibility-band
,您在审核时应视为日期未经过检查。"
请勿为非加州诊所回退使用加州规则表。静默降级(将加州合理性检查提供给伊利诺伊州诊所)正是此修复要避免的错误情况。
合理性检查逻辑
  1. references/plausibility-bands/{state}.md
    加载诊所管辖区域的范围表(加上联邦通用规则)。
  2. 学生输入
    due:
    后,将其与该
    type:
    的触发事件日期+典型范围进行比较(如果加载的范围文件中存在该归档类型的典型范围)。
  3. 如果在范围内,写入条目。无需提示——范围存在的目的是发现错误,而非确认正确计算。
  4. 如果明显超出范围,在写入前停止并提示:
    您输入的日期超出了[jurisdiction]中[type]的典型范围。[filing type]类型的截止日期通常在[triggering event]后~[range]天内。您输入的日期:[date],距离[triggering event]有[N]天。请根据范围文件中引用的规则和管辖区域的时间计算规则重新检查您的计算。如果您的计算正确(当地规则例外、非典型触发事件、中止、弃权),请确认,我将按原样添加条目。否则,请重新计算并重新运行
    /deadlines --add
  5. 如果该
    type:
    没有已知范围(不常见的归档类型、非标准截止日期),不进行合理性检查——写入条目并在
    warnings:
    字段中注明无适用合理性范围。
  6. 如果管辖区域的范围文件完全缺失,上述启动时的强制停止将生效;在稳定状态(主管已确认差距并继续)下,每个条目都会标记
    warnings: no-plausibility-band
    后写入。
本技能不进行计算:如果学生在
due:
字段中输入
[VERIFY]
表示尚未完成计算,写入条目时保留
due: [VERIFY]
——仅当学生提供具体日期时才会运行合理性范围检查。计算工作由学生和主管负责。

--report
(default) — cross-case rollup

--report
(默认)——跨案件汇总

Read
~/.claude/plugins/config/claude-for-legal/legal-clinic/deadlines.yaml
. Produce:
markdown
undefined
读取
~/.claude/plugins/config/claude-for-legal/legal-clinic/deadlines.yaml
。生成:
markdown
undefined

Deadline Report — [today]

截止日期报告 — [今日]

Active deadlines: [N] Overdue: [N] ⚠️ Due this week (next 7 days): [N]

活跃截止日期: [N] 逾期: [N] ⚠️ 本周到期(未来7天): [N]

⚠️ Overdue (flagged for immediate attention)

⚠️ 逾期(需立即关注)

IDCaseTypeDueOwnerDays overdue
ID案件类型截止日期负责人逾期天数

🔴 Due today / next 3 days

🔴 今日/未来3天到期

IDCaseTypeDueOwner
ID案件类型截止日期负责人

🟡 Due in 4-7 days

🟡 4-7天内到期

IDCaseTypeDueOwner
ID案件类型截止日期负责人

🟢 Due in 8-14 days

🟢 8-14天内到期

[list]
[列表]

Beyond 14 days

14天后到期

[count only — expand with
/deadlines --report --horizon=30
for details]

[仅统计数量 — 运行
/deadlines --report --horizon=30
查看详情]

By owner student (workload distribution)

按负责学生分类(工作量分布)

StudentOverdueNext 7dNext 14dTotal active
学生逾期未来7天未来14天总活跃数

By practice area

按业务领域分类

[same table, grouped by area]
[相同表格,按领域分组]

Unassigned deadlines

未分配截止日期

[list — flag if any active deadline has no owner_student]
undefined
[列表 — 如有任何活跃截止日期未分配负责人则标记]
undefined

--update
— modify an existing deadline

--update
— 修改现有截止日期

Common updates: due date changed (court continuance), owner changed (reassignment), notes added.
Every update writes a dated note inline; history is visible in the entry.
常见更新:截止日期变更(法院延期)、负责人变更(重新分配)、添加备注。
每次更新都会写入带日期的内联备注;历史记录在条目中可见。

--complete
— mark done

--complete
— 标记为已完成

  • Sets
    status: completed
    ,
    completed_date: [today]
    .
  • Confirms with the student that the actual work is done and filed/submitted.
  • Removes from active reports but stays in the yaml.
  • 设置
    status: completed
    completed_date: [今日]
  • 向学生确认实际工作已完成并提交/归档。
  • 从活跃报告中移除,但仍保留在yaml文件中。

--close
— close without completing

--close
— 未完成即关闭

For deadlines that no longer apply — case settled, motion withdrawn, client dropped the matter. Requires a
notes:
entry explaining why.
适用于不再适用的截止日期——案件和解、动议撤回、客户撤诉。需在
notes:
中说明理由。

Warning cadence

提醒节奏

Per
~/.claude/plugins/config/claude-for-legal/legal-clinic/CLAUDE.md
deadline warning days. Default 14, 7, 3, 1.
Warnings don't auto-surface — this plugin has no scheduled/agent behavior. But any time
/deadlines
is invoked (or
/status
, which routes to this skill for deadline checks), the report pulls forward anything hitting a warning threshold.
If a deadline passes its due date without being marked complete, it moves to
status: overdue
and stays there in every report until explicitly resolved. Overdue deadlines do not auto-close.
基于
~/.claude/plugins/config/claude-for-legal/legal-clinic/CLAUDE.md
中的截止日期提醒天数。默认14、7、3、1天。
提醒不会自动弹出——本插件无定时/代理行为。但每次调用
/deadlines
(或调用
/status
时,该技能会路由至本技能进行截止日期检查),报告都会显示达到提醒阈值的事项。
如果截止日期已过但未标记为完成,状态会变为
status: overdue
,并在所有报告中保持该状态直至明确解决。逾期截止日期不会自动关闭。

Integration

集成

  • /client-intake
    :
    when intake surfaces a timeline urgency (eviction notice date, asylum filing deadline, hearing date), offer to
    /deadlines --add
    with pre-populated fields.
  • /draft
    :
    when a filing draft references a deadline (answer due, objection window), offer to add.
  • /status
    :
    the status skill reads
    ~/.claude/plugins/config/claude-for-legal/legal-clinic/deadlines.yaml
    for the relevant case and includes upcoming deadlines in its output.
  • /semester-handoff
    :
    reads deadlines.yaml to identify all active deadlines across departing-student cases; each handoff memo carries the deadlines forward.
  • /supervisor-review-queue
    (if formal review enabled):
    deadlines near their cutoff get priority in the review queue.
  • /client-intake
    :当 intake 流程显示时间紧迫性(驱逐通知日期、庇护申请截止日期、听证日期)时,提供
    /deadlines --add
    选项并预填充字段。
  • /draft
    :当归档草稿提及截止日期(答复到期、异议窗口期)时,提供添加选项。
  • /status
    :状态技能读取
    ~/.claude/plugins/config/claude-for-legal/legal-clinic/deadlines.yaml
    获取相关案件的信息,并在输出中包含即将到来的截止日期。
  • /semester-handoff
    :读取deadlines.yaml识别即将离校学生负责案件的所有活跃截止日期;每份交接备忘录都会传递这些截止日期。
  • /supervisor-review-queue
    (若启用正式审核)
    :临近截止日期的事项会在审核队列中获得优先处理权。

What this skill does not do

本技能不支持的功能

  • Calculate deadlines from triggering events. If a complaint was served today and the answer is due in 21 days per local rules, the skill doesn't do that math — the student does, using the rule, and logs the resulting date. (Doing the math autonomously creates a liability the skill shouldn't own; rules vary by jurisdiction and court.)
  • File or serve anything. The skill tracks dates; filing happens outside the plugin.
  • Auto-notify. No scheduled notifications. The report surfaces warnings when invoked; it doesn't push. A scheduled cron could be added later but would need explicit professor opt-in per clinic.
  • Override local rules. If the student logs a due date that contradicts local rules, the skill doesn't catch it. Another reason to calendar with
    [VERIFY: confirm against local rule]
    for any non-routine deadline.
  • 根据触发事件计算截止日期:如果今天送达起诉状,根据当地规则答复需在21天内完成,本技能不会进行此计算——学生需根据规则计算并记录结果日期。(自主计算会带来本技能不应承担的责任;规则因管辖区域和法院而异。)
  • 归档或送达任何文件:本技能仅跟踪日期;归档操作在插件外完成。
  • 自动通知:无定时通知功能。报告仅在调用时显示提醒;不会主动推送。后续可添加定时任务,但需诊所教授明确选择启用。
  • 覆盖当地规则:如果学生记录的截止日期与当地规则冲突,本技能不会发现。这也是为何对于任何非常规截止日期,需在日历中标记
    [VERIFY: 确认符合当地规则]
    的原因。