Troubleshooting application failures

From mouadja02/skills · View interactive version

Troubleshooting application failures is an AI agent skill from the GitHub repository mouadja02/skills. Troubleshoots failing applications by discovering and analyzing CloudWatch log groups to identify error patterns, root causes, and actionable solutions. Use when an application is experiencing failures and log-based diagnosis is needed.

How to use this skill

Skill file

Attribution: Sourced from aws/agent-toolkit-for-aws by Amazon Web Services, licensed Apache-2.0. Modified for this collection.

Application Failure Troubleshooting

Overview

Domain expertise for diagnosing application failures through CloudWatch log analysis.

Discovers relevant log groups, searches for error patterns and stack traces, performs

root cause analysis, and generates prioritized remediation recommendations.

Troubleshoot a failing application

To diagnose and resolve application failures using CloudWatch logs, follow the

procedure exactly. See Application failure troubleshooting procedure.

Troubleshooting

No log groups found

Ask the user for specific log group names. Common patterns: /aws/lambda/function-name,

/aws/apigateway/api-name, or custom application log groups.

Access denied errors

Verify AWS credentials have logs:DescribeLogGroups, logs:DescribeLogStreams,

logs:StartQuery, and logs:GetQueryResults permissions.

Query timeouts

Reduce the time window or limit results. Large log groups may require multiple smaller queries.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.