PTO Calculation Rules Assistant

Explain PTO accrual formulas and business rules for the DWP Hours Tracker.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/corey-alix/dwp-hours --skill pto-calculation-rules-assistant
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: PTO Calculation Rules Assistant
Source: https://github.com/corey-alix/dwp-hours/tree/main/.github/skills/pto-calculation-rules-assistant
Command: npx skills add https://github.com/corey-alix/dwp-hours --skill pto-calculation-rules-assistant

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill clarifies and assists with the complex rules and calculations involved in managing Paid Time Off (PTO) within the DWP Hours Tracker application.

Core Features & Use Cases

  • PTO Calculation Logic: Understand how PTO balances are calculated, including accruals, usage, and year-end resets.
  • Business Rules: Get clear explanations of specific rules for PTO, Sick, Bereavement, and Jury Duty time.
  • Work Day Determination: Learn how non-weekend days are counted for monthly accruals.
  • Use Case: An employee is confused about their remaining PTO balance. They can ask this Skill to explain the exact calculation based on their accruals, time off taken, and any carryover rules.

Quick Start

Ask the PTO Calculation Rules Assistant to explain how PTO balance is calculated for an employee.

Frequently Asked Questions about PTO Calculation Rules Assistant

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How is PTO balance calculated for an employee?

PTO balance is calculated by adding monthly accruals based on work days to the annual allocation, then subtracting usage and applying any year-end resets or carryover rules.

What is the business logic for monthly PTO accruals?

Monthly PTO accruals are calculated by counting non-weekend days as work days within the month. This determines the proportional amount of the annual allocation earned for that period.

How do I calculate Paid Time Off for different absence types?

Paid Time Off tracking is type-specific, applying distinct business rules for PTO, Sick, Bereavement, and Jury Duty balances. Each type maintains separate calculation logic and accrual formulas.

Does the DWP Hours Tracker support year-end PTO resets and carryover?

Yes, the DWP Hours Tracker supports year-end resets and carryover rules. PTO balances are adjusted at year-end according to specific business logic defined in the calculation functions.

How to explain PTO calculation rules to an employee?

To explain PTO calculation rules, reference the database schema and calculation functions in shared/businessRules.ts and shared/ptoCalculations.ts. These define the exact accrual formulas, work day counts, and balance logic.

What are the limitations of using accrual formulas for Paid Time Off?

Accrual formula limitations include dependency on accurate work day determination and database schema integrity. Incorrect non-weekend day counts or missing absence type logs will cause inaccurate PTO balance calculations.