Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Writing Step Functions state machines v1.0.0

Use this resource to write or fix an AWS Step Functions state machine

New

  • 310 downloads
  • 176 likes
  • 238 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install step-functions-state-machine-authoring

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent writes the ASL definition in JSONata, picks state types, retries and error catches, and the Standard or Express mode. It suggests patterns such as sagas or task-token waits, and can test a state with the TestState API.

Mostly picked by

Updated November 2, 2026

Card for the “Writing Step Functions state machines” skill

Details

Generates with
Your agent's model
Licence
Apache-2.0

Similar resources

View all

What you get

  • SKILL.md: state types, JSONata, error handling and best practices
  • assets/: ASL templates (saga, polling loop, nested Map, semaphore)

Good fit for

  • You orchestrate a multi-step process that must recover from errors
  • You process a large S3 file in parallel batches with Distributed Map

Not for

    Tags

    • step functions
    • asl
    • orchestration
    • workflow
    • aws

    About

    You say

    “Write a state machine that processes a CSV in S3 in batches and undoes completed steps if one fails.”

    Card for the “Writing Step Functions state machines” skill

    Skill published by aws under the Apache-2.0 license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to write or fix an AWS Step Functions state machine
    3. Review and adjust the result

    Content preview

    Files

    • assets/compensation-saga-pattern.asl.json3.8 KB
    • assets/express-standard-handoff.asl.json2.3 KB
    • assets/human-in-the-loop-with-timeout-escalation.asl.json3.5 KB
    • assets/nested-map-parallel-structures.asl.json2.1 KB
    • assets/polling-loop-wait-check-choice.asl.json2.1 KB
    • assets/scatter-gather-with-partial-results.asl.json2.3 KB
    • assets/semaphore-concurrency-lock.asl.json3.5 KB
    • LICENSE10.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/architecture-patterns.md5.2 KB
    • references/asl-state-types.md12.1 KB
    • references/error-handling.md6.1 KB
    • references/migrating-from-jsonpath-to-jsonata.md11.7 KB
    • references/processing-state-inputs-and-outputs.md7.6 KB
    • references/service-integrations.md7.2 KB
    • references/transforming-data.md6.1 KB
    • references/validation-and-testing.md11.7 KB
    • SKILL.md13.3 KB

    Origin and licence

    Listed unmodified

    Author
    aws
    Source
    github.com/aws/agent-toolkit-for-aws/tree/b08b99f38098c30c0ee1a781accd8e349e5b145c/skills/specialized-skills/serverless-skills/aws-step-functions
    Licence
    Apache-2.0

    Notice

    « aws-step-functions » (aws, Apache-2.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.