Chuyển đến nội dung
Skillpedia
Công việc và dự án9.9k · #12089

log-leave

Skill này làm gì

Skill này ghi lại một đợt nghỉ phép mới của nhân viên với các chi tiết cơ bản cần thiết để theo dõi thời hạn pháp lý. Nó dành cho nhân sự cần đồng hồ thời hạn chạy ngay từ ngày đầu.

Khi nào nên dùng

  • ✓Khi một nhân viên bắt đầu nghỉ phép và bạn muốn theo dõi thời hạn từ đầu.
  • ✓Khi đợt nghỉ đã bắt đầu nhưng thông báo chỉ định chưa được gửi.
  • ✓Khi đã yêu cầu giấy chứng nhận y tế cho một đợt nghỉ.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/anthropics/claude-for-legal/blob/main/employment-legal/skills/log-leave/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy ghi lại một đợt nghỉ FMLA mới cho một nhân viên ở California bắt đầu vào thứ Hai, và thiết lập các thời hạn.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill hỏi một loạt câu hỏi ngắn trong một lượt, tra cứu quyền nghỉ phép của khu vực pháp lý, và tính thời hạn sắp đến đầu tiên. Sau đó nó thêm mục vào file sổ nghỉ phép.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

/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.
Câu hỏi thường gặp

Tôi có phải trả lời mọi câu hỏi không?

Không. Bạn có thể để trống ngày dự kiến quay lại nếu chưa biết.

Tại sao bang lại quan trọng?

Bang quyết định quy tắc nghỉ phép nào được áp dụng, nên skill kiểm tra đúng khu vực pháp lý.

Đợt nghỉ được lưu ở đâu?

Nó được lưu vào file sổ nghỉ phép trong thư mục hồ sơ lao động của bạn.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
9.9k
Vị trí xếp hạng
#12089
Giấy phép
Apache-2.0
Cập nhật
29/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự