Skip to content
Back to skills

Leave Doc

ASecurity

请假条生成器。事假、病假、年假、婚假、产假模板、多天请假自动计算工作日、紧急请假、年假规划。Leave application generator for personal, sick, annual, marriage, maternity leave with workday calculation, emergency templates, annual leave planning. 请假模板、请假理由、OA审批。Use when writing leave applications.

  • 33 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 30, 2026
toolspythonbash

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned May 30, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill leave-doc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Leave Doc?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Leave Doc
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-leave-doc/badge)](https://www.skillsdirectory.com/skills/dvcrn-leave-doc)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Leave Doc
description: "请假条生成器。事假、病假、年假、婚假、产假模板、多天请假自动计算工作日、紧急请假、年假规划。Leave application generator for personal, sick, annual, marriage, maternity leave with workday calculation, emergency templates, annual leave planning. 请假模板、请假理由、OA审批。Use when writing leave applications."
---

# leave-doc

请假条生成器。支持多种请假类型、多天请假自动计算工作日、紧急请假模板、年假最优规划。

## Usage

Run the script at `scripts/doc.sh` with the following commands:

| Command | Description |
|---------|-------------|
| `doc.sh leave "类型" "天数" "原因"` | 基础请假条 |
| `doc.sh multi-day "类型" "天数" "原因"` | 多天请假(自动排除周末计算工作日) |
| `doc.sh emergency` | 紧急请假模板(含微信消息模板) |
| `doc.sh annual-plan "年假天数"` | 年假最优规划(拼假方案) |
| `doc.sh help` | 显示帮助信息 |

## Supported Leave Types

事假 | 病假 | 年假 | 婚假 | 产假 | 陪产假 | 丧假 | 调休

## Examples

```bash
# 基础请假条
bash scripts/doc.sh leave "事假" "2" "家中有事需要处理"

# 多天请假(自动计算工作日,排除周末)
bash scripts/doc.sh multi-day "年假" "5" "出国旅行"

# 紧急请假
bash scripts/doc.sh emergency

# 年假规划
bash scripts/doc.sh annual-plan "10"
```

## Requirements

- Python 3.6+
- No external dependencies

Files in this skill

  • SKILL.md1.5 KB
  • scripts/doc.sh15.6 KB
  • tips.md4.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…