trustless-work-dev

A comprehensive AI agent skill guiding developers through integrating Trustless Work platform features, including escrow contracts, milestone payments, disputes, API/SDK usage, and Stellar/Soroban smart contracts.

18 stars
Complexity: easy

About this skill

This skill provides AI agents with an extensive knowledge base and structured guidance for developers working with the Trustless Work platform. It covers essential topics such as understanding core concepts, selecting between single-release and multi-release escrow types, configuring trustlines, and choosing the appropriate integration method—whether through the REST API, React SDK, or Blocks SDK. The skill outlines the complete development workflow from contract deployment and funding to task completion, approval, and payment release. Its primary use is to empower AI agents to act as expert assistants, helping users navigate the complexities of building secure, decentralized, milestone-based payment systems. By providing detailed instructions and references to specific documentation files, the skill ensures that developers have immediate access to the information needed for successful implementation on the Stellar blockchain, including Soroban smart contracts. Developers would use this skill via their AI agent to streamline their development process, quickly resolve questions, access best practices, and ensure accurate integration of Trustless Work's conditional payment and dispute resolution functionalities into their applications. This ultimately accelerates development cycles and enhances the reliability of decentralized finance (DeFi) solutions.

Best use case

The primary use case is to enable an AI agent to expertly guide developers through every stage of integrating Trustless Work's escrow and conditional payment systems into new or existing applications. This skill benefits developers who need rapid access to documentation, architectural guidance, or specific implementation steps for building secure, transparent, and dispute-resolvable payment workflows on the Stellar blockchain, ensuring efficient and accurate development.

A comprehensive AI agent skill guiding developers through integrating Trustless Work platform features, including escrow contracts, milestone payments, disputes, API/SDK usage, and Stellar/Soroban smart contracts.

A user should expect comprehensive guidance, relevant documentation links, and actionable steps from the AI agent to successfully develop and integrate Trustless Work features into their application.

Practical example

Example input

Help me integrate a multi-release escrow contract using the Trustless Work React SDK. I need to understand the full workflow from deployment to payment release.

Example output

To integrate a multi-release escrow contract with the Trustless Work React SDK, first ensure you understand core concepts (see `skills/api/core-concepts.md`). Then, consult `skills/api/multi-release-escrow.md` for specifics on multi-release contracts. For the React SDK, refer to `skills/react-sdk/react-sdk.md`. The general workflow involves deploying, funding, completing tasks, approving, and finally releasing payments per milestone. What step are you on?

When to use this skill

  • Building escrow or milestone-based payment systems with Trustless Work.
  • Integrating the Trustless Work API, React SDK, or Blocks SDK into an application.
  • Working with the Stellar blockchain and Soroban smart contracts for conditional payments.
  • Implementing dispute resolution mechanisms within payment workflows.

When not to use this skill

  • For general Stellar blockchain development unrelated to Trustless Work.
  • When developing payment systems that do not require escrow or conditional logic.
  • If the development task is outside the scope of integrating Trustless Work's platform.
  • When foundational blockchain or smart contract knowledge is completely absent, as this skill guides integration, not basic education.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/trustless-work-dev/SKILL.md --create-dirs "https://raw.githubusercontent.com/kindfi-org/kindfi/main/.agents/skills/trustless-work-dev/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/trustless-work-dev/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How trustless-work-dev Compares

Feature / Agenttrustless-work-devStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityeasyN/A

Frequently Asked Questions

What does this skill do?

A comprehensive AI agent skill guiding developers through integrating Trustless Work platform features, including escrow contracts, milestone payments, disputes, API/SDK usage, and Stellar/Soroban smart contracts.

How difficult is it to install?

The installation complexity is rated as easy. You can find the installation instructions above.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Trustless Work Development Skill

This skill provides comprehensive guidance for integrating Trustless Work escrow contracts into applications. Use the reference files below for detailed implementation guides.

## Quick Start

When working with Trustless Work:

1. **Understand core concepts** - See [skills/api/core-concepts.md](skills/api/core-concepts.md)
2. **Choose escrow type**:
   - Single-release: One payment after all milestones - See [skills/api/single-release-escrow.md](skills/api/single-release-escrow.md)
   - Multi-release: Payments per milestone - See [skills/api/multi-release-escrow.md](skills/api/multi-release-escrow.md)
3. **Configure trustlines** - See [skills/api/trustlines.md](skills/api/trustlines.md)
4. **Choose integration method**:
   - **REST API**: Direct API calls - See [skills/api/](skills/api/) folder
   - **React SDK**: Custom hooks for React/Next.js - See [skills/react-sdk/react-sdk.md](skills/react-sdk/react-sdk.md)
   - **Blocks SDK**: Pre-built UI components - See [skills/blocks/introduction.md](skills/blocks/introduction.md)
5. **Implement workflow**: Deploy → Fund → Complete → Approve → Release

## When to Use This Skill

Apply automatically when:
- Building escrow or milestone-based payment systems
- Integrating Trustless Work API
- Working with Stellar blockchain and Soroban contracts
- Implementing conditional payment workflows
- Handling disputes in payment systems
- Users mention "escrow", "milestone payments", "Trustless Work"

## Reference Files

### REST API Documentation
- **[skills/api/core-concepts.md](skills/api/core-concepts.md)** - Roles, lifecycle, flags, API authentication
- **[skills/api/types.md](skills/api/types.md)** - Complete TypeScript type definitions for all payloads, responses, and errors
- **[skills/api/single-release-escrow.md](skills/api/single-release-escrow.md)** - Single-release escrow implementation guide
- **[skills/api/multi-release-escrow.md](skills/api/multi-release-escrow.md)** - Multi-release escrow implementation guide
- **[skills/api/trustlines.md](skills/api/trustlines.md)** - Stellar trustline configuration

