sap-leave-requestlisted
Install: claude install-skill chenwei791129/agent-skills
# SAP SuccessFactors Leave Request
Submit a full-day leave request in SAP SuccessFactors via the `agent-browser`
CLI. Every step below was verified end-to-end against the live system.
Note: the SAP UI is localized, so element labels in snapshots appear in Chinese
(e.g. `時間類型` = leave type, `開始日期` = start date, `提交` = submit). Those
quoted strings are literal UI text you must match — keep them as-is.
## Scope (v1)
- **Full-day leave only** (a start date and an end date). Half-day / specific
time slots are not supported yet — if the user asks for a half-day, tell them
plainly that this version doesn't support it; do not guess how to fill it.
- **Behavior: auto-submit once validation passes.** Do not stop for a second
confirmation. The only exception is when the user explicitly says "don't
submit" / "just fill it in" — in that case stop right before submitting.
- **Proof attachments are supported.** Sick-leave types (普通傷病假, 公傷病假,
etc.) usually need a medical certificate or supporting document; the form
itself exposes an attachment field for every leave type. When the user
requests sick leave, proactively ask whether they want to attach proof, and
if so upload it before submitting (see Step 3.5).
## Prerequisites
1. **`agent-browser` installed** (`which agent-browser`, verified on v0.28.0)
and **`uv` installed** (the login script runs via `uv run`; its
`python-dotenv` dependency is auto-installed from the PEP 723 inline
metadata).
2. **A `.env` with