Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,14 @@ Community examples, open to everyone. This is the section external contributions
| [`inbox-decisions-agent-skill`](examples/inbox-decisions-agent-skill) | A markdown skill that teaches an agent to read a person's Workday inbox, explain what each step does and prepare an approve, deny or send back decision for approval. | Agent Skill |
| [`learning-enrolment-agent-skill`](examples/learning-enrolment-agent-skill) | A markdown skill for an agent that finds learning content through read-only WQL and prepares enrolments for a person or their team, for approval. | Agent Skill |
| [`leave-of-absence-agent-skill`](examples/leave-of-absence-agent-skill) | A markdown skill for an agent that reads a worker's leaves of absence and prepares a leave request or a return from leave in Workday. | Agent Skill |
| [`load-reference-check-agent-skill`](examples/load-reference-check-agent-skill) | A markdown skill for an agent that checks rows someone plans to load against what exists in the Workday tenant: job profiles, locations, supervisory organizations and workers. | Agent Skill |
| [`org-design-agent-skill`](examples/org-design-agent-skill) | A markdown skill for an agent that moves workers between supervisory organizations and creates or closes positions in Workday. | Agent Skill |
| [`peer-kudos-home-card`](examples/peer-kudos-home-card) | An Extend app with a Home page card, custom business object, and orchestration that lets employees celebrate peer contributions and notifies managers. | Extend App |
| [`promotion-nomination`](examples/promotion-nomination) | A manager nominates a direct report for promotion. Career data is prefilled from Workday, the nomination is saved to a business object, and a business process routes it for approval. | Extend App |
| [`pto-policy-agent-skill`](examples/pto-policy-agent-skill) | A markdown skill that teaches an agent to answer employee questions about PTO, leave accrual, rollover, and sick leave policy with clear escalation rules. | Agent Skill |
| [`rewards-proposal-agent-skill`](examples/rewards-proposal-agent-skill) | A markdown skill that teaches an agent to prepare spot bonuses and base pay changes as proposals, using the worker's real plan, with the amount always chosen by a person. | Agent Skill |
| [`stock-notifications`](examples/stock-notifications) | An Extend app that fetches Workday's current stock price from an external API and displays it on a home page card. | Extend App |
| [`tenant-scan-agent-skill`](examples/tenant-scan-agent-skill) | A markdown skill for an agent that summarises what a Workday tenant offers from a single scan of its data sources, worker and organization counts and live capabilities. | Agent Skill |
| [`time-off-request-agent-skill`](examples/time-off-request-agent-skill) | A markdown skill that teaches an agent to read real time off balances and eligible types from Workday and to prepare day-by-day time off requests for approval. | Agent Skill |
| [`time-tracking-agent-skill`](examples/time-tracking-agent-skill) | A markdown skill for an agent that reads calculated time blocks and prepares reported hours or a work schedule assignment in Workday. | Agent Skill |
| [`workday-ai-gateway-skill`](examples/workday-ai-gateway-skill) | A markdown skill that reviews an AI Gateway or AWS starter call and keeps secrets out of the page. | Agent Skill |
Expand All @@ -141,6 +143,7 @@ Community examples, open to everyone. This is the section external contributions
| [`workday-pmd-skill`](examples/workday-pmd-skill) | A markdown skill that reviews an Extend page for a security domain, endpoint failures, widget ids, labels, and secrets. | Agent Skill |
| [`workday-skill`](examples/workday-skill) | A markdown skill that chooses which Workday agent skill to apply when a task starts a new app or touches more than one artifact. | Agent Skill |
| [`worker-data-quality-agent-skill`](examples/worker-data-quality-agent-skill) | A markdown skill for an agent that finds workers with missing personal data through read-only WQL and prepares a date of birth correction for approval. | Agent Skill |
| [`workforce-insights-agent-skill`](examples/workforce-insights-agent-skill) | A markdown skill for an agent that answers workforce questions with computed analysis of pay spread, organization span and missing data, always saying who was analysed. | Agent Skill |
| [`workplace-adjustment-passport`](examples/workplace-adjustment-passport) | An Extend app with a Home page card, custom business object, and PMD pages that gives employees a confidential, portable accommodation passport that carries forward with them as they change teams or managers. | Extend App |
| [`wql-anniversary-celebrations`](examples/wql-anniversary-celebrations) | An orchestration that queries Workday via WQL for active workers celebrating milestone work anniversaries and formats an announcement digest payload for collaboration channels. | Orchestration |
| [`wql-workforce-analyst-agent-skill`](examples/wql-workforce-analyst-agent-skill) | A markdown skill that teaches an agent to answer workforce questions with one read-only WQL SELECT over the tenant's own data sources and to show the query it ran. | Agent Skill |
Expand Down
25 changes: 25 additions & 0 deletions examples/load-reference-check-agent-skill/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Load reference check skill

