360 Secure SkillHub
360 安全技能中心

Attendance Sheet

该 Skill 接收员工名单、日期范围与考勤类型(支持文本或结构化 JSON 输入),调用 scripts/generate_attendance.py 生成带颜色编码和汇总统计的 xlsx 考勤表,面向 HR 与团队的月度考勤管理场景。

gykdly
gykdly
热度 84.36
最近更新 2026-05-17 11:50:31
分类:效率依赖:代码执行 / 读写文件应用场景:报告撰写 / 数据处理 / 文件转换 / 模板

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add attendance-sheet
Metadata
name
attendance-sheet
description
Generate professional attendance sheets in xlsx format from employee work information. Perfect for HR, team management, and daily attendance tracking.
version
1.0.0

Attendance Sheet Generator

Overview

Generate professional attendance sheets (考勤表) in xlsx format based on employee work information. Input employee names, dates, and attendance status (normal, late, absent, leave, etc.) to automatically create formatted Excel files ready for HR or management use.

When to Use

Use this skill when:

  • Creating monthly attendance reports
  • Generating employee attendance sheets
  • Converting raw attendance data to formatted Excel
  • HR needs standardized attendance documentation

Input Format

Provide the following information:

员工: 张三, 李四, 王五
日期范围: 2024-01-01 至 2024-01-31
考勤类型: 正常出勤, 迟到, 早退, 缺勤, 请假, 加班

Or structured format:

{
  "employees": ["张三", "李四", "王五"],
  "start_date": "2024-01-01",
  "end_date": "2024-01-31",
  "attendance_types": ["正常出勤", "迟到", "早退", "缺勤", "请假", "加班"]
}

Output

Generates an xlsx file with:

  • Employee names in rows
  • Dates in columns
  • Attendance status cells with color coding
  • Summary statistics (total days, late count, etc.)
  • Professional formatting

Usage Examples

Example 1 - Monthly Report:

Input: 员工列表 + 1月考勤数据
Output: 2024年1月考勤表.xlsx

Example 2 - Simple Attendance:

Input: 今天出勤人员: 张三, 李四
Output: 出勤记录_20240101.xlsx

Example 3 - Full Month with Multiple Types:

Input: 全体员工12月考勤数据(含迟到、请假)
Output: 2024年12月考勤统计表.xlsx

Resources

scripts/

  • generate_attendance.py - Main Python script for generating attendance sheets