### React SDK Documentation
- **[skills/react-sdk/react-sdk.md](skills/react-sdk/react-sdk.md)** - React SDK overview and quick reference
- **[skills/react-sdk/hooks-reference.md](skills/react-sdk/hooks-reference.md)** - Complete detailed documentation for all hooks (`useInitializeEscrow`, `useFundEscrow`, `useApproveMilestone`, `useReleaseFunds`, `useStartDispute`, `useResolveDispute`, `useUpdateEscrow`, `useChangeMilestoneStatus`, `useWithdrawRemainingFunds`, `useSendTransaction`) with full examples
- **[skills/react-sdk/vibe-coding.md](skills/react-sdk/vibe-coding.md)** - Single-file AI context guide with global rules, implementation prompts, and step-by-step feature guides (essential for AI workflows)

### Blocks SDK Documentation
- **[skills/blocks/introduction.md](skills/blocks/introduction.md)** - Blocks SDK overview and installation
- **[skills/blocks/vibe-coding.md](skills/blocks/vibe-coding.md)** - Single-file AI context guide (essential for AI workflows)
- **[skills/blocks/components.md](skills/blocks/components.md)** - Available UI components
- **[skills/blocks/providers.md](skills/blocks/providers.md)** - Provider setup and context API
- **[skills/blocks/hooks.md](skills/blocks/hooks.md)** - TanStack Query hooks

## API Base URL

Production: `https://api.trustlesswork.com`

All endpoints require: `x-api-key: YOUR_API_KEY` header

## Common Transaction Flow

1. Call API endpoint → Get unsigned XDR transaction
2. Sign with wallet → Create signed XDR
3. Submit via `/helper/send-transaction` → Broadcast to Stellar
4. Verify on-chain → Query with `validateOnChain=true`

## Resources

- Documentation: Use `mcp_trustlesswork_searchDocumentation` tool
- Dashboard: https://dapp.trustlesswork.com/dashboard
- Blocks Playground: https://blocks.trustlesswork.com/blocks
- Stellar Docs: https://developers.stellar.org/
- Soroban Docs: https://soroban.stellar.org/docs

Related Skills

micropython-skills/network

3891
from openclaw/skills

MicroPython networking — WiFi STA/AP, HTTP requests, MQTT pub/sub, BLE, NTP time sync, WebSocket.

Coding & Development

worktree-manager

125
from Wirasm/worktree-manager-skill

Create, manage, and cleanup git worktrees with Claude Code agents across all projects. USE THIS SKILL when user says "create worktree", "spin up worktrees", "new worktree for X", "worktree status", "cleanup worktrees", "sync worktrees", or wants parallel development branches. Also use when creating PRs from a worktree branch (to update registry with PR number). Handles worktree creation, dependency installation, validation, agent launching in Ghostty, and global registry management.

Coding & DevelopmentClaude

laravel-expert

31392
from sickn33/antigravity-awesome-skills

Senior Laravel Engineer role for production-grade, maintainable, and idiomatic Laravel solutions. Focuses on clean architecture, security, performance, and modern standards (Laravel 10/11+).

Coding & DevelopmentClaude

debug-nw

7754
from nativewind/nativewind

Debug a Nativewind v5 setup issue. Walks through common configuration problems with metro, babel, postcss, and dependencies.

Coding & Development

Go Production Engineering

3891
from openclaw/skills

You are a Go production engineering expert. Follow this system for every Go project — from architecture decisions through production deployment. Apply phases sequentially for new projects; use individual phases as needed for existing codebases.

Coding & Development

Database Engineering Mastery

3891
from openclaw/skills

> Complete database design, optimization, migration, and operations system. From schema design to production monitoring — covers PostgreSQL, MySQL, SQLite, and general SQL patterns.

Coding & Development

afrexai-code-reviewer

3891
from openclaw/skills

Enterprise-grade code review agent. Reviews PRs, diffs, or code files for security vulnerabilities, performance issues, error handling gaps, architecture smells, and test coverage. Works with any language, any repo, no dependencies required.

Coding & Development

API Documentation Generator

3891
from openclaw/skills

Generate production-ready API documentation from endpoint descriptions. Outputs OpenAPI 3.0, markdown reference docs, and SDK quickstart guides.

Coding & Development

bili-rs

3891
from openclaw/skills

Development skill for bili-rs, a Rust CLI tool for Bilibili (B站). Use when implementing features, fixing bugs, or extending the bilibili-cli-rust codebase. Provides architecture conventions, API endpoints, coding patterns, and project-specific constraints. Triggers on tasks involving adding CLI commands, calling Bilibili APIs, handling authentication, implementing output formatting, or working with the layered cli/commands/client/payloads architecture.

Coding & Development

Puppeteer

3891
from openclaw/skills

Automate Chrome and Chromium with Puppeteer for scraping, testing, screenshots, and browser workflows.

Coding & Development

pharaoh

3891
from openclaw/skills

Codebase knowledge graph with 23 development workflow skills. Query architecture, dependencies, blast radius, dead code, and test coverage via MCP. Requires GitHub App installation (read-only repo access) and OAuth authentication. Connects to external MCP server at mcp.pharaoh.so.

Coding & Development

git-commit-helper

3891
from openclaw/skills

Generate standardized git commit messages following Conventional Commits format. Use this skill when the user asks to commit code, write a commit message, or create a git commit. Enforces team conventions for type prefixes, scope naming, message length, and breaking change documentation.

Coding & Development