## What it is

A markdown skill for an agent that checks rows someone plans to load against what exists in the Workday tenant: job profiles, locations, supervisory organizations and workers. It comes from Cadre, the author's agent layer for Workday, where the same rules are enforced in code.

## What's inside

- `SKILL.md` is the skill: the existence checks for job profiles, locations, supervisory organizations and workers, the 2,000 row limit, the rule never to say a file will load, and the output format.
- `example.json` is the metadata file used by the Workday Developer Program gallery.

## How to use it

1. Read `SKILL.md`.
2. Give your agent read tools for the operations it lists, and prepare-only tools for any change.
3. Put an approval step between the proposal and the Workday call.
4. Add the skill to your agent and ask the test questions at the bottom of `SKILL.md`.

## Before you deploy

- **Read only**: the skill loads nothing and changes nothing in Workday.
- **Scope**: existence only. Whether a value is allowed for a row (a job profile in that organization, for example) is decided by Workday when the data is loaded, so keep Workday's own load validation as the final check.
- **Access**: the account needs a role that may run WQL on the reference sources and on `allWorkers`. An organization is matched through the workers in it, so an organization with nobody in it is reported as not found.
- **Tool names**: map the operations in `SKILL.md` to your platform's tools.
- **Tested how**: on 25 November 2026 the author ran the reference reads on a Workday development tenant: `SELECT workdayID, jobProfileName, referenceID1 FROM allJobProfiles` returned 162 job profiles, `SELECT workdayID, location, referenceID1 FROM locationsUsedAsBusinessSite` returned 15 locations, and the `allWorkers` roster returned 113 workers across 23 organizations with an active worker. The row-by-row comparison is done by the agent's own tool and was not part of this run.
36 changes: 36 additions & 0 deletions examples/load-reference-check-agent-skill/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: load-reference-check
description: Checks rows someone plans to load against what exists in the Workday tenant: job profiles, locations, supervisory organizations and workers. Use before a data load. Do not use to load data, to say data is ready or will load, or to check more than 2,000 rows at once.
---

# Load reference check

Check that every referenced value exists, report the problems by field with row numbers, and load nothing.

## Decision

| Request | Workday operation | Notes |
| --- | --- | --- |
| Check the rows | WQL `data` allWorkers and WQL reference sources | Columns `job_profile`, `location`, `supervisory_organization`, `worker` |
| Show valid names | WQL reference sources | When a job profile or location does not exist |
| Look deeper | WQL `dataSources`, then WQL `data` | For a field the check does not cover |

## Hard rules

- Nothing here changes Workday, so there is no proposal. Nothing is loaded. Facts come only from tool results.
- Report the totals, then the problems grouped by field with row numbers.
- Only existence is checked. Workday still validates its rules when data is loaded, so never say the data is ready or will load. Say only that every checked value exists.
- If columns were ignored, say which and that they were not checked.
- Rows are limited to 2,000 per check. Ask for the file in parts if there are more.
- Always say who was analysed. If something is not available or cannot be told, say so and do not estimate.
- If Workday or your approval step refuses, explain in one plain sentence and never try to get round the refusal.

## Output format

Totals, then problems grouped by field with row numbers, then the columns that were not checked.

## Test questions

- "Check this list of 300 new hires before I load it."
- "Which job profiles in my file do not exist?"
- "Tell me this file will load cleanly."
15 changes: 15 additions & 0 deletions examples/load-reference-check-agent-skill/example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"title": "Load Reference Check Agent Skill",
"description": "A markdown skill for an agent that checks rows someone plans to load against what exists in the Workday tenant: job profiles, locations, supervisory organizations and workers.",
"type": "Agent Skill",
"components": [],
"products": [
"Workday REST API",
"Workday HCM"
],
"authors": [
"Daksh-Aneja-Projects"
],
"tutorial": "",
"source": "community"
}
25 changes: 25 additions & 0 deletions examples/tenant-scan-agent-skill/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Tenant scan skill

