跳到正文
Skillpedia
技术文档48k · #5036

leave-management

它能做什么

这个工具可以帮你记录和管理员工的请假申请。它会整理请假类型、日期、审批人以及剩余可休天数等信息。

适用场景

  • ✓搭建一个简单的休假记录系统。
  • ✓记录缺勤和病假情况。
  • ✓整理谁在什么时候休假。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/leave-management/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“我想搭建一个系统,用来记录员工的休假情况。”

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

工作原理

AI 会先了解请假类型、审批人,以及你目前是如何记录天数的。然后,它会据此建议最合适的整理方式,如果你需要,还可以生成 CSV 或 SQL 等文件。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Leave Management

What it is: Leave tracking.

Overview

Works out the smallest useful Leave Management setup for the business in front of it, then builds it only when asked. The default output is a short recommendation, not a spreadsheet. Artifacts - CSV, SQL DDL, JSON Schema, Notion mapping - are produced on request, from one field list so they cannot drift apart.

Layer: Layer 4: Manage. Fits: Starter stage. Table code: n/a.

When to Use This Skill

  • leave tracker
  • leave management system
  • vacation tracker
  • absence register

Also use it when the user says "leave tracking", or describes the same process happening in a spreadsheet, a document or someone inboxes.

Do not use it for: payroll calculation, tax filing, or legal advice. This skill produces empty templates only - it never holds or processes real employee or customer data.

How It Works

Follow the shared execution contract. The module-specific rules below define only domain fields, decisions, calculations, and safety constraints.

Step 1 - Identify intent

Read the request and pick the intent before asking anything.

  • "set up" or "build" or "create" -> the user wants artifacts; go to Step 2.
  • "our process is ..." or "it is in a sheet" -> the user wants to move an existing process; capture it, then Step 2.
  • "is this right" or "review" or "audit" -> the user wants a check, not a build; answer from what they share.
  • "how do I ..." -> advice question; answer directly and offer the build only if it helps.

Ask only if this is the highest-value missing fact; otherwise proceed without an opener:

Q: How many people need leave tracking?

Step 2 - Ask only what is missing

Skip anything the user already answered, in any earlier message. Ask the rest one at a time, and stop as soon as the remaining answers would not change the output.

  • Scope - How many people? / Who applies for leave? / Full time or part time?
  • Rules - Which leave types? / Who approves? / Track balances or days?
  • Process - Notice needed? / Handover required? / Carry over allowed?
  • Current process - How do you track leave today? / Sheet, app or nothing? / What breaks?
  • Outcome - What do you need? / Approvals, balances or reporting?

Never invent an answer. If the user does not know, record it as unknown and carry on.

Step 3 - Hold the internal context

Hold the answers in this shape. It stays internal - it is not shown to the user unless they ask, and it never carries a value the user did not give.

module: leave-management
intent: null            # setup | advice | review | fix | build | convert | export
scale: null             # Starter | Growth | Scale, only if the answer changes it
areas:
  "Scope": null
  "Rules": null
  "Process": null
  "Current process": null
  "Outcome": null
requested_outputs: []   # csv | sql | json | notion | xlsx - requested formats only
confirmed_facts: []     # only what the user actually said
open_questions: []      # the unanswered ones, in the order worth asking

Step 4 - Recommend the smallest workflow

If an artifact was requested, build it after resolving essential missing facts. Otherwise give a short recommendation and offer the relevant artifact.

Recommended approach: Keep leave in the tool people already use and add the missing approval and balance steps, not a new system.

Why this one: Leave records go stale when balances and requests live apart. One place for both, with an approval state, keeps them consistent.

Workflow: Request → Manager approval → Calendar entry → Balance update → Report

Step 5 - Build only on request

Once the user asks for it, derive the fields from the confirmed context and emit the requested artifacts. For machine-readable text, keep prose outside the data; for files, provide a usable link. Report material validation failures or limitations separately.

A selected Notion output is rendered by notion-manual-import, so route the Notion step there. When the user selects Notion, hand that step to @notion-manual-import: it holds the CSV, the property mapping, the import steps and the verification checklist, and it renders the Field Reference below instead of defining a table of its own. Do not restate the mapping here and do not improvise the import steps. Manual CSV and mapping outputs need no connection. For requested workspace changes, follow the shared contract: verify actual

…

常见问题

这个工具能计算工资吗?

不能。它只用于记录和跟踪请假情况,不涉及财务或税务计算。

我可以用它处理真实的员工数据吗?

不可以。这个工具只会创建空白模板,不会存储或处理真实的员工数据。

我能得到哪些类型的文件?

你可以请求 CSV、SQL 或 JSON Schema 等文件,用来整理数据。

详情

作者的原始描述

Leave register: request, leave type, employee and department, manager and approver, start and end dates, days requested, leave balances, handover notes and status. Use for leave tracking.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#5036
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能