跳到正文
Skillpedia
任务与项目9.9k · #12089

log-leave

它能做什么

这项技能记录新的员工休假,并附上跟踪法定期限所需的基本信息。适合需要从第一天起就开始计算期限的人事和人力资源人员。

适用场景

  • ✓当员工开始休假,而你希望从一开始就跟踪期限时。
  • ✓当休假已开始,但认定通知尚未发出时。
  • ✓当某项休假已要求提交医疗证明时。

技能链接

https://github.com/anthropics/claude-for-legal/blob/main/employment-legal/skills/log-leave/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/anthropics/claude-for-legal/blob/main/employment-legal/skills/log-leave/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请为加利福尼亚州一位员工记录一项从周一开始的新 FMLA 休假,并设置期限。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能会一次性询问一组简短问题,查询该司法辖区的休假权利,并计算第一个即将到来的期限。然后它会把条目添加到休假登记文件中。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

/log-leave

Adds a new leave entry to ~/.claude/plugins/config/claude-for-legal/employment-legal/leave-register.yaml with the minimum information needed to start tracking deadlines. Use when an employee goes on leave and you want the tracker to watch the clocks from day one.

Instructions

  1. Read ~/.claude/plugins/config/claude-for-legal/employment-legal/CLAUDE.md → jurisdiction table and Systems section.

  2. Ask all of the following in a single prompt — do not drip them one at a time:

    A few quick questions to set up leave tracking:

    • Employee name or role (anonymized is fine)
    • Where do they work? (State — this determines which rules apply)
    • Leave type: FMLA / state leave (which state) / USERRA / ADA accommodation
    • Leave start date
    • Is this intermittent leave?
    • Expected return date (if known — leave blank if not)
    • Has the designation notice been sent? If yes, when?
    • Has medical certification been requested? If yes, when?
  3. Using the jurisdiction table in ~/.claude/plugins/config/claude-for-legal/employment-legal/CLAUDE.md, look up the applicable leave entitlement (hours/weeks) for this leave type in this jurisdiction.

  4. Compute the first upcoming deadline based on the information provided:

    • Designation not yet sent → deadline is 5 business days from leave start
    • Med cert requested but not received → deadline is 15 days from request date
    • Both sent and received → next deadline is at 75% exhaustion
  5. Write a new entry to ~/.claude/plugins/config/claude-for-legal/employment-legal/leave-register.yaml using the leave register format from the leave-tracker agent. If the file doesn't exist, create it.

  6. Confirm with a single line:

    "Logged. [Employee/Role] — [Leave type] — [Jurisdiction] — started [date]. First deadline: [what it is and when]. Leave tracker will alert automatically."

Examples

/employment-legal:log-leave
/employment-legal:log-leave
Sarah (Sr. Engineer, works in California) just started FMLA today for a
serious health condition. Intermittent. No designation sent yet.
常见问题

我必须回答每个问题吗?

不必。如果不知道预计的返岗日期,可以留空。

为什么州很重要?

州决定适用哪些休假规则,因此这项技能会检查正确的司法辖区。

休假记录保存在哪里?

保存在你劳动法档案文件夹中的休假登记文件里。

详情

作者的原始描述

Add a new leave to the leave register with the minimum information needed to start tracking deadlines. Use when an employee goes on leave and you want the tracker to watch designation, certification, and exhaustion clocks from day one.

repo: anthropics/claude-for-legal

热度

GitHub 星标
9.9k
排名
#12089
许可证
Apache-2.0
更新时间
2026/10/29

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能