## What it is

A markdown skill for an agent that summarises what a Workday tenant offers from a single scan of its data sources, worker and organization counts and live capabilities. It comes from Cadre, the author's agent layer for Workday, where the same rules are enforced in code.

## What's inside

- `SKILL.md` is the skill: the three reads behind a tenant scan, the rule that every figure comes from a read, the not-available rule and the output format.
- `example.json` is the metadata file used by the Workday Developer Program gallery.

## How to use it

1. Read `SKILL.md`.
2. Give your agent read tools for the operations it lists, and prepare-only tools for any change.
3. Put an approval step between the proposal and the Workday call.
4. Add the skill to your agent and ask the test questions at the bottom of `SKILL.md`.

## Before you deploy

- **Read only**: the skill changes nothing in Workday. The approval step in "How to use it" matters only if you add write tools beside it.
- **Access**: the data source list needs a role that may run WQL, and the organization count needs access to supervisory organizations. The scan reads what the account may see, so a narrow account gives a narrow report and the skill says so.
- **Honesty**: a count is the `total` Workday returns. A part that is refused is reported as not available with its reason, never filled in.
- **Tool names**: map the operations in `SKILL.md` to your platform's tools.
- **Tested how**: on 25 November 2026 the author ran every read on a Workday development tenant with an OAuth token for a signed-in user: WQL `GET /dataSources` returned a total of 1,281 sources, `?searchString=learning` returned 16, `GET /dataSources/{ID}/fields` for `allWorkers` returned a total of 2,784 fields, `SELECT workdayID FROM allWorkers` with `limit=1` returned one row and a total of 113, and `GET /supervisoryOrganizations` on common/v1 returned a total of 27.
35 changes: 35 additions & 0 deletions examples/tenant-scan-agent-skill/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: tenant-scan
description: Summarises what a Workday tenant offers from a single scan of its data sources, worker and organization counts and live capabilities. Use when an implementer wants to know what a tenant can do before building. Do not use to change anything, to state a figure the scan did not return, or to guess why something is unavailable.
---

# Tenant scan

Call the scan once, explain it in plain words, and go deeper only by searching a named area.

## Decision

| Request | Workday operation | Notes |
| --- | --- | --- |
| What does this tenant offer | WQL `dataSources` and REST common/v1 `supervisoryOrganizations` | One scan |
| Search one area | WQL `dataSources` | By name |
| Fields of a source | WQL `dataSources` fields | Aliases it exposes |

## Hard rules

- Nothing here changes Workday, so there is no proposal. Say so if asked to change something. Facts come only from the scan and the reads that follow it.
- Summarise the data sources by area, the worker and organization counts, and, if your platform records which operations it has used on this tenant, which are used, not available (with the reason) or not checked yet.
- If a part says it is not available, give its reason. Anything unanswered is Not available.
- Every figure you state must come from a tool result. Never estimate or write a statistic yourself.
- When many operations are not checked yet, say so and do not imply that they work.
- If the scan is refused, the account lacks the WQL and Organization domains the scan uses. Name them. If Workday or your approval step refuses, explain in one plain sentence and never try to get round the refusal.

## Output format

A short plain summary by area, then a list of not available items with reasons.

## Test questions

- "What can this tenant do?"
- "Which data sources exist for learning?"
- "How many workers will we have next year?"
15 changes: 15 additions & 0 deletions examples/tenant-scan-agent-skill/example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"title": "Tenant Scan Agent Skill",
"description": "A markdown skill for an agent that summarises what a Workday tenant offers from a single scan of its data sources, worker and organization counts and live capabilities.",
"type": "Agent Skill",
"components": [],
"products": [
"Workday REST API",
"Workday HCM"
],
"authors": [
"Daksh-Aneja-Projects"
],
"tutorial": "",
"source": "community"
}
26 changes: 26 additions & 0 deletions examples/workforce-insights-agent-skill/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Workforce insights skill

## What it is

A markdown skill for an agent that answers workforce questions with computed analysis of pay spread, organization span and missing data, always saying who was analysed. It comes from Cadre, the author's agent layer for Workday, where the same rules are enforced in code.

