log-leave

GitHub

用于记录员工休假并自动计算合规截止日期。通过收集关键信息,查阅管辖权规则确定假期额度,并根据指定、医疗认证等状态计算首个截止期限,写入注册表以启动跟踪。

employment-legal/skills/log-leave/SKILL.md anthropics/claude-for-legal

Trigger Scenarios

员工开始休假需要登记 设置休假跟踪和截止日期提醒

Install

npx skills add anthropics/claude-for-legal --skill log-leave -g -y
More Options

Non-standard path

npx skills add https://github.com/anthropics/claude-for-legal/tree/main/employment-legal/skills/log-leave -g -y

Use without installing

npx skills use anthropics/claude-for-legal@log-leave

指定 Agent (Claude Code)

npx skills add anthropics/claude-for-legal --skill log-leave -a claude-code -g -y

安装 repo 全部 skill

npx skills add anthropics/claude-for-legal --all -g -y

预览 repo 内 skill

npx skills add anthropics/claude-for-legal --list

SKILL.md

Frontmatter
{
    "name": "log-leave",
    "description": "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.\n",
    "argument-hint": "[describe the leave — employee\/role, type, jurisdiction, start date]"
}

/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.

Version History

  • 5ceb305 Current 2026-07-05 15:35

Same Skill Collection

ai-governance-legal/skills/ai-inventory/SKILL.md
ai-governance-legal/skills/cold-start-interview/SKILL.md
ai-governance-legal/skills/customize/SKILL.md
ai-governance-legal/skills/matter-workspace/SKILL.md
ai-governance-legal/skills/policy-monitor/SKILL.md
ai-governance-legal/skills/policy-starter/SKILL.md
ai-governance-legal/skills/reg-gap-analysis/SKILL.md
ai-governance-legal/skills/use-case-triage/SKILL.md
ai-governance-legal/skills/vendor-ai-review/SKILL.md
commercial-legal/skills/amendment-history/SKILL.md
commercial-legal/skills/cold-start-interview/SKILL.md
commercial-legal/skills/customize/SKILL.md
commercial-legal/skills/escalation-flagger/SKILL.md
commercial-legal/skills/matter-workspace/SKILL.md
commercial-legal/skills/nda-review/SKILL.md
commercial-legal/skills/renewal-tracker/SKILL.md
commercial-legal/skills/review-proposals/SKILL.md
commercial-legal/skills/review/SKILL.md
commercial-legal/skills/saas-msa-review/SKILL.md
commercial-legal/skills/stakeholder-summary/SKILL.md
commercial-legal/skills/vendor-agreement-review/SKILL.md
corporate-legal/skills/ai-tool-handoff/SKILL.md
corporate-legal/skills/board-minutes/SKILL.md
corporate-legal/skills/closing-checklist/SKILL.md
corporate-legal/skills/cold-start-interview/SKILL.md
corporate-legal/skills/customize/SKILL.md
corporate-legal/skills/deal-team-summary/SKILL.md
corporate-legal/skills/diligence-issue-extraction/SKILL.md
corporate-legal/skills/entity-compliance/SKILL.md
corporate-legal/skills/integration-management/SKILL.md
corporate-legal/skills/material-contract-schedule/SKILL.md
corporate-legal/skills/matter-workspace/SKILL.md
corporate-legal/skills/written-consent/SKILL.md
employment-legal/skills/cold-start-interview/SKILL.md
employment-legal/skills/customize/SKILL.md
employment-legal/skills/expansion-kickoff/SKILL.md
employment-legal/skills/expansion-update/SKILL.md
employment-legal/skills/handbook-updates/SKILL.md
employment-legal/skills/hiring-review/SKILL.md
employment-legal/skills/internal-investigation/SKILL.md
employment-legal/skills/international-expansion/SKILL.md
employment-legal/skills/investigation-add/SKILL.md
employment-legal/skills/investigation-memo/SKILL.md
employment-legal/skills/investigation-open/SKILL.md
employment-legal/skills/investigation-query/SKILL.md
employment-legal/skills/investigation-summary/SKILL.md
employment-legal/skills/leave-tracker/SKILL.md
employment-legal/skills/matter-workspace/SKILL.md
employment-legal/skills/policy-drafting/SKILL.md

Metadata

Files
0
Version
4a6c651
Hash
8d2b8a8b
Indexed
2026-07-05 15:35

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-13 18:31
浙ICP备14020137号-1 $お客様$