askill
awsflow-stepfunc

awsflow-stepfuncSafety 95Repository

Manage and run AWS Step Functions state machines, executions, and activities using the awsflow VS Code extension StepFuncTool.

0 stars
1.2k downloads
Updated 2/15/2026

Package Files

Loading files...
SKILL.md

awsflow-stepfunc

Use the StepFuncTool language tool in VS Code to manage AWS Step Functions state machines, executions, activities, and lifecycle operations.

When to Use

  • User wants to list or describe state machines
  • User wants to start a new execution or inspect existing executions
  • User wants to view execution history (step-by-step events)
  • User wants to update a state machine definition
  • User wants to validate a state machine definition
  • User wants to list or describe activities and map runs
  • User wants to create or delete state machines and activities
  • User wants to stop executions or manage tags and aliases

Tool Reference

Tool name: StepFuncTool

Input Schema

{
  "command": "<CommandName>",
  "params": { ... }
}

Commands (28 total)

CommandDescription
DescribeActivityDescribe an activity
DescribeExecutionDescribe a specific execution
DescribeMapRunDescribe a Map Run
DescribeStateMachineDescribe a state machine
DescribeStateMachineAliasDescribe a state machine alias
DescribeStateMachineForExecutionDescribe state machine associated with an execution
GetExecutionHistoryGet the step-by-step event history of an execution
ListActivitiesList activities
ListExecutionsList executions for a state machine
ListMapRunsList Map Runs for an execution
ListStateMachineAliasesList aliases for a state machine
ListStateMachinesList all state machines
ListStateMachineVersionsList versions of a state machine
StartExecutionStart a new execution of a state machine
UpdateStateMachineUpdate a state machine definition, role, or configuration
ValidateStateMachineDefinitionValidate an Amazon States Language definition
CreateStateMachineCreate a new state machine
CreateActivityCreate an activity
CreateStateMachineAliasCreate a state machine alias
PublishStateMachineVersionPublish a state machine version
TagResourceTag a state machine or activity
UntagResourceRemove tags from a resource
DeleteStateMachineDelete a state machine
DeleteActivityDelete an activity
StopExecutionStop a running execution
UpdateStateMachineAliasUpdate a state machine alias
DeleteStateMachineAliasDelete a state machine alias
DeleteStateMachineVersionDelete a state machine version

Parameters

ParameterTypeDescription
stateMachineArnstringState machine ARN (Required by: DescribeStateMachine, StartExecution, UpdateStateMachine; Used by: ListExecutions)
executionArnstringExecution ARN (Required by: DescribeExecution, GetExecutionHistory)
maxResultsnumberMaximum items to return (Used by: ListExecutions, ListStateMachines, GetExecutionHistory)
nextTokenstringPagination token (Used by: ListExecutions, ListStateMachines, GetExecutionHistory)
reverseOrderbooleanReturn events in reverse chronological order (Used by: GetExecutionHistory)
statusFilterstringFilter executions by status. Enum: RUNNING, SUCCEEDED, FAILED, TIMED_OUT, ABORTED (Used by: ListExecutions)
namestringExecution name (Used by: StartExecution)
inputstringJSON string input for execution (Used by: StartExecution)
traceHeaderstringX-Ray trace header (Used by: StartExecution)
definitionstringState machine definition in Amazon States Language (Used by: UpdateStateMachine)
roleArnstringIAM role ARN for the state machine (Used by: UpdateStateMachine)
loggingConfigurationobjectLogging configuration object (Used by: UpdateStateMachine)
tracingConfigurationobjectTracing configuration object (Used by: UpdateStateMachine)
publishbooleanSet true to publish a new version (Used by: UpdateStateMachine)
versionDescriptionstringDescription for the published version (Used by: UpdateStateMachine)

Usage Examples

List all state machines

{ "command": "ListStateMachines", "params": { "maxResults": 20 } }

Describe a state machine

{ "command": "DescribeStateMachine", "params": { "stateMachineArn": "arn:aws:states:us-east-1:123456789012:stateMachine:MyWorkflow" } }

List executions with status filter

{ "command": "ListExecutions", "params": { "stateMachineArn": "arn:aws:states:us-east-1:123456789012:stateMachine:MyWorkflow", "statusFilter": "FAILED", "maxResults": 10 } }

Start a new execution

{ "command": "StartExecution", "params": { "stateMachineArn": "arn:aws:states:us-east-1:123456789012:stateMachine:MyWorkflow", "input": "{\"orderId\": \"12345\", \"amount\": 99.99}" } }

Get execution history

{ "command": "GetExecutionHistory", "params": { "executionArn": "arn:aws:states:us-east-1:123456789012:execution:MyWorkflow:exec-id", "maxResults": 100, "reverseOrder": true } }

Describe an execution

{ "command": "DescribeExecution", "params": { "executionArn": "arn:aws:states:us-east-1:123456789012:execution:MyWorkflow:exec-id" } }

Update state machine definition

{ "command": "UpdateStateMachine", "params": { "stateMachineArn": "arn:aws:states:us-east-1:123456789012:stateMachine:MyWorkflow", "definition": "{\"StartAt\": \"Step1\", \"States\": { \"Step1\": { \"Type\": \"Pass\", \"End\": true }}}" } }

Validate a definition

{ "command": "ValidateStateMachineDefinition", "params": {} }

Create a state machine

{ "command": "CreateStateMachine", "params": { "name": "MyWorkflow", "definition": "{\"StartAt\":\"Step1\",\"States\":{\"Step1\":{\"Type\":\"Pass\",\"End\":true}}}", "roleArn": "arn:aws:iam::123456789012:role/StepFuncRole" } }

Stop an execution

{ "command": "StopExecution", "params": { "executionArn": "arn:aws:states:...:execution:MyWorkflow:exec-id", "cause": "manual stop" } }

Related Services

Step Functions orchestrates workflows across many AWS services:

RelationshipTool
Invokes Lambda functionsLambdaTool
Sends messages to SQSSQSTool
Publishes to SNS topicsSNSTool
Reads/writes DynamoDB tablesDynamoDBTool
Starts Glue jobsGlueTool
Starts EMR stepsEMRTool
Calls API Gateway endpointsAPIGatewayTool
Execution logs in CloudWatchCloudWatchLogTool
IAM roles for executionIAMTool
Deployed via CloudFormationCloudFormationTool

CloudWatch Log Group Naming

Step Functions log groups typically follow:

/aws/vendedlogs/states/<state-machine-name>-Logs

Use CloudWatchLogToolDescribeLogGroups with logGroupNamePrefix: "/aws/vendedlogs/states/" to find them.

Tips

  • Use ListStateMachinesDescribeStateMachine to explore definition and configuration.
  • Use ListExecutions with statusFilter: "FAILED" to find failed runs, then GetExecutionHistory to debug step-by-step.
  • StartExecution requires stateMachineArn and accepts a JSON input string.
  • The definition in UpdateStateMachine must be valid Amazon States Language JSON.
  • Use reverseOrder: true in GetExecutionHistory to see the most recent events first.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

91/100Analyzed 2/22/2026

Well-structured technical reference for AWS Step Functions management via awsflow VS Code extension. Provides comprehensive command documentation, clear usage examples, and organized tables. Includes useful "When to Use" triggers, related AWS services mapping, and practical tips. The skill is specific to the StepFuncTool but thoroughly covers all 28 commands with parameters and examples. Minor deduction for tool-specific nature reducing general reusability, but otherwise excellent reference material.

95
95
70
90
95

Metadata

Licenseunknown
Version-
Updated2/15/2026
Publishernecatiarslan

Tags

apiobservability