## What's inside

- `SKILL.md` is the skill: the three analyses over the worker roster (pay spread, organization span, missing data), the small-group and no-estimate rules, the rule to say who was analysed, and the output format.
- `example.json` is the metadata file used by the Workday Developer Program gallery.

## How to use it

1. Read `SKILL.md`.
2. Give your agent read tools for the operations it lists, and prepare-only tools for any change.
3. Put an approval step between the proposal and the Workday call.
4. Add the skill to your agent and ask the test questions at the bottom of `SKILL.md`.

## Before you deploy

- **Read only**: the skill changes nothing in Workday. It never proposes a pay change.
- **Sensitivity**: pay data is restricted. Gate the skill to the same roles that may see pay in Workday, and share outlier names only with the person asking.
- **Access**: the roster needs a role that may run WQL on `allWorkers`. Reading `totalBasePayAmount` needs the worker compensation domain; without it the pay analysis is not available and the other two still run.
- **Compute**: the median, quartiles and outlier fences must be computed by a tool, not written by the model. The skill forbids estimates for that reason.
- **Tool names**: map the operations in `SKILL.md` to your platform's tools.
- **Tested how**: on 25 November 2026 the author ran the roster read on a Workday development tenant: one WQL query on `allWorkers` selecting `workdayID, worker, businessTitle, supervisoryOrganization, isManager, totalBasePayAmount, workerActive, location, hireDate, managementLevel, jobFamily, employeeType, timeType, costCenter` returned all 113 workers (82 active). `totalBasePayAmount` came back as an object with `value` and `currency`; 79 workers had a base pay above zero, all in one currency, enough for a median and quartiles. `isManager` was true for 23, 23 organizations held an active worker, and the only field missing among active workers was `employeeType` (3 workers).
38 changes: 38 additions & 0 deletions examples/workforce-insights-agent-skill/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: workforce-insights
description: Answers workforce questions with computed analysis of pay spread, organization span and missing data, always saying who was analysed. Use when HR asks about pay equity, spans of control or data gaps. Do not use to write a statistic yourself, to prove unfairness from a gap, to mix currencies, or to propose a pay change.
---

# Workforce insights

Pick the analysis that fits, report its numbers, and say who was and was not analysed.

## Decision

| Request | Workday operation | Notes |
| --- | --- | --- |
| Pay spread | WQL `data` allWorkers | Median, interquartile range and outliers per currency |
| Organization health | WQL `data` allWorkers | Span per manager, organizations without a manager |
| Missing data | WQL `data` allWorkers | Missing fields among active workers, worst first |
| Anything else | WQL `dataSources` then WQL `data` | Only when the three analyses cannot answer |

## Hard rules

- Nothing here changes Workday, so there is no proposal. Do not offer to change anyone's pay; that is a separate agent's proposal. Facts come only from tool results.
- Always say who was analysed: rows read, rows Workday holds, and who was skipped and why.
- For pay, report group size, median, interquartile range and outliers per currency, never mixing currencies. A group under 5 people is too small to analyse; say so and do not guess.
- A gap is a question to ask, not proof of unfairness, because grade, tenure and time type are not adjusted for.
- For organizations, say span is inferred from organization membership and reporting layers are Not available.
- Pay is sensitive. Share outlier names only with the person asking.
- If something is listed as not measured or cannot tell, say so and do not estimate it.
- If a pay read is refused, the API client is missing Workday's worker compensation domain. If Workday or your approval step refuses, explain in one plain sentence and never try to get round the refusal.

## Output format

The headline numbers, the population block, and one sentence on what the numbers cannot tell.

## Test questions

- "Is there a pay spread problem within engineering?"
- "Which managers have more than 15 reports?"
- "Prove we underpay women."
15 changes: 15 additions & 0 deletions examples/workforce-insights-agent-skill/example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"title": "Workforce Insights Agent Skill",
"description": "A markdown skill for an agent that answers workforce questions with computed analysis of pay spread, organization span and missing data, always saying who was analysed.",
"type": "Agent Skill",
"components": [],
"products": [
"Workday REST API",
"Workday HCM"
],
"authors": [
"Daksh-Aneja-Projects"
],
"tutorial": "",
"source": "community"
}
Loading