escrow-state-guard

Enforce pre-change verification for HustleXP escrow subsystem modifications.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/Sebdysart/omni-link-hustlexp --skill escrow-state-guard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: escrow-state-guard
Source: https://github.com/Sebdysart/omni-link-hustlexp/tree/main/skills/escrow-state-guard
Command: npx skills add https://github.com/Sebdysart/omni-link-hustlexp --skill escrow-state-guard

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents financial loss and regulatory exposure by enforcing strict verification and state machine integrity before any modifications are made to the HustleXP escrow subsystem, which handles real money.

Core Features & Use Cases

  • State Machine Enforcement: Ensures all financial transactions follow a predefined, valid sequence of states (e.g., PENDING -> FUNDED -> RELEASED).
  • KYC Compliance: Mandates verification of worker identity and Stripe account status before funds can be released.
  • Fee and Surge Accuracy: Guarantees correct calculation of platform fees, including surge premiums, to prevent revenue loss.
  • Use Case: Before releasing funds for a completed task, this skill automatically checks if the worker's Stripe account is fully enabled and if the platform fee calculation correctly includes any surge pricing, preventing accidental payouts to unverified accounts or undercharging fees.

Quick Start

Use the escrow-state-guard skill to verify all pre-change checklist items before modifying EscrowService.ts.

Frequently Asked Questions about escrow-state-guard

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

FAQPage Schema
How do I enforce KYC compliance before releasing escrow funds via Stripe?

Escrow state machine enforcement prevents invalid state transitions by validating that financial transactions follow a predefined sequence like PENDING to FUNDED to RELEASED. This skill intercepts modifications to escrow subsystems, ensuring strict operational invariants are met before any state change occurs.

How do I verify platform fee calculations including surge premiums for escrow transactions?

To verify platform fee calculations including surge premiums during escrow transactions, you must validate the fee logic against the current state. This skill enforces accurate calculation of platform fees and surge premiums before modifications, preventing undercharging and revenue loss.

What is the best way to prevent fraud in a Stripe escrow subsystem?

The best way to prevent fraud in a Stripe escrow subsystem is to enforce mandatory pre-change verification for all state modifications. This skill validates state transitions, KYC compliance, and fee calculations to maintain strict operational invariants and secure financial transactions.

Why do I need state machine enforcement for financial transaction processing?

You need state machine enforcement for financial transaction processing to prevent regulatory exposure and accidental payouts to unverified accounts. By validating KYC compliance and state transitions before modifications, this skill ensures adherence to financial regulations and prevents revenue loss.

When should I use a verification skill for escrow service modifications?

You should use a verification skill for escrow service modifications whenever altering code that handles real money, such as EscrowService or DisputeService. It enforces pre-change checklist compliance, ensuring KYC verification and fee accuracy before any code changes are applied.