itsmostafa/aws-agent-skills/step-functions
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
AWS Step Functions workflow orchestration with state machines. Use when designing workflows, implementing error handling, configuring parallel execution, integrating with AWS services, or debugging executions.
Install
npx vskill@latest install itsmostafa/aws-agent-skills/step-functionsSKILL.md
AWS Step Functions
AWS Step Functions is a serverless orchestration service that lets you build and run workflows using state machines. Coordinate multiple AWS services into business-critical applications.
Table of Contents
Core Concepts
Workflow Types
| Type | Description | Pricing | |
|---|---|---|---|
| Standard | Long-running, durable, exactly-once | Per state transition | |
| Express | High-volume, short-duration | Per execution (time + memory) |
State Types
| State | Description | |
|---|---|---|
| Task | Execute work (Lambda, API call) | |
| Choice | Conditional branching | |
| Parallel | Execute branches concurrently | |
| Map | Iterate over array | |
| Wait | Delay execution | |
| Pass | Pass input to output | |
| Succeed | End successfully | |
| Fail | End with failure |
Amazon States Language (ASL)
JSON-based language for defining state machines.
Common Patterns
Simple Lambda Workflow
Create State Machine
AWS CLI:
boto3:
Start Execution
Choice State (Conditional Logic)
Parallel Execution
Map State (Iteration)
Error Handling
CLI Reference
State Machine Management
| Command | Description | |
|---|---|---|
aws stepfunctions create-state-machine | Create state machine | |
aws stepfunctions update-state-machine | Update definition | |
aws stepfunctions delete-state-machine | Delete state machine | |
aws stepfunctions list-state-machines | List state machines | |
aws stepfunctions describe-state-machine | Get details |
Executions
| Command | Description | |
|---|---|---|
aws stepfunctions start-execution | Start execution | |
aws stepfunctions stop-execution | Stop execution | |
aws stepfunctions describe-execution | Get execution details | |
aws stepfunctions list-executions | List executions | |
aws stepfunctions get-execution-history | Get execution history |
Best Practices
Design
- Keep states focused — one purpose per state
- Use meaningful state names
- Implement comprehensive error handling
- Use Parallel for independent tasks
- Use Map for batch processing
Performance
- Use Express workflows for high-volume, short tasks
- Set appropriate timeouts
- Limit Map concurrency to avoid throttling
- Use SDK integrations when possible (avoid Lambda wrapper)
Reliability
- Retry transient errors
- Catch and handle specific errors
- Use idempotent operations
- Enable X-Ray tracing
Cost Optimization
- Use Express for short workflows (< 5 minutes)
- Combine related operations to reduce transitions
- Use Wait states instead of Lambda delays
Troubleshooting
Execution Failed
Lambda Timeout
Causes:
- Lambda running too long
- Task timeout too short
Fix:
State Stuck
Check:
- Task state waiting for callback
- Wait state not yet elapsed
- Activity worker not responding
Invalid State Machine
References
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/step-functions/SKILL.md
Popularity
- Repository stars
- 1,106
- Repository forks
- 441
- 7-day trend score
- 35
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 27 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/itsmostafa/aws-agent-skills/step-functions)