/hr-monthly-attendance-approval:hr-monthly-attendance-approvalfrom hr-monthly-attendance-approval
月度考勤审批。当用户说:月度考勤、考勤审批、考勤汇总、提交考勤、预览某月考勤、monthly attendance 时使用。读取考勤表并汇总人数/应出勤/离职/事假/病假,生成审批预览;确认后可正式创建审批并通知。
Ships in hr-monthly-attendance-approval. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Runs the canonical hr_monthly_attendance_approval workflow.
Follow these steps exactly, in order, for every request this skill handles:
2026-08-17 and month
labels like 「2026年8月」 to the literal string 2026年8月.scope_workflows_get with the exact workflow name
to resolve the workflow, and call aevatar_start_workflow ONCE with:
workflow_id: the exact id returned by the lookup;inputs.prompt: the input JSON serialized to a non-empty string
(e.g. "{"period_label":"2026年8月","submit":false}").
NEVER pass an empty string, an unserialized object, or the user's
sentence — the run rejects such input at start;wait: "complete" — this suppresses the platform's raw result relay;
YOU own the user-facing reply.aevatar_observe_run with the returned run/actor
id until the run is completed, then aevatar_read_workflow_run_artifact to
fetch the typed artifact. Compose the reply from the artifact only.submit: false). Set submit: true ONLY when the
user explicitly says 正式提交 / 正式发送 / 确认提交 in this conversation.
Treat anything ambiguous (「提交吧?」「可以发了吗」) as preview and confirm
first. The submit path has NO idempotency protection: never retry a failed
submit — report and let a human check Lark first.| 用户会说 | 字段 | 格式 |
|---|---|---|
| 月份(如 2026年8月) | period_label | 字面 2026年8月(须与考勤表「月份」列一致) |
| 申请日期/运行日期 | run_date | 2026-08-31 |
Preview: {"period_label":"2026年8月","run_date":"YYYY-MM-DD","submit":false}
Submit (explicit confirmation only): same with "submit":true.
Preview(artifact mode=preview):
📋 {period} 考勤审批预览 人数 {stats.headcount} 人 | 应出勤 {stats.workdays} 天 离职 {stats.resign_count} 人 | 事假 {stats.leave_count} 人 | 病假 {stats.sick_count} 人 数据完整性:{truncated=false → "✅ 完整" / true → "⚠️ 超出单页,正式提交会被拒绝"} —— 审批文案 —— {approval_description_preview 原文,保留换行} ✅ 本次为预览,未创建审批、未发送通知。请核对数字后再决定是否正式提交。
Submit(artifact mode=submit):
✅ {period} 考勤审批已创建,状态:{approval_status}; 通知卡片:{notify_sent=true → "已发送" / false → "发送失败(审批已创建成功,请人工转告,不要重跑)"}。 ⚠️ 已产生真实审批,请勿重复提交。
(不展示审批单号、接收人等编号类信息。)
aggregate:考勤表读取失败 / 该月份没有匹配行 / 天数字段不是数字;提交时还可能因数据超页或应出勤为 0 被拒——向用户说明该核对考勤表哪里。build_verify_request / build_notify_request / summarize_submit:审批创建或回读校验失败——审批可能已建立,先到 Lark 核实,不要重试。What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub chronoaiproject/nyx-skills --plugin hr-monthly-attendance-approval