log-leave
它能做什么
这项技能记录新的员工休假,并附上跟踪法定期限所需的基本信息。适合需要从第一天起就开始计算期限的人事和人力资源人员。
适用场景
- ✓当员工开始休假,而你希望从一开始就跟踪期限时。
- ✓当休假已开始,但认定通知尚未发出时。
- ✓当某项休假已要求提交医疗证明时。
技能链接
https://github.com/anthropics/claude-for-legal/blob/main/employment-legal/skills/log-leave/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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
Read
~/.claude/plugins/config/claude-for-legal/employment-legal/CLAUDE.md→ jurisdiction table and Systems section.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?
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.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
Write a new entry to
~/.claude/plugins/config/claude-for-legal/employment-legal/leave-register.yamlusing the leave register format from the leave-tracker agent. If the file doesn't exist, create it.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.
热度
- GitHub 星标
- 9.9k
- 排名
- #12089
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/29
评论
- …
同一仓库的更多技能
ai-inventory
9.9k帮你的智能体按系统维护一份符合欧盟 AI 法案的 AI 工具清单,记录每个系统的角色、风险等级和分类依据。
aia-generation
9.9k帮你的智能体为某个应用场景撰写 AI 影响评估,涵盖风险、监管分类、政策契合度和建议的附加条件。
cold-start-interview
9.9k帮你的智能体通过设置访谈并根据你的政策文件建立实践档案,从而了解你的 AI 治理实践如何运作。
customize
9.9k帮你的智能体修改 AI 治理实践档案中的某一部分,例如风险态度、联系人或政策立场,无需完整重新设置。